From 6378cc94f2f902a824729daf1b4c490cba3da68e Mon Sep 17 00:00:00 2001 From: Liapkovich Date: Wed, 11 Dec 2024 17:58:06 +0100 Subject: [PATCH] fix(cache-issues): grant read permissions for sc-dbaas-data-qa account Since SCT test can be triggered not only from under cloudius-systems, but sc-dbaas-data-qa account (cloud longevity tests), cache-issues job is adjusted to grant read permissions to the uploaded files for this sc-dbaas-data-qa account. Grants for cloudius-systems account should be specified as well, otherwise, the owner will miss these permissions. --- .github/workflows/cache-issues.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cache-issues.yaml b/.github/workflows/cache-issues.yaml index 8a93e8623b..09a574fa16 100644 --- a/.github/workflows/cache-issues.yaml +++ b/.github/workflows/cache-issues.yaml @@ -22,7 +22,7 @@ jobs: - name: Upload folder to bucket uses: a-sync/s3-uploader@2.0.1 with: - args: --recursive + args: --recursive --grants full=id=${{ secrets.CLOUDIUS_SYSTEMS_CANONICAL_ID }} read=id=${{ secrets.DBAAS_DATA_QA_CANONICAL_ID }} env: AWS_ACCESS_KEY_ID: ${{ secrets.S3_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_AWS_SECRET_ACCESS_KEY }}