Skip to content

Commit b8bca37

Browse files
CLDSRV-740: Simplify env variable for s3c job CI
1 parent 4683fb3 commit b8bca37

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

.github/workflows/tests.yaml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -532,52 +532,35 @@ jobs:
532532
- name: Setup vault credentials like S3C Integration
533533
run: ./setup-s3c.sh
534534
working-directory: .github/docker
535+
- name: Set config files env variables
536+
run: |-
537+
echo "S3_CONFIG_FILE=${{ github.workspace }}/.github/docker/config.s3c.json" >> $GITHUB_ENV
538+
echo "S3_LOCATION_FILE=${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json" >> $GITHUB_ENV
535539
- name: Run cloudserver-object tests
536-
env:
537-
S3_CONFIG_FILE: ${{ github.workspace }}/.github/docker/config.s3c.json
538-
S3_LOCATION_FILE: ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
539540
run: |-
540541
set -o pipefail;
541542
yarn run ft_awssdk_objects_misc | tee /tmp/artifacts/${{ matrix.job-name }}/ft_awssdk_objects_misc.log
542543
- name: Run cloudserver-version tests
543-
env:
544-
S3_CONFIG_FILE: ${{ github.workspace }}/.github/docker/config.s3c.json
545-
S3_LOCATION_FILE: ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
546544
run: |-
547545
set -o pipefail;
548546
yarn run ft_awssdk_versioning | tee /tmp/artifacts/${{ matrix.job-name }}/ft_awssdk_versioning.log
549547
- name: Run cloudserver-bucket tests
550-
env:
551-
S3_CONFIG_FILE: ${{ github.workspace }}/.github/docker/config.s3c.json
552-
S3_LOCATION_FILE: ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
553548
run: |-
554549
set -o pipefail;
555550
yarn run ft_awssdk_buckets | tee /tmp/artifacts/${{ matrix.job-name }}/ft_awssdk_buckets.log
556551
- name: Run cloudserver-routes (metadata) tests
557-
env:
558-
S3_CONFIG_FILE: ${{ github.workspace }}/.github/docker/config.s3c.json
559-
S3_LOCATION_FILE: ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
560552
run: |-
561553
set -o pipefail;
562554
yarn run ft_node_routes | tee /tmp/artifacts/${{ matrix.job-name }}/ft_node_routes.log
563555
- name: Run backbeat route tests
564-
env:
565-
S3_CONFIG_FILE: ${{ github.workspace }}/.github/docker/config.s3c.json
566-
S3_LOCATION_FILE: ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
567556
run: |-
568557
set -o pipefail;
569558
yarn run ft_route_backbeat | tee /tmp/artifacts/${{ matrix.job-name }}/ft_route_backbeat.log
570559
- name: Run backbeat tests
571-
env:
572-
S3_CONFIG_FILE: ${{ github.workspace }}/.github/docker/config.s3c.json
573-
S3_LOCATION_FILE: ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
574560
run: |-
575561
set -o pipefail;
576562
yarn run ft_backbeat | tee /tmp/artifacts/${{ matrix.job-name }}/ft_backbeat.log
577563
- name: Run healthchecks tests
578-
env:
579-
S3_CONFIG_FILE: ${{ github.workspace }}/.github/docker/config.s3c.json
580-
S3_LOCATION_FILE: ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
581564
run: |-
582565
set -o pipefail;
583566
yarn run ft_healthchecks | tee /tmp/artifacts/${{ matrix.job-name }}/ft_healthchecks.log

0 commit comments

Comments
 (0)