Nightly spread executions #2
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: Nightly spread executions | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 10 * * *' | |
- cron: '45 10 * * *' | |
- cron: '0 11 * * *' | |
jobs: | |
spread-nightly: | |
if: github.event.schedule == '30 10 * * *' | |
uses: ./.github/workflows/spread-tests.yaml | |
with: | |
# Github doesn't support passing sequences as parameters. | |
# Instead here we create a json array and pass it as a string. | |
# Then in the spread workflow it turns it into a sequence | |
# using the fromJSON expression. | |
runs-on: '["self-hosted", "spread-enabled"]' | |
group: google | |
backend: google | |
systems: '*' | |
tests: 'tests/nightly/...' | |
rules: 'nightly' | |
use-master-snap: true | |
spread-nested-core: | |
if: github.event.schedule == '30 10 * * *' | |
uses: ./.github/workflows/spread-tests.yaml | |
with: | |
# Github doesn't support passing sequences as parameters. | |
# Instead here we create a json array and pass it as a string. | |
# Then in the spread workflow it turns it into a sequence | |
# using the fromJSON expression. | |
runs-on: '["self-hosted", "spread-enabled"]' | |
group: ${{ matrix.group }} | |
backend: ${{ matrix.backend }} | |
systems: ${{ matrix.systems }} | |
tests: 'tests/nested/core/... tests/nested/manual/...' | |
rules: 'nested' | |
use-master-snap: true | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- group: nested-ubuntu-16.04 | |
backend: google-nested | |
systems: 'ubuntu-16.04-64' | |
- group: nested-ubuntu-18.04 | |
backend: google-nested | |
systems: 'ubuntu-18.04-64' | |
- group: nested-ubuntu-20.04 | |
backend: google-nested | |
systems: 'ubuntu-20.04-64' | |
- group: nested-ubuntu-22.04 | |
backend: google-nested | |
systems: 'ubuntu-22.04-64' | |
- group: nested-ubuntu-24.04 | |
backend: google-nested | |
systems: 'ubuntu-24.04-64' | |
spread-nested-classic: | |
if: github.event.schedule == '30 10 * * *' | |
uses: ./.github/workflows/spread-tests.yaml | |
with: | |
# Github doesn't support passing sequences as parameters. | |
# Instead here we create a json array and pass it as a string. | |
# Then in the spread workflow it turns it into a sequence | |
# using the fromJSON expression. | |
runs-on: '["self-hosted", "spread-enabled"]' | |
group: google | |
backend: google-nested | |
systems: '*' | |
tests: 'tests/nested/classic/...' | |
rules: 'nested' | |
use-master-snap: true | |
spread-test-build-from-current: | |
if: github.event.schedule == '0 11 * * *' | |
uses: ./.github/workflows/spread-tests.yaml | |
with: | |
# Github doesn't support passing sequences as parameters. | |
# Instead here we create a json array and pass it as a string. | |
# Then in the spread workflow it turns it into a sequence | |
# using the fromJSON expression. | |
runs-on: '["self-hosted", "spread-enabled"]' | |
group: ${{ matrix.group }} | |
backend: ${{ matrix.backend }} | |
systems: ${{ matrix.systems }} | |
tests: 'tests/...' | |
rules: 'main' | |
use-master-snap: true | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- group: google | |
backend: google | |
systems: 'ubuntu-18.04-64 ubuntu-20.04-64 ubuntu-22.04-64 ubuntu-24.04-64' | |
- group: debian-not-req | |
backend: google-distro-1 | |
systems: 'debian-11-64 debian-12-64 debian-sid-64' | |
spread-test-experimental: | |
if: github.event.schedule == '45 10 * * *' | |
uses: ./.github/workflows/spread-tests.yaml | |
with: | |
# Github doesn't support passing sequences as parameters. | |
# Instead here we create a json array and pass it as a string. | |
# Then in the spread workflow it turns it into a sequence | |
# using the fromJSON expression. | |
runs-on: '["self-hosted", "spread-enabled"]' | |
group: 'google' | |
backend: 'google' | |
systems: 'ubuntu-18.04-64 ubuntu-20.04-64 ubuntu-21.10-64 ubuntu-core-20-64' | |
tests: 'tests/...' | |
rules: 'main' | |
use-master-snap: true | |
spread-test-openstack: | |
if: github.event.schedule == '45 10 * * *' | |
uses: ./.github/workflows/spread-tests.yaml | |
with: | |
# Github doesn't support passing sequences as parameters. | |
# Instead here we create a json array and pass it as a string. | |
# Then in the spread workflow it turns it into a sequence | |
# using the fromJSON expression. | |
runs-on: '["self-hosted", "spread-enabled"]' | |
group: 'openstack' | |
backend: 'openstack' | |
systems: '*' | |
tests: 'tests/main/...' | |
rules: 'main' | |
use-master-snap: true |