Skip to content

Commit

Permalink
🌱 run global ci in PR checks + release pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: David Zager <dzager@redhat.com>
  • Loading branch information
djzager committed Nov 10, 2023
1 parent cd93491 commit 61f3348
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,18 @@ jobs:
done
docker image inspect quay.io/${{ matrix.projects.image }}:${{ inputs.version }}
test:
name: Test Konveyor
needs: release-components
uses: konveyor/ci/.github/workflows/global-ci-bundle.yml@main
with:
operator: quay.io/konveyor/tackle2-operator:${{ inputs.version }}
tackle_hub: quay.io/konveyor/tackle2-hub:${{ inputs.version }}
keycloack_init: quay.io/konveyor/tackle-keycloak-init:${{ inputs.version }}
tackle_ui: quay.io/konveyor/tackle2-ui:${{ inputs.version }}
addon_admin: quay.io/konveyor/tackle2-addon:${{ inputs.version }}
addon_analyzer: quay.io/konveyor/tackle2-addon-analyzer:${{ inputs.version }}

publish:
name: Build and Push Manifest
needs: release-components
Expand Down
22 changes: 6 additions & 16 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
- main
- 'release-*.*'

env:
IMG: ttl.sh/konveyor-operator-${{ github.sha }}:1h
BUNDLE_IMG: ttl.sh/konveyor-operator-bundle-${{ github.sha }}:1h

jobs:
check-title:
Expand All @@ -21,21 +18,14 @@ jobs:
build-operator:
needs: check-title
runs-on: ubuntu-latest
env:
IMG: ttl.sh/konveyor-operator-${{ github.sha }}:1h
steps:
- uses: actions/checkout@v3
- run: make docker-build docker-push

build-bundle:
run-ci:
needs: build-operator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make bundle bundle-build bundle-push

operator-install:
needs: build-bundle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make start-minikube
- run: OPERATOR_BUNDLE_IMAGE="${BUNDLE_IMG}" make install-tackle
uses: konveyor/ci/.github/workflows/global-ci-bundle.yml@main
with:
operator: ttl.sh/konveyor-operator-${{ github.sha }}:1h

0 comments on commit 61f3348

Please sign in to comment.