You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/12/09 16:25:30 UTC

[airflow] branch main updated: Revert "CI - OpenID Connect authorication to AWS (#19894)" (#20173)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0d369bd  Revert "CI - OpenID Connect authorication to AWS (#19894)" (#20173)
0d369bd is described below

commit 0d369bd36c3ef30f233659395ce79b36517969c3
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Thu Dec 9 16:25:02 2021 +0000

    Revert "CI - OpenID Connect authorication to AWS (#19894)" (#20173)
    
    This reverts commit 9083ecd928a0baba43e369e2c65225e092a275ca.
---
 .github/workflows/ci.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a8bf54b..59ffb00 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -536,9 +536,6 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
         env:
           VERBOSE: false
   docs:
-    permissions:
-      contents: write  # Required for actions/checkout
-      id-token: write  # Required for aws-actions/configure-aws-credentials
     timeout-minutes: 45
     name: "Build docs"
     runs-on: ${{ fromJson(needs.build-info.outputs.runsOn) }}
@@ -574,8 +571,8 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
           github.ref == 'refs/heads/main' && github.repository == 'apache/airflow' &&
           github.event_name == 'push'
         with:
-          role-to-assume: 'arn:aws:iam::827901512104:role/GithubActionApacheAirflow'
-          role-session-name: GitHubActions-${{ github.run_id }}
+          aws-access-key-id: ${{ secrets.DOCS_AWS_ACCESS_KEY_ID }}
+          aws-secret-access-key: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
           aws-region: eu-central-1
       - name: "Upload documentation to AWS S3"
         if: >