mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Drop CentOS 7 support; Package with Rocky Linux 9
This commit is contained in:
parent
bff5a809cb
commit
10dce329d5
14 changed files with 15 additions and 245 deletions
2
.github/workflows/build-packages.yml
vendored
2
.github/workflows/build-packages.yml
vendored
|
@ -276,7 +276,7 @@ jobs:
|
||||||
- ${{ inputs.source }}
|
- ${{ inputs.source }}
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/saltstack/salt-ci-containers/packaging:centosstream-9
|
image: ghcr.io/saltstack/salt-ci-containers/packaging:rockylinux-9
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
45
.github/workflows/ci.yml
vendored
45
.github/workflows/ci.yml
vendored
|
@ -645,27 +645,6 @@ jobs:
|
||||||
skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}
|
skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}
|
||||||
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
||||||
|
|
||||||
centos-7-pkg-tests:
|
|
||||||
name: CentOS 7 Package Test
|
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'centos-7') }}
|
|
||||||
needs:
|
|
||||||
- prepare-workflow
|
|
||||||
- build-pkgs-onedir
|
|
||||||
- build-ci-deps
|
|
||||||
uses: ./.github/workflows/test-packages-action-linux.yml
|
|
||||||
with:
|
|
||||||
distro-slug: centos-7
|
|
||||||
nox-session: ci-test-onedir
|
|
||||||
platform: linux
|
|
||||||
arch: x86_64
|
|
||||||
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
|
|
||||||
pkg-type: rpm
|
|
||||||
nox-version: 2022.8.7
|
|
||||||
python-version: "3.10"
|
|
||||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14
|
|
||||||
skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}
|
|
||||||
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
|
||||||
|
|
||||||
debian-11-pkg-tests:
|
debian-11-pkg-tests:
|
||||||
name: Debian 11 Package Test
|
name: Debian 11 Package Test
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-11') }}
|
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-11') }}
|
||||||
|
@ -1558,27 +1537,6 @@ jobs:
|
||||||
workflow-slug: ci
|
workflow-slug: ci
|
||||||
default-timeout: 180
|
default-timeout: 180
|
||||||
|
|
||||||
centos-7:
|
|
||||||
name: CentOS 7 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), 'centos-7') }}
|
|
||||||
needs:
|
|
||||||
- prepare-workflow
|
|
||||||
- build-ci-deps
|
|
||||||
uses: ./.github/workflows/test-action-linux.yml
|
|
||||||
with:
|
|
||||||
distro-slug: centos-7
|
|
||||||
nox-session: ci-test-onedir
|
|
||||||
platform: linux
|
|
||||||
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.14
|
|
||||||
skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}
|
|
||||||
workflow-slug: ci
|
|
||||||
default-timeout: 180
|
|
||||||
|
|
||||||
debian-11:
|
debian-11:
|
||||||
name: Debian 11 Test
|
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') }}
|
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') }}
|
||||||
|
@ -2027,7 +1985,6 @@ jobs:
|
||||||
- amazonlinux-2023
|
- amazonlinux-2023
|
||||||
- amazonlinux-2023-arm64
|
- amazonlinux-2023-arm64
|
||||||
- archlinux-lts
|
- archlinux-lts
|
||||||
- centos-7
|
|
||||||
- debian-11
|
- debian-11
|
||||||
- debian-11-arm64
|
- debian-11-arm64
|
||||||
- debian-12
|
- debian-12
|
||||||
|
@ -2195,7 +2152,6 @@ jobs:
|
||||||
- amazonlinux-2023
|
- amazonlinux-2023
|
||||||
- amazonlinux-2023-arm64
|
- amazonlinux-2023-arm64
|
||||||
- archlinux-lts
|
- archlinux-lts
|
||||||
- centos-7
|
|
||||||
- debian-11
|
- debian-11
|
||||||
- debian-11-arm64
|
- debian-11-arm64
|
||||||
- debian-12
|
- debian-12
|
||||||
|
@ -2224,7 +2180,6 @@ jobs:
|
||||||
- amazonlinux-2-arm64-pkg-tests
|
- amazonlinux-2-arm64-pkg-tests
|
||||||
- amazonlinux-2023-pkg-tests
|
- amazonlinux-2023-pkg-tests
|
||||||
- amazonlinux-2023-arm64-pkg-tests
|
- amazonlinux-2023-arm64-pkg-tests
|
||||||
- centos-7-pkg-tests
|
|
||||||
- debian-11-pkg-tests
|
- debian-11-pkg-tests
|
||||||
- debian-11-arm64-pkg-tests
|
- debian-11-arm64-pkg-tests
|
||||||
- debian-12-pkg-tests
|
- debian-12-pkg-tests
|
||||||
|
|
4
.github/workflows/lint-action.yml
vendored
4
.github/workflows/lint-action.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['salt'] || fromJSON(inputs.changed-files)['lint'] }}
|
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['salt'] || fromJSON(inputs.changed-files)['lint'] }}
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/saltstack/salt-ci-containers/python:3.9
|
image: ghcr.io/saltstack/salt-ci-containers/python:3.10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install System Deps
|
- name: Install System Deps
|
||||||
|
@ -66,7 +66,7 @@ jobs:
|
||||||
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['tests'] || fromJSON(inputs.changed-files)['lint'] }}
|
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['tests'] || fromJSON(inputs.changed-files)['lint'] }}
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/saltstack/salt-ci-containers/python:3.8
|
image: ghcr.io/saltstack/salt-ci-containers/python:3.10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install System Deps
|
- name: Install System Deps
|
||||||
|
|
57
.github/workflows/nightly.yml
vendored
57
.github/workflows/nightly.yml
vendored
|
@ -707,27 +707,6 @@ jobs:
|
||||||
skip-code-coverage: false
|
skip-code-coverage: false
|
||||||
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
||||||
|
|
||||||
centos-7-pkg-tests:
|
|
||||||
name: CentOS 7 Package Test
|
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
|
||||||
needs:
|
|
||||||
- prepare-workflow
|
|
||||||
- build-pkgs-onedir
|
|
||||||
- build-ci-deps
|
|
||||||
uses: ./.github/workflows/test-packages-action-linux.yml
|
|
||||||
with:
|
|
||||||
distro-slug: centos-7
|
|
||||||
nox-session: ci-test-onedir
|
|
||||||
platform: linux
|
|
||||||
arch: x86_64
|
|
||||||
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
|
|
||||||
pkg-type: rpm
|
|
||||||
nox-version: 2022.8.7
|
|
||||||
python-version: "3.10"
|
|
||||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14
|
|
||||||
skip-code-coverage: false
|
|
||||||
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
|
||||||
|
|
||||||
debian-11-pkg-tests:
|
debian-11-pkg-tests:
|
||||||
name: Debian 11 Package Test
|
name: Debian 11 Package Test
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
||||||
|
@ -1620,27 +1599,6 @@ jobs:
|
||||||
workflow-slug: nightly
|
workflow-slug: nightly
|
||||||
default-timeout: 360
|
default-timeout: 360
|
||||||
|
|
||||||
centos-7:
|
|
||||||
name: CentOS 7 Test
|
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
|
||||||
needs:
|
|
||||||
- prepare-workflow
|
|
||||||
- build-ci-deps
|
|
||||||
uses: ./.github/workflows/test-action-linux.yml
|
|
||||||
with:
|
|
||||||
distro-slug: centos-7
|
|
||||||
nox-session: ci-test-onedir
|
|
||||||
platform: linux
|
|
||||||
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.14
|
|
||||||
skip-code-coverage: false
|
|
||||||
workflow-slug: nightly
|
|
||||||
default-timeout: 360
|
|
||||||
|
|
||||||
debian-11:
|
debian-11:
|
||||||
name: Debian 11 Test
|
name: Debian 11 Test
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
||||||
|
@ -2089,7 +2047,6 @@ jobs:
|
||||||
- amazonlinux-2023
|
- amazonlinux-2023
|
||||||
- amazonlinux-2023-arm64
|
- amazonlinux-2023-arm64
|
||||||
- archlinux-lts
|
- archlinux-lts
|
||||||
- centos-7
|
|
||||||
- debian-11
|
- debian-11
|
||||||
- debian-11-arm64
|
- debian-11-arm64
|
||||||
- debian-12
|
- debian-12
|
||||||
|
@ -2536,18 +2493,6 @@ jobs:
|
||||||
distro: photon
|
distro: photon
|
||||||
version: "5"
|
version: "5"
|
||||||
arch: aarch64
|
arch: aarch64
|
||||||
- pkg-type: rpm
|
|
||||||
distro: redhat
|
|
||||||
version: "7"
|
|
||||||
arch: x86_64
|
|
||||||
- pkg-type: rpm
|
|
||||||
distro: redhat
|
|
||||||
version: "7"
|
|
||||||
arch: arm64
|
|
||||||
- pkg-type: rpm
|
|
||||||
distro: redhat
|
|
||||||
version: "7"
|
|
||||||
arch: aarch64
|
|
||||||
- pkg-type: rpm
|
- pkg-type: rpm
|
||||||
distro: redhat
|
distro: redhat
|
||||||
version: "8"
|
version: "8"
|
||||||
|
@ -3009,7 +2954,6 @@ jobs:
|
||||||
- amazonlinux-2023
|
- amazonlinux-2023
|
||||||
- amazonlinux-2023-arm64
|
- amazonlinux-2023-arm64
|
||||||
- archlinux-lts
|
- archlinux-lts
|
||||||
- centos-7
|
|
||||||
- debian-11
|
- debian-11
|
||||||
- debian-11-arm64
|
- debian-11-arm64
|
||||||
- debian-12
|
- debian-12
|
||||||
|
@ -3096,7 +3040,6 @@ jobs:
|
||||||
- amazonlinux-2-arm64-pkg-tests
|
- amazonlinux-2-arm64-pkg-tests
|
||||||
- amazonlinux-2023-pkg-tests
|
- amazonlinux-2023-pkg-tests
|
||||||
- amazonlinux-2023-arm64-pkg-tests
|
- amazonlinux-2023-arm64-pkg-tests
|
||||||
- centos-7-pkg-tests
|
|
||||||
- debian-11-pkg-tests
|
- debian-11-pkg-tests
|
||||||
- debian-11-arm64-pkg-tests
|
- debian-11-arm64-pkg-tests
|
||||||
- debian-12-pkg-tests
|
- debian-12-pkg-tests
|
||||||
|
|
45
.github/workflows/scheduled.yml
vendored
45
.github/workflows/scheduled.yml
vendored
|
@ -684,27 +684,6 @@ jobs:
|
||||||
skip-code-coverage: false
|
skip-code-coverage: false
|
||||||
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
||||||
|
|
||||||
centos-7-pkg-tests:
|
|
||||||
name: CentOS 7 Package Test
|
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
|
||||||
needs:
|
|
||||||
- prepare-workflow
|
|
||||||
- build-pkgs-onedir
|
|
||||||
- build-ci-deps
|
|
||||||
uses: ./.github/workflows/test-packages-action-linux.yml
|
|
||||||
with:
|
|
||||||
distro-slug: centos-7
|
|
||||||
nox-session: ci-test-onedir
|
|
||||||
platform: linux
|
|
||||||
arch: x86_64
|
|
||||||
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
|
|
||||||
pkg-type: rpm
|
|
||||||
nox-version: 2022.8.7
|
|
||||||
python-version: "3.10"
|
|
||||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14
|
|
||||||
skip-code-coverage: false
|
|
||||||
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
|
||||||
|
|
||||||
debian-11-pkg-tests:
|
debian-11-pkg-tests:
|
||||||
name: Debian 11 Package Test
|
name: Debian 11 Package Test
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
||||||
|
@ -1597,27 +1576,6 @@ jobs:
|
||||||
workflow-slug: scheduled
|
workflow-slug: scheduled
|
||||||
default-timeout: 360
|
default-timeout: 360
|
||||||
|
|
||||||
centos-7:
|
|
||||||
name: CentOS 7 Test
|
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
|
||||||
needs:
|
|
||||||
- prepare-workflow
|
|
||||||
- build-ci-deps
|
|
||||||
uses: ./.github/workflows/test-action-linux.yml
|
|
||||||
with:
|
|
||||||
distro-slug: centos-7
|
|
||||||
nox-session: ci-test-onedir
|
|
||||||
platform: linux
|
|
||||||
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.14
|
|
||||||
skip-code-coverage: false
|
|
||||||
workflow-slug: scheduled
|
|
||||||
default-timeout: 360
|
|
||||||
|
|
||||||
debian-11:
|
debian-11:
|
||||||
name: Debian 11 Test
|
name: Debian 11 Test
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
||||||
|
@ -2066,7 +2024,6 @@ jobs:
|
||||||
- amazonlinux-2023
|
- amazonlinux-2023
|
||||||
- amazonlinux-2023-arm64
|
- amazonlinux-2023-arm64
|
||||||
- archlinux-lts
|
- archlinux-lts
|
||||||
- centos-7
|
|
||||||
- debian-11
|
- debian-11
|
||||||
- debian-11-arm64
|
- debian-11-arm64
|
||||||
- debian-12
|
- debian-12
|
||||||
|
@ -2236,7 +2193,6 @@ jobs:
|
||||||
- amazonlinux-2023
|
- amazonlinux-2023
|
||||||
- amazonlinux-2023-arm64
|
- amazonlinux-2023-arm64
|
||||||
- archlinux-lts
|
- archlinux-lts
|
||||||
- centos-7
|
|
||||||
- debian-11
|
- debian-11
|
||||||
- debian-11-arm64
|
- debian-11-arm64
|
||||||
- debian-12
|
- debian-12
|
||||||
|
@ -2265,7 +2221,6 @@ jobs:
|
||||||
- amazonlinux-2-arm64-pkg-tests
|
- amazonlinux-2-arm64-pkg-tests
|
||||||
- amazonlinux-2023-pkg-tests
|
- amazonlinux-2023-pkg-tests
|
||||||
- amazonlinux-2023-arm64-pkg-tests
|
- amazonlinux-2023-arm64-pkg-tests
|
||||||
- centos-7-pkg-tests
|
|
||||||
- debian-11-pkg-tests
|
- debian-11-pkg-tests
|
||||||
- debian-11-arm64-pkg-tests
|
- debian-11-arm64-pkg-tests
|
||||||
- debian-12-pkg-tests
|
- debian-12-pkg-tests
|
||||||
|
|
56
.github/workflows/staging.yml
vendored
56
.github/workflows/staging.yml
vendored
|
@ -692,27 +692,6 @@ jobs:
|
||||||
skip-code-coverage: true
|
skip-code-coverage: true
|
||||||
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
||||||
|
|
||||||
centos-7-pkg-tests:
|
|
||||||
name: CentOS 7 Package Test
|
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
|
||||||
needs:
|
|
||||||
- prepare-workflow
|
|
||||||
- build-pkgs-onedir
|
|
||||||
- build-ci-deps
|
|
||||||
uses: ./.github/workflows/test-packages-action-linux.yml
|
|
||||||
with:
|
|
||||||
distro-slug: centos-7
|
|
||||||
nox-session: ci-test-onedir
|
|
||||||
platform: linux
|
|
||||||
arch: x86_64
|
|
||||||
salt-version: "${{ needs.prepare-workflow.outputs.salt-version }}"
|
|
||||||
pkg-type: rpm
|
|
||||||
nox-version: 2022.8.7
|
|
||||||
python-version: "3.10"
|
|
||||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14
|
|
||||||
skip-code-coverage: true
|
|
||||||
testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}
|
|
||||||
|
|
||||||
debian-11-pkg-tests:
|
debian-11-pkg-tests:
|
||||||
name: Debian 11 Package Test
|
name: Debian 11 Package Test
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
||||||
|
@ -1605,27 +1584,6 @@ jobs:
|
||||||
workflow-slug: staging
|
workflow-slug: staging
|
||||||
default-timeout: 180
|
default-timeout: 180
|
||||||
|
|
||||||
centos-7:
|
|
||||||
name: CentOS 7 Test
|
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
|
||||||
needs:
|
|
||||||
- prepare-workflow
|
|
||||||
- build-ci-deps
|
|
||||||
uses: ./.github/workflows/test-action-linux.yml
|
|
||||||
with:
|
|
||||||
distro-slug: centos-7
|
|
||||||
nox-session: ci-test-onedir
|
|
||||||
platform: linux
|
|
||||||
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.14
|
|
||||||
skip-code-coverage: true
|
|
||||||
workflow-slug: staging
|
|
||||||
default-timeout: 180
|
|
||||||
|
|
||||||
debian-11:
|
debian-11:
|
||||||
name: Debian 11 Test
|
name: Debian 11 Test
|
||||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}
|
||||||
|
@ -2360,18 +2318,6 @@ jobs:
|
||||||
distro: photon
|
distro: photon
|
||||||
version: "5"
|
version: "5"
|
||||||
arch: aarch64
|
arch: aarch64
|
||||||
- pkg-type: rpm
|
|
||||||
distro: redhat
|
|
||||||
version: "7"
|
|
||||||
arch: x86_64
|
|
||||||
- pkg-type: rpm
|
|
||||||
distro: redhat
|
|
||||||
version: "7"
|
|
||||||
arch: arm64
|
|
||||||
- pkg-type: rpm
|
|
||||||
distro: redhat
|
|
||||||
version: "7"
|
|
||||||
arch: aarch64
|
|
||||||
- pkg-type: rpm
|
- pkg-type: rpm
|
||||||
distro: redhat
|
distro: redhat
|
||||||
version: "8"
|
version: "8"
|
||||||
|
@ -2967,7 +2913,6 @@ jobs:
|
||||||
- amazonlinux-2023
|
- amazonlinux-2023
|
||||||
- amazonlinux-2023-arm64
|
- amazonlinux-2023-arm64
|
||||||
- archlinux-lts
|
- archlinux-lts
|
||||||
- centos-7
|
|
||||||
- debian-11
|
- debian-11
|
||||||
- debian-11-arm64
|
- debian-11-arm64
|
||||||
- debian-12
|
- debian-12
|
||||||
|
@ -2996,7 +2941,6 @@ jobs:
|
||||||
- amazonlinux-2-arm64-pkg-tests
|
- amazonlinux-2-arm64-pkg-tests
|
||||||
- amazonlinux-2023-pkg-tests
|
- amazonlinux-2023-pkg-tests
|
||||||
- amazonlinux-2023-arm64-pkg-tests
|
- amazonlinux-2023-arm64-pkg-tests
|
||||||
- centos-7-pkg-tests
|
|
||||||
- debian-11-pkg-tests
|
- debian-11-pkg-tests
|
||||||
- debian-11-arm64-pkg-tests
|
- debian-11-arm64-pkg-tests
|
||||||
- debian-12-pkg-tests
|
- debian-12-pkg-tests
|
||||||
|
|
1
changelog/66623.deprecated.md
Normal file
1
changelog/66623.deprecated.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Drop CentOS 7 support
|
1
changelog/66624.added.md
Normal file
1
changelog/66624.added.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Build RPM packages with Rocky Linux 9 (instead of CentOS Stream 9)
|
1
changelog/66624.deprecated.md
Normal file
1
changelog/66624.deprecated.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
No longer build RPM packages with CentOS Stream 9
|
|
@ -49,26 +49,6 @@
|
||||||
"is_windows": "false",
|
"is_windows": "false",
|
||||||
"ssh_username": "arch"
|
"ssh_username": "arch"
|
||||||
},
|
},
|
||||||
"centos-7-arm64": {
|
|
||||||
"ami": "ami-0ef52419c91cb0169",
|
|
||||||
"ami_description": "CI Image of CentOS 7 arm64",
|
|
||||||
"ami_name": "salt-project/ci/centos/7/arm64/20240509.1530",
|
|
||||||
"arch": "arm64",
|
|
||||||
"cloudwatch-agent-available": "true",
|
|
||||||
"instance_type": "m6g.large",
|
|
||||||
"is_windows": "false",
|
|
||||||
"ssh_username": "centos"
|
|
||||||
},
|
|
||||||
"centos-7": {
|
|
||||||
"ami": "ami-0973c8d1b91dcba5c",
|
|
||||||
"ami_description": "CI Image of CentOS 7 x86_64",
|
|
||||||
"ami_name": "salt-project/ci/centos/7/x86_64/20240509.1530",
|
|
||||||
"arch": "x86_64",
|
|
||||||
"cloudwatch-agent-available": "true",
|
|
||||||
"instance_type": "t3a.large",
|
|
||||||
"is_windows": "false",
|
|
||||||
"ssh_username": "centos"
|
|
||||||
},
|
|
||||||
"debian-11-arm64": {
|
"debian-11-arm64": {
|
||||||
"ami": "ami-0eff227d9a94d8692",
|
"ami": "ami-0eff227d9a94d8692",
|
||||||
"ami_description": "CI Image of Debian 11 arm64",
|
"ami_description": "CI Image of Debian 11 arm64",
|
||||||
|
|
11
tools/ci.py
11
tools/ci.py
|
@ -682,8 +682,8 @@ def matrix(
|
||||||
for transport in ("zeromq", "tcp"):
|
for transport in ("zeromq", "tcp"):
|
||||||
if transport == "tcp":
|
if transport == "tcp":
|
||||||
if distro_slug not in (
|
if distro_slug not in (
|
||||||
"centosstream-9",
|
"rockylinux-9",
|
||||||
"centosstream-9-arm64",
|
"rockylinux-9-arm64",
|
||||||
"photonos-5",
|
"photonos-5",
|
||||||
"photonos-5-arm64",
|
"photonos-5-arm64",
|
||||||
"ubuntu-22.04",
|
"ubuntu-22.04",
|
||||||
|
@ -831,7 +831,7 @@ def pkg_matrix(
|
||||||
|
|
||||||
if name == "amazonlinux":
|
if name == "amazonlinux":
|
||||||
name = "amazon"
|
name = "amazon"
|
||||||
elif "centos" in name or name == "rockylinux":
|
elif name == "rockylinux":
|
||||||
name = "redhat"
|
name = "redhat"
|
||||||
elif "photon" in name:
|
elif "photon" in name:
|
||||||
name = "photon"
|
name = "photon"
|
||||||
|
@ -967,8 +967,8 @@ def get_ci_deps_matrix(ctx: Context):
|
||||||
|
|
||||||
_matrix = {
|
_matrix = {
|
||||||
"linux": [
|
"linux": [
|
||||||
{"distro-slug": "centos-7", "arch": "x86_64"},
|
{"distro-slug": "rockylinux-9", "arch": "x86_64"},
|
||||||
{"distro-slug": "centos-7-arm64", "arch": "arm64"},
|
{"distro-slug": "rockylinux-9-arm64", "arch": "arm64"},
|
||||||
],
|
],
|
||||||
"macos": [
|
"macos": [
|
||||||
{"distro-slug": "macos-12", "arch": "x86_64"},
|
{"distro-slug": "macos-12", "arch": "x86_64"},
|
||||||
|
@ -1031,7 +1031,6 @@ def get_pkg_downloads_matrix(ctx: Context):
|
||||||
rpm_slugs = (
|
rpm_slugs = (
|
||||||
"rockylinux",
|
"rockylinux",
|
||||||
"amazonlinux",
|
"amazonlinux",
|
||||||
"centos",
|
|
||||||
"fedora",
|
"fedora",
|
||||||
"photon",
|
"photon",
|
||||||
)
|
)
|
||||||
|
|
|
@ -435,7 +435,7 @@ def rpm(
|
||||||
|
|
||||||
createrepo = shutil.which("createrepo")
|
createrepo = shutil.which("createrepo")
|
||||||
if createrepo is None:
|
if createrepo is None:
|
||||||
container = "ghcr.io/saltstack/salt-ci-containers/packaging:centosstream-9"
|
container = "ghcr.io/saltstack/salt-ci-containers/packaging:rockylinux-9"
|
||||||
ctx.info(f"Using docker container '{container}' to call 'createrepo'...")
|
ctx.info(f"Using docker container '{container}' to call 'createrepo'...")
|
||||||
uid = ctx.run("id", "-u", capture=True).stdout.strip().decode()
|
uid = ctx.run("id", "-u", capture=True).stdout.strip().decode()
|
||||||
gid = ctx.run("id", "-g", capture=True).stdout.strip().decode()
|
gid = ctx.run("id", "-g", capture=True).stdout.strip().decode()
|
||||||
|
@ -493,7 +493,7 @@ def rpm(
|
||||||
if distro == "amazon":
|
if distro == "amazon":
|
||||||
distro_name = "Amazon Linux"
|
distro_name = "Amazon Linux"
|
||||||
elif distro == "redhat":
|
elif distro == "redhat":
|
||||||
distro_name = "RHEL/CentOS"
|
distro_name = "RHEL"
|
||||||
else:
|
else:
|
||||||
distro_name = distro.capitalize()
|
distro_name = distro.capitalize()
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,6 @@ TEST_SALT_LISTING = PlatformDefinitions(
|
||||||
arch="arm64",
|
arch="arm64",
|
||||||
),
|
),
|
||||||
Linux(slug="archlinux-lts", display_name="Arch Linux LTS", arch="x86_64"),
|
Linux(slug="archlinux-lts", display_name="Arch Linux LTS", arch="x86_64"),
|
||||||
Linux(slug="centos-7", display_name="CentOS 7", arch="x86_64"),
|
|
||||||
Linux(slug="debian-11", display_name="Debian 11", arch="x86_64"),
|
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-11-arm64", display_name="Debian 11 Arm64", arch="arm64"),
|
||||||
Linux(slug="debian-12", display_name="Debian 12", arch="x86_64"),
|
Linux(slug="debian-12", display_name="Debian 12", arch="x86_64"),
|
||||||
|
@ -245,12 +244,6 @@ def generate_workflows(ctx: Context):
|
||||||
arch="arm64",
|
arch="arm64",
|
||||||
pkg_type="rpm",
|
pkg_type="rpm",
|
||||||
),
|
),
|
||||||
Linux(
|
|
||||||
slug="centos-7",
|
|
||||||
display_name="CentOS 7",
|
|
||||||
arch="x86_64",
|
|
||||||
pkg_type="rpm",
|
|
||||||
),
|
|
||||||
Linux(
|
Linux(
|
||||||
slug="debian-11",
|
slug="debian-11",
|
||||||
display_name="Debian 11",
|
display_name="Debian 11",
|
||||||
|
@ -425,9 +418,7 @@ def generate_workflows(ctx: Context):
|
||||||
for slug in sorted(tools.utils.get_golden_images()):
|
for slug in sorted(tools.utils.get_golden_images()):
|
||||||
if slug.endswith("-arm64"):
|
if slug.endswith("-arm64"):
|
||||||
continue
|
continue
|
||||||
if not slug.startswith(
|
if not slug.startswith(("amazonlinux", "rockylinux", "fedora", "photonos")):
|
||||||
("amazonlinux", "rockylinux", "centos", "fedora", "photonos")
|
|
||||||
):
|
|
||||||
continue
|
continue
|
||||||
os_name, os_version = slug.split("-")
|
os_name, os_version = slug.split("-")
|
||||||
if os_name == "amazonlinux":
|
if os_name == "amazonlinux":
|
||||||
|
|
|
@ -219,7 +219,7 @@ def download_pkgs_artifact(
|
||||||
if slug.startswith(("debian", "ubuntu")):
|
if slug.startswith(("debian", "ubuntu")):
|
||||||
artifact_name += f"{arch}-deb"
|
artifact_name += f"{arch}-deb"
|
||||||
elif slug.startswith(
|
elif slug.startswith(
|
||||||
("rockylinux", "amazonlinux", "centos", "fedora", "opensuse", "photonos")
|
("rockylinux", "amazonlinux", "fedora", "opensuse", "photonos")
|
||||||
):
|
):
|
||||||
artifact_name += f"{arch}-rpm"
|
artifact_name += f"{arch}-rpm"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue