Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): build_test command enhancements #1683

Merged
merged 22 commits into from
Oct 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
testing
  • Loading branch information
aali309 committed Oct 30, 2023
commit f663ecb216835c3b7f00c1d4c744114dfecf584d
14 changes: 9 additions & 5 deletions .github/workflows/ci-build-image.yml
Original file line number Diff line number Diff line change
@@ -23,6 +23,10 @@ on:
description: the Cryostat application version that will be built
value: ${{ jobs.get-pom-properties.outputs.image-version }}

permissions:
contents: read
packages: read

jobs:
get-pom-properties:
runs-on: ubuntu-latest
@@ -111,6 +115,10 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
- name: Download Cryostat Image Artifact
uses: actions/download-artifact@v3
with:
name: cryostat-${{ inputs.build-arch }}
- name: Load cryostat image
run: podman load -i cryostat-${{ inputs.build-arch }}.tar
- uses: skjolber/maven-cache-github-action@v1
@@ -130,7 +138,7 @@ jobs:

retest-integration-test:
runs-on: ubuntu-latest
if: ${{ inputs.run-tests-only && !inputs.skip-itests }}
if: ${{ inputs.run-tests-only && !inputs.skip-itests}}
steps:
- name: Install xpath
run: |
@@ -153,10 +161,6 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
- name: Download Cryostat Image Artifact
uses: actions/download-artifact@v3
with:
name: cryostat-${{ inputs.build-arch }}
- name: Load Cryostat Image
run: podman load -i ./cryostat-${{ inputs.build-arch }}.tar
- uses: skjolber/maven-cache-github-action@v1