Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chinhtranvan committed Oct 26, 2023
1 parent b33c370 commit 7c02471
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,17 @@ jobs:
export VERTICA_IMG=vertica-k8s:kind
make docker-build-vertica-v2
- name: Save the image for consumption by dependent jobs (PRs only)
if: ${{ github.event_name == 'pull_request' }}
run: |
docker save ${{ steps.full_vertica_image.outputs.value }} > full-vertica-image.tar
- uses: actions/upload-artifact@v3
if: ${{ github.event_name == 'pull_request' }}
with:
name: full-vertica-image
path: full-vertica-image.tar

- name: Do a local pull of the image if we didn't create it
if: ${{ inputs.full_vertica_image != '' }}
run: |
Expand Down Expand Up @@ -291,6 +302,17 @@ jobs:
export MINIMAL_VERTICA_IMG=yes
make docker-build-vertica-v2
- name: Save the image for consumption by dependent jobs (PRs only)
if: ${{ github.event_name == 'pull_request' }}
run: |
docker save ${{ steps.minimal_vertica_image.outputs.value }} > minimal-vertica-image.tar
- uses: actions/upload-artifact@v3
if: ${{ github.event_name == 'pull_request' }}
with:
name: minimal-vertica-image
path: minimal-vertica-image.tar

- name: Do a local pull of the image if we didn't create it
if: ${{ inputs.minimal_vertica_image != '' }}
run: |
Expand Down

0 comments on commit 7c02471

Please sign in to comment.