Skip to content

Commit

Permalink
Merge branch 'main' into gh_pr
Browse files Browse the repository at this point in the history
Signed-off-by: Ming Yu Wang <[email protected]>
  • Loading branch information
mwangggg authored Jul 26, 2023
2 parents 5b5366b + 098c677 commit 3b23c23
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:

build-image:
runs-on: ubuntu-latest
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
needs: [get-pom-properties]
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dependent-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
schedule:
- cron: '0 0 * * *'


jobs:
check:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:
jobs:
code-analysis:
uses: ./.github/workflows/ci-code-analysis.yml
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
with:
checkout-repo: ${{ github.event.pull_request.head.repo.full_name }}
checkout-ref: ${{ github.event.pull_request.head.ref }}
Expand All @@ -36,6 +37,7 @@ jobs:
matrix:
arch: [amd64, arm64]
uses: ./.github/workflows/ci-build-image.yml
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
with:
build-arch: ${{ matrix.arch }}
checkout-repo: ${{ github.event.pull_request.head.repo.full_name }}
Expand All @@ -47,6 +49,7 @@ jobs:

push-to-ghcr:
runs-on: ubuntu-latest
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
strategy:
matrix:
arch: [amd64, arm64]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/push-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
checkout-repo: ${{ github.event.pull_request.head.repo.full_name }}
checkout-ref: ${{ github.event.pull_request.head.ref }}
secrets: inherit
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
if: github.repository_owner == 'cryostatio'
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
build-and-test-amd64:
uses: ./.github/workflows/ci-build-image.yml
secrets: inherit
with:
build-arch: amd64
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
if: github.repository_owner == 'cryostatio'
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
build-and-test-arm64:
Expand All @@ -36,13 +38,15 @@ jobs:
with:
build-arch: arm64
skip-itests: true
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
if: github.repository_owner == 'cryostatio'
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
push-to-quay:
runs-on: ubuntu-latest
needs: [code-analysis, build-and-test-amd64, build-and-test-arm64]
env:
CRYOSTAT_IMG: quay.io/cryostat/cryostat
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
if: always() && github.repository_owner == 'cryostatio'
if: github.event.issue.pull_request && contains(github.event.comment.body, '/build-test')
steps:
Expand Down

0 comments on commit 3b23c23

Please sign in to comment.