From 61f334874e31ea0cc80d7f05e136716662f0fee3 Mon Sep 17 00:00:00 2001 From: David Zager Date: Fri, 10 Nov 2023 13:52:22 -0500 Subject: [PATCH] :seedling: run global ci in PR checks + release pipeline Signed-off-by: David Zager --- .github/workflows/create-release.yml | 12 ++++++++++++ .github/workflows/pr-checks.yml | 22 ++++++---------------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index bed59032..08cbdea9 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -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 diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 16c6523f..eb136229 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -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: @@ -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