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:21:17 UTC

[airflow] 01/01: Revert "CI - OpenID Connect authorication to AWS (#19894)"

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

ash pushed a commit to branch revert-19894-oidc-auth-for-aws-artifacts
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit f0b935f42e6e60a58c0e907144141d46a6cf6f6e
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Thu Dec 9 16:20:43 2021 +0000

    Revert "CI - OpenID Connect authorication to AWS (#19894)"
    
    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: >