4242 tags : ${{ steps.metadata.outputs.tags }}
4343 timeout-seconds : 3600
4444 polling-seconds : 60
45- - name : COMPUTE REPO CACHE KEY
46- if : steps.authorized.outputs.authorized == 'true'
47- id : repo-cache-key
48- run : |
49- echo "value=bazel-repo-cache-${{ hashFiles('MODULE.bazel') }}" | tee -a $GITHUB_OUTPUT
50- - name : LOAD REPO CACHE
51- if : steps.authorized.outputs.authorized == 'true'
52- uses : actions/cache/restore@v4
53- with :
54- key : ${{ steps.repo-cache-key.outputs.value }}
55- path : /home/runner/repo-cache/
5645 - name : CONFIGURE OTP & ELIXIR
5746 if : steps.authorized.outputs.authorized == 'true'
5847@@ -67,40 +56,13 @@ jobs:
6756 curl -Lo /usr/local/bin/ecs-cli https://amazon-ecs-cli.s3.amazonaws.com/ecs-cli-linux-amd64-v${ECS_CLI_VERSION} && \
6857 chmod +x /usr/local/bin/ecs-cli && \
6958 ecs-cli --version
70- - name : AUTHENTICATE TO GOOGLE CLOUD
71- if : steps.authorized.outputs.authorized == 'true'
72- uses :
google-github-actions/[email protected] 73- with :
74- credentials_json : ${{ secrets.REMOTE_CACHE_CREDENTIALS_JSON }}
75- - name : CONFIGURE BAZEL
76- if : steps.authorized.outputs.authorized == 'true'
77- run : |
78- if [ -n "${{ secrets.REMOTE_CACHE_BUCKET_NAME }}" ]; then
79- cat << EOF >> user.bazelrc
80- build --remote_cache=https://storage.googleapis.com/${{ secrets.REMOTE_CACHE_BUCKET_NAME }}
81- build --google_default_credentials
82-
83- build --experimental_guard_against_concurrent_changes
84- EOF
85- fi
86- cat << EOF >> user.bazelrc
87- build --repository_cache=/home/runner/repo-cache/
88- build --color=yes
89- EOF
90-
91- bazelisk info release
92- # ! - name: Setup tmate session
93- # ! uses: mxschmitt/action-tmate@v3
9459 - name : RUN INTEGRATION TESTS
9560 if : steps.authorized.outputs.authorized == 'true'
61+ env :
62+ AWS_ACCESS_KEY_ID : " ${{ secrets.CONCOURSE_AWS_ACCESS_KEY_ID }}"
63+ AWS_SECRET_ACCESS_KEY : " ${{ secrets.CONCOURSE_AWS_SECRET_ACCESS_KEY }}"
64+ RABBITMQ_IMAGE : " pivotalrabbitmq/rabbitmq:sha-${{ github.sha }}"
9665 run : |
9766 branch_or_tag="${GITHUB_REF##*/}"
98- bazelisk test //deps/rabbitmq_peer_discovery_aws:integration_SUITE \
99- --test_tag_filters=aws \
100- --build_tests_only \
101- --test_env AWS_ACCESS_KEY_ID=${{ secrets.CONCOURSE_AWS_ACCESS_KEY_ID }} \
102- --test_env AWS_SECRET_ACCESS_KEY=${{ secrets.CONCOURSE_AWS_SECRET_ACCESS_KEY }} \
103- --test_env RABBITMQ_IMAGE="pivotalrabbitmq/rabbitmq:sha-${{ github.sha }}" \
104- --test_env AWS_ECS_CLUSTER_NAME="rabbitmq-peer-discovery-aws-actions-${branch_or_tag//[._]/-}" \
105- --test_output=streamed \
106- --verbose_failures
67+ export AWS_ECS_CLUSTER_NAME="rabbitmq-peer-discovery-aws-actions-${branch_or_tag//[._]/-}"
68+ make -C deps/rabbitmq_peer_discovery_aws ct-integration
0 commit comments