From e765ddd8476d96a8c85b989106640c9af7824aa4 Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Wed, 6 Nov 2024 01:01:14 -0700 Subject: [PATCH] More testing containers --- .github/workflows/ci.yml | 508 ++++++++++++++++++++++++++++++++ .github/workflows/nightly.yml | 487 ++++++++++++++++++++++++++++++ .github/workflows/scheduled.yml | 487 ++++++++++++++++++++++++++++++ .github/workflows/staging.yml | 487 ++++++++++++++++++++++++++++++ tools/precommit/workflows.py | 195 ++++++++---- 5 files changed, 2099 insertions(+), 65 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14e1cc078f3..63ffe072564 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -950,6 +950,428 @@ jobs: workflow-slug: ci default-timeout: 180 + amazonlinux-2: + name: Amazon Linux 2 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + amazonlinux-2-arm64: + name: Amazon Linux 2 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2-arm64') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + amazonlinux-2023: + name: Amazon Linux 2023 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2023') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2023 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + amazonlinux-2023-arm64: + name: Amazon Linux 2023 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2023-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + debian-11: + name: Debian 11 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-11') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-11 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-11 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + debian-11-arm64: + name: Debian 11 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-11-arm64') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-11-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-11 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + debian-12: + name: Debian 12 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-12') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-12 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-12 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + debian-12-arm64: + name: Debian 12 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-12-arm64') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-12-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-12 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + fedora-40: + name: Fedora 40 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'fedora-40') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: fedora-40 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:fedora-40 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + photonos-4: + name: Photon OS 4 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + photonos-4-arm64: + name: Photon OS 4 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4-arm64') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + photonos-4-fips: + name: Photon OS 4 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + fips: true + + photonos-4-arm64-fips: + name: Photon OS 4 Arm64 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4-arm64') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + fips: true + + photonos-5: + name: Photon OS 5 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-5') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + photonos-5-arm64: + name: Photon OS 5 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + photonos-5-fips: + name: Photon OS 5 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-5') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + fips: true + + photonos-5-arm64-fips: + name: Photon OS 5 Arm64 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + fips: true + + ubuntu-2004: + name: Ubuntu 20.04 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-20.04') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-20.04 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + ubuntu-2004-arm64: + name: Ubuntu 20.04 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-20.04-arm64') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-20.04-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + ubuntu-2204: name: Ubuntu 22.04 Test if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-22.04') }} @@ -994,6 +1416,50 @@ jobs: workflow-slug: ci default-timeout: 180 + ubuntu-2404: + name: Ubuntu 24.04 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-24.04') }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-24.04 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + + ubuntu-2404-arm64: + name: Ubuntu 24.04 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-24.04-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }} + workflow-slug: ci + default-timeout: 180 + combine-all-code-coverage: name: Combine Code Coverage if: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] == false }} @@ -1012,8 +1478,29 @@ jobs: - rockylinux-8-arm64 - rockylinux-9 - rockylinux-9-arm64 + - amazonlinux-2 + - amazonlinux-2-arm64 + - amazonlinux-2023 + - amazonlinux-2023-arm64 + - debian-11 + - debian-11-arm64 + - debian-12 + - debian-12-arm64 + - fedora-40 + - photonos-4 + - photonos-4-arm64 + - photonos-4-fips + - photonos-4-arm64-fips + - photonos-5 + - photonos-5-arm64 + - photonos-5-fips + - photonos-5-arm64-fips + - ubuntu-2004 + - ubuntu-2004-arm64 - ubuntu-2204 - ubuntu-2204-arm64 + - ubuntu-2404 + - ubuntu-2404-arm64 steps: - uses: actions/checkout@v4 @@ -1163,8 +1650,29 @@ jobs: - rockylinux-8-arm64 - rockylinux-9 - rockylinux-9-arm64 + - amazonlinux-2 + - amazonlinux-2-arm64 + - amazonlinux-2023 + - amazonlinux-2023-arm64 + - debian-11 + - debian-11-arm64 + - debian-12 + - debian-12-arm64 + - fedora-40 + - photonos-4 + - photonos-4-arm64 + - photonos-4-fips + - photonos-4-arm64-fips + - photonos-5 + - photonos-5-arm64 + - photonos-5-fips + - photonos-5-arm64-fips + - ubuntu-2004 + - ubuntu-2004-arm64 - ubuntu-2204 - ubuntu-2204-arm64 + - ubuntu-2404 + - ubuntu-2404-arm64 - rockylinux-9-pkg-tests - rockylinux-9-arm64-pkg-tests - ubuntu-2204-pkg-tests diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index df24d4a10fc..7dfd4bafc87 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1073,6 +1073,428 @@ jobs: workflow-slug: nightly default-timeout: 360 + amazonlinux-2: + name: Amazon Linux 2 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + amazonlinux-2-arm64: + name: Amazon Linux 2 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + amazonlinux-2023: + name: Amazon Linux 2023 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2023 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + amazonlinux-2023-arm64: + name: Amazon Linux 2023 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2023-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + debian-11: + name: Debian 11 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-11 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-11 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + debian-11-arm64: + name: Debian 11 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-11-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-11 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + debian-12: + name: Debian 12 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-12 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-12 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + debian-12-arm64: + name: Debian 12 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-12-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-12 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + fedora-40: + name: Fedora 40 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: fedora-40 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:fedora-40 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + photonos-4: + name: Photon OS 4 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + photonos-4-arm64: + name: Photon OS 4 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + photonos-4-fips: + name: Photon OS 4 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + fips: true + + photonos-4-arm64-fips: + name: Photon OS 4 Arm64 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + fips: true + + photonos-5: + name: Photon OS 5 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + photonos-5-arm64: + name: Photon OS 5 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + photonos-5-fips: + name: Photon OS 5 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + fips: true + + photonos-5-arm64-fips: + name: Photon OS 5 Arm64 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + fips: true + + ubuntu-2004: + name: Ubuntu 20.04 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-20.04 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + ubuntu-2004-arm64: + name: Ubuntu 20.04 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-20.04-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + ubuntu-2204: name: Ubuntu 22.04 Test if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} @@ -1117,6 +1539,50 @@ jobs: workflow-slug: nightly default-timeout: 360 + ubuntu-2404: + name: Ubuntu 24.04 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-24.04 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + + ubuntu-2404-arm64: + name: Ubuntu 24.04 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-24.04-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: nightly + default-timeout: 360 + build-src-repo: name: Build Repository environment: nightly @@ -1872,8 +2338,29 @@ jobs: - rockylinux-8-arm64 - rockylinux-9 - rockylinux-9-arm64 + - amazonlinux-2 + - amazonlinux-2-arm64 + - amazonlinux-2023 + - amazonlinux-2023-arm64 + - debian-11 + - debian-11-arm64 + - debian-12 + - debian-12-arm64 + - fedora-40 + - photonos-4 + - photonos-4-arm64 + - photonos-4-fips + - photonos-4-arm64-fips + - photonos-5 + - photonos-5-arm64 + - photonos-5-fips + - photonos-5-arm64-fips + - ubuntu-2004 + - ubuntu-2004-arm64 - ubuntu-2204 - ubuntu-2204-arm64 + - ubuntu-2404 + - ubuntu-2404-arm64 steps: diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 90a5e39d441..3b11df03bbf 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -989,6 +989,428 @@ jobs: workflow-slug: scheduled default-timeout: 360 + amazonlinux-2: + name: Amazon Linux 2 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + amazonlinux-2-arm64: + name: Amazon Linux 2 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + amazonlinux-2023: + name: Amazon Linux 2023 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2023 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + amazonlinux-2023-arm64: + name: Amazon Linux 2023 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2023-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + debian-11: + name: Debian 11 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-11 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-11 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + debian-11-arm64: + name: Debian 11 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-11-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-11 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + debian-12: + name: Debian 12 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-12 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-12 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + debian-12-arm64: + name: Debian 12 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-12-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-12 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + fedora-40: + name: Fedora 40 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: fedora-40 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:fedora-40 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + photonos-4: + name: Photon OS 4 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + photonos-4-arm64: + name: Photon OS 4 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + photonos-4-fips: + name: Photon OS 4 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + fips: true + + photonos-4-arm64-fips: + name: Photon OS 4 Arm64 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + fips: true + + photonos-5: + name: Photon OS 5 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + photonos-5-arm64: + name: Photon OS 5 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + photonos-5-fips: + name: Photon OS 5 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + fips: true + + photonos-5-arm64-fips: + name: Photon OS 5 Arm64 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + fips: true + + ubuntu-2004: + name: Ubuntu 20.04 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-20.04 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + ubuntu-2004-arm64: + name: Ubuntu 20.04 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-20.04-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + ubuntu-2204: name: Ubuntu 22.04 Test if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} @@ -1033,6 +1455,50 @@ jobs: workflow-slug: scheduled default-timeout: 360 + ubuntu-2404: + name: Ubuntu 24.04 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-24.04 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + + ubuntu-2404-arm64: + name: Ubuntu 24.04 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-24.04-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: scheduled + default-timeout: 360 + set-pipeline-exit-status: # This step is just so we can make github require this step, to pass checks # on a pull request instead of requiring all @@ -1063,8 +1529,29 @@ jobs: - rockylinux-8-arm64 - rockylinux-9 - rockylinux-9-arm64 + - amazonlinux-2 + - amazonlinux-2-arm64 + - amazonlinux-2023 + - amazonlinux-2023-arm64 + - debian-11 + - debian-11-arm64 + - debian-12 + - debian-12-arm64 + - fedora-40 + - photonos-4 + - photonos-4-arm64 + - photonos-4-fips + - photonos-4-arm64-fips + - photonos-5 + - photonos-5-arm64 + - photonos-5-fips + - photonos-5-arm64-fips + - ubuntu-2004 + - ubuntu-2004-arm64 - ubuntu-2204 - ubuntu-2204-arm64 + - ubuntu-2404 + - ubuntu-2404-arm64 - rockylinux-9-pkg-tests - rockylinux-9-arm64-pkg-tests - ubuntu-2204-pkg-tests diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 2869f6cf856..b91e230bb66 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -1055,6 +1055,428 @@ jobs: workflow-slug: staging default-timeout: 180 + amazonlinux-2: + name: Amazon Linux 2 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + amazonlinux-2-arm64: + name: Amazon Linux 2 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + amazonlinux-2023: + name: Amazon Linux 2023 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2023 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + amazonlinux-2023-arm64: + name: Amazon Linux 2023 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: amazonlinux-2023-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + debian-11: + name: Debian 11 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-11 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-11 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + debian-11-arm64: + name: Debian 11 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-11-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-11 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + debian-12: + name: Debian 12 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-12 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-12 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + debian-12-arm64: + name: Debian 12 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: debian-12-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:debian-12 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + fedora-40: + name: Fedora 40 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: fedora-40 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:fedora-40 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + photonos-4: + name: Photon OS 4 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + photonos-4-arm64: + name: Photon OS 4 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + photonos-4-fips: + name: Photon OS 4 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + fips: true + + photonos-4-arm64-fips: + name: Photon OS 4 Arm64 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-4-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + fips: true + + photonos-5: + name: Photon OS 5 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + photonos-5-arm64: + name: Photon OS 5 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + photonos-5-fips: + name: Photon OS 5 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + fips: true + + photonos-5-arm64-fips: + name: Photon OS 5 Arm64 Test (fips) + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: photonos-5-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + fips: true + + ubuntu-2004: + name: Ubuntu 20.04 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-20.04 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + ubuntu-2004-arm64: + name: Ubuntu 20.04 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-20.04-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + ubuntu-2204: name: Ubuntu 22.04 Test if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} @@ -1099,6 +1521,50 @@ jobs: workflow-slug: staging default-timeout: 180 + ubuntu-2404: + name: Ubuntu 24.04 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-24.04 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04 + arch: x86_64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + + ubuntu-2404-arm64: + name: Ubuntu 24.04 Arm64 Test + if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }} + needs: + - prepare-workflow + - build-ci-deps-linux + uses: ./.github/workflows/test-action-linux.yml + with: + distro-slug: ubuntu-24.04-arm64 + nox-session: ci-test-onedir + platform: linux + container: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04 + arch: arm64 + nox-version: 2022.8.7 + gh-actions-python-version: "3.10" + testrun: ${{ needs.prepare-workflow.outputs.testrun }} + salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}" + cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.15 + skip-code-coverage: true + workflow-slug: staging + default-timeout: 180 + build-src-repo: name: Build Repository environment: staging @@ -1984,8 +2450,29 @@ jobs: - rockylinux-8-arm64 - rockylinux-9 - rockylinux-9-arm64 + - amazonlinux-2 + - amazonlinux-2-arm64 + - amazonlinux-2023 + - amazonlinux-2023-arm64 + - debian-11 + - debian-11-arm64 + - debian-12 + - debian-12-arm64 + - fedora-40 + - photonos-4 + - photonos-4-arm64 + - photonos-4-fips + - photonos-4-arm64-fips + - photonos-5 + - photonos-5-arm64 + - photonos-5-fips + - photonos-5-arm64-fips + - ubuntu-2004 + - ubuntu-2004-arm64 - ubuntu-2204 - ubuntu-2204-arm64 + - ubuntu-2404 + - ubuntu-2404-arm64 - rockylinux-9-pkg-tests - rockylinux-9-arm64-pkg-tests - ubuntu-2204-pkg-tests diff --git a/tools/precommit/workflows.py b/tools/precommit/workflows.py index 5d4554017af..07835b723f7 100644 --- a/tools/precommit/workflows.py +++ b/tools/precommit/workflows.py @@ -47,66 +47,125 @@ TEST_SALT_LISTING = PlatformDefinitions( arch="arm64", container="ghcr.io/saltstack/salt-ci-containers/testing:rockylinux-9", ), - # Linux(slug="amazonlinux-2", display_name="Amazon Linux 2", arch="x86_64"), - # Linux( - # slug="amazonlinux-2-arm64", - # display_name="Amazon Linux 2 Arm64", - # arch="arm64", - # ), - # Linux( - # slug="amazonlinux-2023", - # display_name="Amazon Linux 2023", - # arch="x86_64", - # ), - # Linux( - # slug="amazonlinux-2023-arm64", - # display_name="Amazon Linux 2023 Arm64", - # arch="arm64", - # ), - # Linux(slug="debian-11", display_name="Debian 11", arch="x86_64"), - # Linux(slug="debian-11-arm64", display_name="Debian 11 Arm64", arch="arm64"), - # Linux(slug="debian-12", display_name="Debian 12", arch="x86_64"), - # Linux(slug="debian-12-arm64", display_name="Debian 12 Arm64", arch="arm64"), - # Linux(slug="fedora-40", display_name="Fedora 40", arch="x86_64"), + Linux( + slug="amazonlinux-2", + display_name="Amazon Linux 2", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2", + ), + Linux( + slug="amazonlinux-2-arm64", + display_name="Amazon Linux 2 Arm64", + arch="arm64", + container="ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2", + ), + Linux( + slug="amazonlinux-2023", + display_name="Amazon Linux 2023", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023", + ), + Linux( + slug="amazonlinux-2023-arm64", + display_name="Amazon Linux 2023 Arm64", + arch="arm64", + container="ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023", + ), + Linux( + slug="debian-11", + display_name="Debian 11", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:debian-11", + ), + Linux( + slug="debian-11-arm64", + display_name="Debian 11 Arm64", + arch="arm64", + container="ghcr.io/saltstack/salt-ci-containers/testing:debian-11", + ), + Linux( + slug="debian-12", + display_name="Debian 12", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:debian-12", + ), + Linux( + slug="debian-12-arm64", + display_name="Debian 12 Arm64", + arch="arm64", + container="ghcr.io/saltstack/salt-ci-containers/testing:debian-12", + ), + Linux( + slug="fedora-40", + display_name="Fedora 40", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:fedora-40", + ), # Linux(slug="opensuse-15", display_name="Opensuse 15", arch="x86_64"), - # Linux(slug="photonos-4", display_name="Photon OS 4", arch="x86_64"), - # Linux( - # slug="photonos-4-arm64", display_name="Photon OS 4 Arm64", arch="arm64" - # ), - # Linux( - # slug="photonos-4", - # display_name="Photon OS 4", - # arch="x86_64", - # fips=True, - # ), - # Linux( - # slug="photonos-4-arm64", - # display_name="Photon OS 4 Arm64", - # arch="arm64", - # fips=True, - # ), - # Linux(slug="photonos-5", display_name="Photon OS 5", arch="x86_64"), - # Linux( - # slug="photonos-5-arm64", display_name="Photon OS 5 Arm64", arch="arm64" - # ), - # Linux( - # slug="photonos-5", - # display_name="Photon OS 5", - # arch="x86_64", - # fips=True, - # ), - # Linux( - # slug="photonos-5-arm64", - # display_name="Photon OS 5 Arm64", - # arch="arm64", - # fips=True, - # ), - # Linux(slug="ubuntu-20.04", display_name="Ubuntu 20.04", arch="x86_64"), - # Linux( - # slug="ubuntu-20.04-arm64", - # display_name="Ubuntu 20.04 Arm64", - # arch="arm64", - # ), + Linux( + slug="photonos-4", + display_name="Photon OS 4", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0", + ), + Linux( + slug="photonos-4-arm64", + display_name="Photon OS 4 Arm64", + arch="arm64", + container="ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0", + ), + Linux( + slug="photonos-4", + display_name="Photon OS 4", + arch="x86_64", + fips=True, + container="ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0", + ), + Linux( + slug="photonos-4-arm64", + display_name="Photon OS 4 Arm64", + arch="arm64", + fips=True, + container="ghcr.io/saltstack/salt-ci-containers/testing:photon-4.0", + ), + Linux( + slug="photonos-5", + display_name="Photon OS 5", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0", + ), + Linux( + slug="photonos-5-arm64", + display_name="Photon OS 5 Arm64", + arch="arm64", + container="ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0", + ), + Linux( + slug="photonos-5", + display_name="Photon OS 5", + arch="x86_64", + fips=True, + container="ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0", + ), + Linux( + slug="photonos-5-arm64", + display_name="Photon OS 5 Arm64", + arch="arm64", + fips=True, + container="ghcr.io/saltstack/salt-ci-containers/testing:photon-5.0", + ), + Linux( + slug="ubuntu-20.04", + display_name="Ubuntu 20.04", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04", + ), + Linux( + slug="ubuntu-20.04-arm64", + display_name="Ubuntu 20.04 Arm64", + arch="arm64", + container="ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04", + ), Linux( slug="ubuntu-22.04", display_name="Ubuntu 22.04", @@ -119,12 +178,18 @@ TEST_SALT_LISTING = PlatformDefinitions( arch="arm64", container="ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-22.04", ), - # Linux(slug="ubuntu-24.04", display_name="Ubuntu 24.04", arch="x86_64"), - # Linux( - # slug="ubuntu-24.04-arm64", - # display_name="Ubuntu 24.04 Arm64", - # arch="arm64", - # ), + Linux( + slug="ubuntu-24.04", + display_name="Ubuntu 24.04", + arch="x86_64", + container="ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04", + ), + Linux( + slug="ubuntu-24.04-arm64", + display_name="Ubuntu 24.04 Arm64", + arch="arm64", + container="ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04", + ), ], "macos": [ MacOS(slug="macos-12", display_name="macOS 12", arch="x86_64"),