✨ Add cancel option for multiple analyses #1100
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI (global konveyor CI) | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
- "hack/**" | |
- "*.md" | |
branches: | |
- "main" | |
workflow_call: | |
### | |
# The global CI settings need to be adjusted for the `release-*`` branches such that: | |
# 1. The operator uses the correct `:release-*` images | |
# 2. The `*-tests_ref` use the correct branches | |
# | |
# on: | |
# push: | |
# branches: | |
# - 'main' | |
# - 'release-*' | |
# | |
# pull_request: | |
# branches: | |
# - 'main' | |
# - 'release-*' | |
## | |
concurrency: | |
group: ci-global-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-and-upload-for-global-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: save tackle2-ui image | |
run: | | |
docker build . -t quay.io/konveyor/tackle2-ui:latest | |
docker save -o /tmp/tackle2-ui.tar quay.io/konveyor/tackle2-ui:latest | |
- name: Upload tackle2-ui image as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: tackle2-ui | |
path: /tmp/tackle2-ui.tar | |
retention-days: 1 | |
run-global-ci: | |
needs: build-and-upload-for-global-ci | |
uses: konveyor/ci/.github/workflows/global-ci.yml@main | |
with: | |
component_name: tackle2-ui | |
run_api_tests: false |