Skip to content

Commit

Permalink
Update Integration Tests Publish Image Action (#15022)
Browse files Browse the repository at this point in the history
* Update publish image action

* Copy deployment dir

* Fix path

* More efficient

* Docs
  • Loading branch information
kalverra authored Oct 30, 2024
1 parent 9ec788e commit 89183a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id-token: write
contents: read
name: Publish Integration Test Image
runs-on: ubuntu22.04-16cores-64GB
runs-on: ubuntu22.04-8cores-32GB
steps:
- name: Checkout the repo
uses: actions/[email protected]
Expand All @@ -30,7 +30,7 @@ jobs:
run: |
echo "other_tags=${ECR_TAG}" >> $GITHUB_OUTPUT
- name: Build Image
uses: smartcontractkit/.github/actions/ctf-build-test-image@a5e4f4c8fbb8e15ab2ad131552eca6ac83c4f4b3 # ctf-build-test-image@0.1.0
uses: smartcontractkit/.github/actions/ctf-build-test-image@6781e048ecc1aadf7d605722c32e8068a5f829ce # ctf-build-test-image@0.2.0
with:
other_tags: ${{ steps.tags.outputs.other_tags }}
QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
Expand Down
2 changes: 2 additions & 0 deletions integration-tests/test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM ${BASE_IMAGE}:${IMAGE_VERSION} AS build-env

WORKDIR /go/testdir
RUN mkdir -p /go/testdir/integration-tests/load
# Deplyment module uses a local replace for latest code
COPY deployment/go.mod deployment/go.sum /go/testdir/deployment/
COPY go.mod go.sum ./
COPY integration-tests/go.mod integration-tests/go.sum ./integration-tests/
COPY integration-tests/load/go.mod integration-tests/load/go.sum ./integration-tests/load/
Expand Down

0 comments on commit 89183a8

Please sign in to comment.