Skip to content

Commit ed644aa

Browse files
committed
Caching and comments
1 parent 63751e9 commit ed644aa

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ jobs:
283283

284284
- name: Build Chainlink Image
285285
if: matrix.image.should-build && steps.check-image-exists.outputs.exists != 'true'
286-
uses: smartcontractkit/.github/actions/ctf-build-image@1d912f18e2e2f1f899faa2380ab27df2cb9dcae9 # TODO: Update to release tag after .github changes are merged
286+
uses: smartcontractkit/.github/actions/ctf-build-image@63804466dd8e2d051df4b74ffb6f0e55e6436f01 # TODO: Update to release tag after .github changes are merged
287287
with:
288288
image-tag: ${{ inputs.evm-ref || env.CHAINLINK_REF }}${{ matrix.image.tag-suffix }}
289289
dockerfile: ${{ matrix.image.dockerfile }}
@@ -294,11 +294,14 @@ jobs:
294294
aws-role-arn: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
295295
docker-additional-build-args: |
296296
CL_IS_PROD_BUILD=false
297-
go-get-overrides: |
298-
chainlink-evm=${{ inputs.evm-ref }}
297+
# go-get-overrides is empty when inputs.evm-ref is unset so ctf-build-image skips an unnecessary setup-go / go mod tidy.
298+
go-get-overrides: >-
299+
${{ inputs.evm-ref && format('chainlink-evm={0}', inputs.evm-ref) || '' }}
299300
gati-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
300301
gati-lambda-url: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }}
301302
cache-scope: ${{ matrix.image.cache-scope }}
303+
# Only one matrix leg needs to extract+save the remote plugin cache; both legs restore it.
304+
save-remote-plugin-cache: ${{ matrix.image.cache-scope == 'core' }}
302305

303306
run-core-cre-e2e-tests-setup:
304307
name: Run Core CRE E2E Tests Setup

0 commit comments

Comments
 (0)