From: Peter Mikus Date: Fri, 3 Oct 2025 08:38:58 +0000 (+0200) Subject: ci(gha): Map credentials X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F43833%2F1;p=csit.git ci(gha): Map credentials Signed-off-by: Peter Mikus Change-Id: Ifbe873bf4cb91ef7cd06aead50dfb475431fa81c --- 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