Skip to content

Commit

Permalink
testing18
Browse files Browse the repository at this point in the history
  • Loading branch information
aali309 committed Oct 25, 2023
1 parent 9078a1b commit 72f4a21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/integrated-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ jobs:
username: ${{ github.event.comment.user.login }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull cryostat image
run: podman pull ghcr.io/${{ github.repository_owner }}/cryostat:pr-${{ inputs.checkout-repo }}-${{ inputs.checkout-ref }}-linux-${{ inputs.build-arch }}
run: podman pull ghcr.io/${{ github.repository_owner }}/cryostat:pr-${{ inputs.pr-number }}-${{ inputs.sha-value }}-linux-${{ inputs.build-arch }}
- name: retag image as quay
run: podman tag ghcr.io/${{ github.repository_owner }}/cryostat:pr-${{ inputs.checkout-repo }}-${{ inputs.checkout-ref }}-linux-${{ inputs.build-arch}} quay.io/cryostat/cryostat
run: podman tag ghcr.io/${{ github.repository_owner }}/cryostat:pr-${{ inputs.pr-number }}-${{ inputs.sha-value }}-linux-${{ inputs.build-arch}} quay.io/cryostat/cryostat
- name: Run integration tests
run: POD_NAME=cryostat-itests CONTAINER_NAME=cryostat-itest ITEST_IMG_VERSION=latest bash repeated-integration-tests.bash
env:
Expand All @@ -76,4 +76,3 @@ jobs:
- name: Print itest container logs
if: failure()
run: ls -1dt target/cryostat-*.server.log | head -n1 | xargs catyea
#testing
8 changes: 4 additions & 4 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ jobs:
uses: ./.github/workflows/integrated-test.yml
with:
build-arch: ${{ matrix.arch }}
checkout-repo: ${{ needs.checkout-branch.outputs.PR_repo }}
checkout-ref: ${{ needs.checkout-branch.outputs.PR_head_ref }}
pr-number: ${{ github.event.issue.number }}
sha-value: ${{ needs.checkout-branch.outputs.PR_head_sha }}
skip-itests: ${{ matrix.arch == 'arm64' }}

retest-integration:
Expand All @@ -197,8 +197,8 @@ jobs:
uses: ./.github/workflows/integrated-test.yml
with:
build-arch: ${{ matrix.arch }}
checkout-repo: ${{ needs.checkout-branch.outputs.PR_repo }}
checkout-ref: ${{ needs.checkout-branch.outputs.PR_head_ref }}
pr-number: ${{ github.event.issue.number }}
sha-value: ${{ needs.checkout-branch.outputs.PR_head_sha }}
skip-itests: ${{ matrix.arch == 'arm64' }}

integration-test-pass:
Expand Down

0 comments on commit 72f4a21

Please sign in to comment.