Cache and limit the range of Operands tested on CI #521
Workflow file for this run
This file contains hidden or 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 | |
on: | |
push: | |
branches: | |
- main | |
- '2.[4-9].x' | |
- '2.[1-9][0-9].x' | |
pull_request: | |
branches: | |
- main | |
- '2.[4-9].x' | |
- '2.[1-9][0-9].x' | |
jobs: | |
unit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
uses: ./.github/actions/dependencies | |
- name: Lint | |
run: make lint | |
- name: Unit Test | |
run: make test | |
- name: Check for unstaged changes | |
run: git diff --name-only --exit-code | |
# Retrieve and cache all images so that they will be available for all subsequent jobs | |
images: | |
needs: unit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache Operand Images | |
uses: ./.github/actions/operand-cache | |
with: | |
populate: 'true' | |
infinispan: | |
needs: images | |
uses: ./.github/workflows/test_without_olm.yml | |
with: | |
args: 'infinispan-test PARALLEL_COUNT=3' | |
artifactPrefix: 'infinispan' | |
cache: | |
needs: images | |
uses: ./.github/workflows/test_without_olm.yml | |
with: | |
args: 'cache-test PARALLEL_COUNT=3' | |
artifactPrefix: 'cache' | |
batch: | |
needs: images | |
uses: ./.github/workflows/test_without_olm.yml | |
with: | |
args: 'batch-test PARALLEL_COUNT=3' | |
artifactPrefix: 'batch' | |
multinamespace: | |
needs: images | |
uses: ./.github/workflows/test_without_olm.yml | |
with: | |
args: 'multinamespace-test' | |
artifactPrefix: 'multinamespace' | |
backup-restore: | |
needs: images | |
uses: ./.github/workflows/test_without_olm.yml | |
with: | |
args: 'backuprestore-test' | |
artifactPrefix: 'backup-restore' | |
webhook: | |
needs: images | |
uses: ./.github/workflows/test_webhooks.yml | |
upgrades: | |
needs: images | |
uses: ./.github/workflows/test_upgrades.yml | |
hr-rolling-upgrades: | |
needs: images | |
uses: ./.github/workflows/test_hr_rolling_upgrades.yml | |
xsite: | |
needs: images | |
uses: ./.github/workflows/test_xsite.yml |