From 56ba5f4c42f4284cc00e2815df1f944c66396561 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 3 Oct 2025 10:38:58 +0200 Subject: [PATCH] ci(gha): Map credentials Signed-off-by: Peter Mikus Change-Id: Ifbe873bf4cb91ef7cd06aead50dfb475431fa81c --- .github/actions/aws_s3_publish_logs/action.yml | 28 +++++++++++++------------- .github/workflows/gerrit-csit-tox-verify.yml | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/actions/aws_s3_publish_logs/action.yml b/.github/actions/aws_s3_publish_logs/action.yml index 4906bb4ad1..9016926a90 100644 --- a/.github/actions/aws_s3_publish_logs/action.yml +++ b/.github/actions/aws_s3_publish_logs/action.yml @@ -4,19 +4,19 @@ description: | This GitHub Action uploads logs to AWS S3. inputs: - AWS_ACCESS_KEY_ID: - description: "Unique, public identifier for an AWS IAM user." - required: true - type: string - AWS_SECRET_ACCESS_KEY: - description: "Long-term security credential for AWS account or an IAM user." - required: true - type: string - AWS_REGION: - description: "Long-term security credential for AWS account or an IAM user." - required: true - default: "us-east-1" - type: string + #AWS_ACCESS_KEY_ID: + # description: "Unique, public identifier for an AWS IAM user." + # required: true + # type: string + #AWS_SECRET_ACCESS_KEY: + # description: "Long-term security credential for AWS account or an IAM user." + # required: true + # type: string + #AWS_REGION: + # description: "Long-term security credential for AWS account or an IAM user." + # required: true + # default: "us-east-1" + # type: string S3_BUCKET: description: "Name of the Amazon S3 bucket." required: true @@ -132,7 +132,7 @@ runs: S3_ARN="s3://${{ inputs.S3_BUCKET }}/${{ inputs.S3_PATH }}/${rel_path}.gz" echo "Uploading ${rel_path}.gz -> ${S3_ARN} (Content-Type: ${content_type}, gzip)" - aws s3 cp "${tmp_file}" "${S3_ARN}" --content-type "${content_type}" --content-encoding "gzip" + #aws s3 cp "${tmp_file}" "${S3_ARN}" --content-type "${content_type}" --content-encoding "gzip" rm -f "${tmp_file}" done diff --git a/.github/workflows/gerrit-csit-tox-verify.yml b/.github/workflows/gerrit-csit-tox-verify.yml index 4e58013ef9..dc135f4426 100644 --- a/.github/workflows/gerrit-csit-tox-verify.yml +++ b/.github/workflows/gerrit-csit-tox-verify.yml @@ -101,6 +101,6 @@ jobs: uses: fdio/csit/.github/actions/aws_s3_publish_logs@master with: #S3_BUCKET: ${{ vars.S3_BUCKET }} - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + #AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + #AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} #AWS_REGION: ${{ vars.AWS_REGION }} \ No newline at end of file -- 2.16.6