Skip to content

Commit

Permalink
🌱 must build whole bundle for operator ci (#334)
Browse files Browse the repository at this point in the history
Needs konveyor/ci#42.

Signed-off-by: David Zager <[email protected]>
  • Loading branch information
djzager authored Jun 7, 2024
1 parent 0b05c1e commit c46e1c4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v2

uses: actions/checkout@v4
- name: Ansible Lint
uses: ansible/ansible-lint-action@main
with:
path: "roles/"

build-operator:
build-operator-bundle:
needs: detect-changes
runs-on: ubuntu-latest
env:
IMG: ttl.sh/konveyor-operator-${{ github.sha }}:2h
BUNDLE_IMG: ttl.sh/konveyor-operator-bundle-${{ github.sha }}:2h
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: make docker-build docker-push
- run: make bundle-build bundle-push


run-ci:
needs: build-operator
needs: build-operator-bundle
uses: konveyor/ci/.github/workflows/global-ci-bundle.yml@main
with:
operator: ttl.sh/konveyor-operator-${{ github.sha }}:2h
operator_bundle: ttl.sh/konveyor-operator-bundle-${{ github.sha }}:2h

0 comments on commit c46e1c4

Please sign in to comment.