mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
In that case, group under the Build Repository
display name
BAH! ``` too many workflows are referenced, total: 21, limit: 20 ``` https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#limitations Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
13b6b00171
commit
a2f06e2153
9 changed files with 207 additions and 78 deletions
115
.github/workflows/nightly.yml
vendored
115
.github/workflows/nightly.yml
vendored
|
@ -2314,7 +2314,7 @@ jobs:
|
|||
if-no-files-found: error
|
||||
|
||||
build-src-repo:
|
||||
name: Build Source Repository
|
||||
name: Build Repository
|
||||
environment: nightly
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2322,6 +2322,13 @@ jobs:
|
|||
- repo-nightly
|
||||
needs:
|
||||
- prepare-workflow
|
||||
- build-source-tarball
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- src
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -2405,7 +2412,7 @@ jobs:
|
|||
archive-name: src-repo
|
||||
|
||||
build-deb-repo:
|
||||
name: Build DEB Repository
|
||||
name: Build Repository
|
||||
environment: nightly
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2418,28 +2425,36 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- distro: debian
|
||||
- pkg-type: deb
|
||||
distro: debian
|
||||
version: "10"
|
||||
arch: x86_64
|
||||
- distro: debian
|
||||
- pkg-type: deb
|
||||
distro: debian
|
||||
version: "10"
|
||||
arch: aarch64
|
||||
- distro: debian
|
||||
- pkg-type: deb
|
||||
distro: debian
|
||||
version: "11"
|
||||
arch: x86_64
|
||||
- distro: debian
|
||||
- pkg-type: deb
|
||||
distro: debian
|
||||
version: "11"
|
||||
arch: aarch64
|
||||
- distro: ubuntu
|
||||
- pkg-type: deb
|
||||
distro: ubuntu
|
||||
version: "20.04"
|
||||
arch: x86_64
|
||||
- distro: ubuntu
|
||||
- pkg-type: deb
|
||||
distro: ubuntu
|
||||
version: "20.04"
|
||||
arch: aarch64
|
||||
- distro: ubuntu
|
||||
- pkg-type: deb
|
||||
distro: ubuntu
|
||||
version: "22.04"
|
||||
arch: x86_64
|
||||
- distro: ubuntu
|
||||
- pkg-type: deb
|
||||
distro: ubuntu
|
||||
version: "22.04"
|
||||
arch: aarch64
|
||||
|
||||
|
@ -2516,7 +2531,7 @@ jobs:
|
|||
archive-name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-repo
|
||||
|
||||
build-rpm-repo:
|
||||
name: Build RPM Repository
|
||||
name: Build Repository
|
||||
environment: nightly
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2529,58 +2544,76 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- distro: amazon
|
||||
- pkg-type: rpm
|
||||
distro: amazon
|
||||
version: "2"
|
||||
arch: x86_64
|
||||
- distro: amazon
|
||||
- pkg-type: rpm
|
||||
distro: amazon
|
||||
version: "2"
|
||||
arch: aarch64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "7"
|
||||
arch: x86_64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "7"
|
||||
arch: aarch64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "8"
|
||||
arch: x86_64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "8"
|
||||
arch: aarch64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "9"
|
||||
arch: x86_64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "9"
|
||||
arch: aarch64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "36"
|
||||
arch: x86_64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "36"
|
||||
arch: aarch64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "37"
|
||||
arch: x86_64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "37"
|
||||
arch: aarch64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "38"
|
||||
arch: x86_64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "38"
|
||||
arch: aarch64
|
||||
- distro: photon
|
||||
- pkg-type: rpm
|
||||
distro: photon
|
||||
version: "3"
|
||||
arch: x86_64
|
||||
- distro: photon
|
||||
- pkg-type: rpm
|
||||
distro: photon
|
||||
version: "3"
|
||||
arch: aarch64
|
||||
- distro: photon
|
||||
- pkg-type: rpm
|
||||
distro: photon
|
||||
version: "4"
|
||||
arch: x86_64
|
||||
- distro: photon
|
||||
- pkg-type: rpm
|
||||
distro: photon
|
||||
version: "4"
|
||||
arch: aarch64
|
||||
|
||||
|
@ -2660,7 +2693,7 @@ jobs:
|
|||
archive-name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-repo
|
||||
|
||||
build-windows-repo:
|
||||
name: Build Windows Repository
|
||||
name: Build Repository
|
||||
environment: nightly
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2669,6 +2702,12 @@ jobs:
|
|||
needs:
|
||||
- prepare-workflow
|
||||
- build-windows-pkgs-onedir
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- windows
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -2754,7 +2793,7 @@ jobs:
|
|||
archive-name: windows-repo
|
||||
|
||||
build-macos-repo:
|
||||
name: Build macOS Repository
|
||||
name: Build Repository
|
||||
environment: nightly
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2763,6 +2802,12 @@ jobs:
|
|||
needs:
|
||||
- prepare-workflow
|
||||
- build-macos-pkgs-onedir
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- macos
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -2830,7 +2875,7 @@ jobs:
|
|||
archive-name: macos-repo
|
||||
|
||||
build-onedir-repo:
|
||||
name: Build Onedir Repository
|
||||
name: Build Repository
|
||||
environment: nightly
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2841,6 +2886,12 @@ jobs:
|
|||
- build-salt-onedir-linux
|
||||
- build-salt-onedir-macos
|
||||
- build-salt-onedir-windows
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- onedir
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
115
.github/workflows/staging.yml
vendored
115
.github/workflows/staging.yml
vendored
|
@ -2170,7 +2170,7 @@ jobs:
|
|||
skip-junit-reports: true
|
||||
|
||||
build-src-repo:
|
||||
name: Build Source Repository
|
||||
name: Build Repository
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2178,6 +2178,13 @@ jobs:
|
|||
- repo-staging
|
||||
needs:
|
||||
- prepare-workflow
|
||||
- build-source-tarball
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- src
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -2261,7 +2268,7 @@ jobs:
|
|||
archive-name: src-repo
|
||||
|
||||
build-deb-repo:
|
||||
name: Build DEB Repository
|
||||
name: Build Repository
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2274,28 +2281,36 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- distro: debian
|
||||
- pkg-type: deb
|
||||
distro: debian
|
||||
version: "10"
|
||||
arch: x86_64
|
||||
- distro: debian
|
||||
- pkg-type: deb
|
||||
distro: debian
|
||||
version: "10"
|
||||
arch: aarch64
|
||||
- distro: debian
|
||||
- pkg-type: deb
|
||||
distro: debian
|
||||
version: "11"
|
||||
arch: x86_64
|
||||
- distro: debian
|
||||
- pkg-type: deb
|
||||
distro: debian
|
||||
version: "11"
|
||||
arch: aarch64
|
||||
- distro: ubuntu
|
||||
- pkg-type: deb
|
||||
distro: ubuntu
|
||||
version: "20.04"
|
||||
arch: x86_64
|
||||
- distro: ubuntu
|
||||
- pkg-type: deb
|
||||
distro: ubuntu
|
||||
version: "20.04"
|
||||
arch: aarch64
|
||||
- distro: ubuntu
|
||||
- pkg-type: deb
|
||||
distro: ubuntu
|
||||
version: "22.04"
|
||||
arch: x86_64
|
||||
- distro: ubuntu
|
||||
- pkg-type: deb
|
||||
distro: ubuntu
|
||||
version: "22.04"
|
||||
arch: aarch64
|
||||
|
||||
|
@ -2372,7 +2387,7 @@ jobs:
|
|||
archive-name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-repo
|
||||
|
||||
build-rpm-repo:
|
||||
name: Build RPM Repository
|
||||
name: Build Repository
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2385,58 +2400,76 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- distro: amazon
|
||||
- pkg-type: rpm
|
||||
distro: amazon
|
||||
version: "2"
|
||||
arch: x86_64
|
||||
- distro: amazon
|
||||
- pkg-type: rpm
|
||||
distro: amazon
|
||||
version: "2"
|
||||
arch: aarch64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "7"
|
||||
arch: x86_64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "7"
|
||||
arch: aarch64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "8"
|
||||
arch: x86_64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "8"
|
||||
arch: aarch64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "9"
|
||||
arch: x86_64
|
||||
- distro: redhat
|
||||
- pkg-type: rpm
|
||||
distro: redhat
|
||||
version: "9"
|
||||
arch: aarch64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "36"
|
||||
arch: x86_64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "36"
|
||||
arch: aarch64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "37"
|
||||
arch: x86_64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "37"
|
||||
arch: aarch64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "38"
|
||||
arch: x86_64
|
||||
- distro: fedora
|
||||
- pkg-type: rpm
|
||||
distro: fedora
|
||||
version: "38"
|
||||
arch: aarch64
|
||||
- distro: photon
|
||||
- pkg-type: rpm
|
||||
distro: photon
|
||||
version: "3"
|
||||
arch: x86_64
|
||||
- distro: photon
|
||||
- pkg-type: rpm
|
||||
distro: photon
|
||||
version: "3"
|
||||
arch: aarch64
|
||||
- distro: photon
|
||||
- pkg-type: rpm
|
||||
distro: photon
|
||||
version: "4"
|
||||
arch: x86_64
|
||||
- distro: photon
|
||||
- pkg-type: rpm
|
||||
distro: photon
|
||||
version: "4"
|
||||
arch: aarch64
|
||||
|
||||
|
@ -2518,7 +2551,7 @@ jobs:
|
|||
archive-name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-repo
|
||||
|
||||
build-windows-repo:
|
||||
name: Build Windows Repository
|
||||
name: Build Repository
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2527,6 +2560,12 @@ jobs:
|
|||
needs:
|
||||
- prepare-workflow
|
||||
- build-windows-pkgs-onedir
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- windows
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -2612,7 +2651,7 @@ jobs:
|
|||
archive-name: windows-repo
|
||||
|
||||
build-macos-repo:
|
||||
name: Build macOS Repository
|
||||
name: Build Repository
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2621,6 +2660,12 @@ jobs:
|
|||
needs:
|
||||
- prepare-workflow
|
||||
- build-macos-pkgs-onedir
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- macos
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -2688,7 +2733,7 @@ jobs:
|
|||
archive-name: macos-repo
|
||||
|
||||
build-onedir-repo:
|
||||
name: Build Onedir Repository
|
||||
name: Build Repository
|
||||
environment: staging
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -2699,6 +2744,12 @@ jobs:
|
|||
- build-salt-onedir-linux
|
||||
- build-salt-onedir-macos
|
||||
- build-salt-onedir-windows
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- onedir
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
("ubuntu", "22.04", "x86_64"),
|
||||
("ubuntu", "22.04", "aarch64"),
|
||||
) %>
|
||||
- distro: <{ distro }>
|
||||
- pkg-type: deb
|
||||
distro: <{ distro }>
|
||||
version: "<{ version }>"
|
||||
arch: <{ arch }>
|
||||
<%- endfor %>
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- macos
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- onedir
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
<%- for platform, type, display_name, needs_pkg in (
|
||||
(None, "src", "Source", False),
|
||||
("linux", "deb", "DEB", True),
|
||||
("linux", "rpm", "RPM", True),
|
||||
("windows", "windows", "Windows", True),
|
||||
("macos", "macos", "macOS", True),
|
||||
(None, "onedir", "Onedir", False),
|
||||
) %>
|
||||
<%- for type, display_name in (
|
||||
("src", "Source"),
|
||||
("deb", "DEB"),
|
||||
("rpm", "RPM"),
|
||||
("windows", "Windows"),
|
||||
("macos", "macOS"),
|
||||
("onedir", "Onedir"),
|
||||
) %>
|
||||
|
||||
<%- set job_name = "build-{}-repo".format(type) %>
|
||||
<%- do build_repo_needs.append(job_name) %>
|
||||
|
||||
<{ job_name }>:
|
||||
name: Build <{ display_name }> Repository
|
||||
name: Build Repository
|
||||
environment: <{ gh_environment }>
|
||||
runs-on:
|
||||
- self-hosted
|
||||
|
@ -19,15 +19,16 @@
|
|||
- repo-<{ gh_environment }>
|
||||
needs:
|
||||
- prepare-workflow
|
||||
<%- if needs_pkg %>
|
||||
<%- if type not in ("src", "onedir") %>
|
||||
- build-<{ type }>-pkgs-onedir
|
||||
<%- elif platform %>
|
||||
- build-salt-onedir-<{ platform }>
|
||||
<%- elif type == 'onedir' %>
|
||||
- build-salt-onedir-linux
|
||||
- build-salt-onedir-macos
|
||||
- build-salt-onedir-windows
|
||||
<%- elif type == 'src' %>
|
||||
- build-source-tarball
|
||||
<%- endif %>
|
||||
|
||||
<%- include "build-{}-repo.yml.jinja".format(type) %>
|
||||
|
||||
<%- endfor %>
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
("photon", "4", "x86_64"),
|
||||
("photon", "4", "aarch64"),
|
||||
) %>
|
||||
- distro: <{ distro }>
|
||||
- pkg-type: rpm
|
||||
distro: <{ distro }>
|
||||
version: "<{ version }>"
|
||||
arch: <{ arch }>
|
||||
<%- endfor %>
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- src
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
pkg-type:
|
||||
- windows
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue