mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Add CI for v3004
This commit is contained in:
parent
ce779b02ab
commit
33f23e97e4
7 changed files with 2223 additions and 0 deletions
3
.github/workflows/kitchen.vagrant.yml
vendored
3
.github/workflows/kitchen.vagrant.yml
vendored
|
@ -50,6 +50,9 @@ jobs:
|
||||||
- py3-git-3003-freebsd-130
|
- py3-git-3003-freebsd-130
|
||||||
- py3-git-3003-freebsd-123
|
- py3-git-3003-freebsd-123
|
||||||
# - py3-git-3003-openbsd-6
|
# - py3-git-3003-openbsd-6
|
||||||
|
- py3-git-3004-freebsd-130
|
||||||
|
- py3-git-3004-freebsd-123
|
||||||
|
# - py3-git-3004-openbsd-6
|
||||||
- py3-git-master-freebsd-130
|
- py3-git-master-freebsd-130
|
||||||
- py3-git-master-freebsd-123
|
- py3-git-master-freebsd-123
|
||||||
# - py3-git-master-openbsd-6
|
# - py3-git-master-openbsd-6
|
||||||
|
|
2
.github/workflows/kitchen.windows.yml
vendored
2
.github/workflows/kitchen.windows.yml
vendored
|
@ -47,6 +47,7 @@ jobs:
|
||||||
- py3-stable-3001-windows-2022
|
- py3-stable-3001-windows-2022
|
||||||
- py3-stable-3002-windows-2022
|
- py3-stable-3002-windows-2022
|
||||||
- py3-stable-3003-windows-2022
|
- py3-stable-3003-windows-2022
|
||||||
|
- py3-stable-3004-windows-2022
|
||||||
- latest-windows-2022
|
- latest-windows-2022
|
||||||
steps:
|
steps:
|
||||||
- name: 'Check out code'
|
- name: 'Check out code'
|
||||||
|
@ -102,6 +103,7 @@ jobs:
|
||||||
- py3-stable-3001-windows-2019
|
- py3-stable-3001-windows-2019
|
||||||
- py3-stable-3002-windows-2019
|
- py3-stable-3002-windows-2019
|
||||||
- py3-stable-3003-windows-2019
|
- py3-stable-3003-windows-2019
|
||||||
|
- py3-stable-3004-windows-2019
|
||||||
- latest-windows-2019
|
- latest-windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: 'Check out code'
|
- name: 'Check out code'
|
||||||
|
|
184
.github/workflows/main-branch-only.yml
vendored
184
.github/workflows/main-branch-only.yml
vendored
|
@ -284,6 +284,98 @@ jobs:
|
||||||
bundle exec kitchen destroy py3-git-3003-gentoo
|
bundle exec kitchen destroy py3-git-3003-gentoo
|
||||||
|
|
||||||
|
|
||||||
|
py3-stable-3004-gentoo:
|
||||||
|
name: Gentoo v3004 Py3 Stable
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 90
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Setup Ruby
|
||||||
|
uses: actions/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 2.6.x
|
||||||
|
|
||||||
|
- name: Install Bundler
|
||||||
|
run: |
|
||||||
|
gem install bundler
|
||||||
|
|
||||||
|
- name: Setup Bundle
|
||||||
|
run: |
|
||||||
|
bundle install --with docker --without opennebula ec2 windows vagrant
|
||||||
|
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
|
||||||
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
|
pip install -U pip
|
||||||
|
pip install -r tests/requirements.txt
|
||||||
|
|
||||||
|
- name: Create Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen create py3-stable-3004-gentoo || bundle exec kitchen create py3-stable-3004-gentoo
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-stable-3004-gentoo
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-stable-3004-gentoo
|
||||||
|
|
||||||
|
|
||||||
|
py3-git-3004-gentoo:
|
||||||
|
name: Gentoo v3004 Py3 Git
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 90
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Setup Ruby
|
||||||
|
uses: actions/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 2.6.x
|
||||||
|
|
||||||
|
- name: Install Bundler
|
||||||
|
run: |
|
||||||
|
gem install bundler
|
||||||
|
|
||||||
|
- name: Setup Bundle
|
||||||
|
run: |
|
||||||
|
bundle install --with docker --without opennebula ec2 windows vagrant
|
||||||
|
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
|
||||||
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
|
pip install -U pip
|
||||||
|
pip install -r tests/requirements.txt
|
||||||
|
|
||||||
|
- name: Create Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen create py3-git-3004-gentoo || bundle exec kitchen create py3-git-3004-gentoo
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-git-3004-gentoo
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-git-3004-gentoo
|
||||||
|
|
||||||
|
|
||||||
py3-git-master-gentoo:
|
py3-git-master-gentoo:
|
||||||
name: Gentoo Master Py3 Git
|
name: Gentoo Master Py3 Git
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -652,6 +744,98 @@ jobs:
|
||||||
bundle exec kitchen destroy py3-git-3003-gentoo-systemd
|
bundle exec kitchen destroy py3-git-3003-gentoo-systemd
|
||||||
|
|
||||||
|
|
||||||
|
py3-stable-3004-gentoo-systemd:
|
||||||
|
name: Gentoo (systemd) v3004 Py3 Stable
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 90
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Setup Ruby
|
||||||
|
uses: actions/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 2.6.x
|
||||||
|
|
||||||
|
- name: Install Bundler
|
||||||
|
run: |
|
||||||
|
gem install bundler
|
||||||
|
|
||||||
|
- name: Setup Bundle
|
||||||
|
run: |
|
||||||
|
bundle install --with docker --without opennebula ec2 windows vagrant
|
||||||
|
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
|
||||||
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
|
pip install -U pip
|
||||||
|
pip install -r tests/requirements.txt
|
||||||
|
|
||||||
|
- name: Create Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen create py3-stable-3004-gentoo-systemd || bundle exec kitchen create py3-stable-3004-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-stable-3004-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-stable-3004-gentoo-systemd
|
||||||
|
|
||||||
|
|
||||||
|
py3-git-3004-gentoo-systemd:
|
||||||
|
name: Gentoo (systemd) v3004 Py3 Git
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 90
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Setup Ruby
|
||||||
|
uses: actions/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 2.6.x
|
||||||
|
|
||||||
|
- name: Install Bundler
|
||||||
|
run: |
|
||||||
|
gem install bundler
|
||||||
|
|
||||||
|
- name: Setup Bundle
|
||||||
|
run: |
|
||||||
|
bundle install --with docker --without opennebula ec2 windows vagrant
|
||||||
|
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
|
||||||
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
|
pip install -U pip
|
||||||
|
pip install -r tests/requirements.txt
|
||||||
|
|
||||||
|
- name: Create Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen create py3-git-3004-gentoo-systemd || bundle exec kitchen create py3-git-3004-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-git-3004-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-git-3004-gentoo-systemd
|
||||||
|
|
||||||
|
|
||||||
py3-git-master-gentoo-systemd:
|
py3-git-master-gentoo-systemd:
|
||||||
name: Gentoo (systemd) Master Py3 Git
|
name: Gentoo (systemd) Master Py3 Git
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
1978
.github/workflows/main.yml
vendored
1978
.github/workflows/main.yml
vendored
File diff suppressed because it is too large
Load diff
24
.github/workflows/templates/generate.py
vendored
24
.github/workflows/templates/generate.py
vendored
|
@ -103,6 +103,21 @@ BLACKLIST_3003_0 = [
|
||||||
"ubuntu-1604",
|
"ubuntu-1604",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
BLACKLIST_3004 = [
|
||||||
|
"rockylinux-8",
|
||||||
|
"ubuntu-1604",
|
||||||
|
"arch",
|
||||||
|
]
|
||||||
|
|
||||||
|
BLACKLIST_3004_0 = [
|
||||||
|
"amazon-2",
|
||||||
|
"gentoo",
|
||||||
|
"gentoo-systemd",
|
||||||
|
"rockylinux-8",
|
||||||
|
"ubuntu-1604",
|
||||||
|
"arch",
|
||||||
|
]
|
||||||
|
|
||||||
SALT_BRANCHES = [
|
SALT_BRANCHES = [
|
||||||
"3001",
|
"3001",
|
||||||
"3001-0",
|
"3001-0",
|
||||||
|
@ -110,6 +125,8 @@ SALT_BRANCHES = [
|
||||||
"3002-0",
|
"3002-0",
|
||||||
"3003",
|
"3003",
|
||||||
"3003-0",
|
"3003-0",
|
||||||
|
"3004",
|
||||||
|
"3004-0",
|
||||||
"master",
|
"master",
|
||||||
"latest",
|
"latest",
|
||||||
]
|
]
|
||||||
|
@ -121,6 +138,8 @@ BRANCH_DISPLAY_NAMES = {
|
||||||
"3002-0": "v3002.0",
|
"3002-0": "v3002.0",
|
||||||
"3003": "v3003",
|
"3003": "v3003",
|
||||||
"3003-0": "v3003.0",
|
"3003-0": "v3003.0",
|
||||||
|
"3004": "v3004",
|
||||||
|
"3004-0": "v3004.0",
|
||||||
"master": "Master",
|
"master": "Master",
|
||||||
"latest": "Latest",
|
"latest": "Latest",
|
||||||
}
|
}
|
||||||
|
@ -254,6 +273,11 @@ def generate_test_jobs():
|
||||||
if branch == "3003-0" and distro in BLACKLIST_3003_0:
|
if branch == "3003-0" and distro in BLACKLIST_3003_0:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if branch == "3004" and distro in BLACKLIST_3004:
|
||||||
|
continue
|
||||||
|
|
||||||
|
if branch == "3004-0" and distro in BLACKLIST_3004_0:
|
||||||
|
continue
|
||||||
if distro in LINUX_DISTROS:
|
if distro in LINUX_DISTROS:
|
||||||
template = "linux.yml"
|
template = "linux.yml"
|
||||||
elif distro in OSX:
|
elif distro in OSX:
|
||||||
|
|
|
@ -26,6 +26,9 @@ suites:
|
||||||
- name: py3-stable-3003
|
- name: py3-stable-3003
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: 3003
|
salt_version: 3003
|
||||||
|
- name: py3-stable-3004
|
||||||
|
provisioner:
|
||||||
|
salt_version: 3004
|
||||||
- name: latest
|
- name: latest
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: latest
|
salt_version: latest
|
||||||
|
|
29
kitchen.yml
29
kitchen.yml
|
@ -129,6 +129,10 @@ suites:
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: 3003
|
salt_version: 3003
|
||||||
salt_bootstrap_options: -x python3 -MPfq git %s
|
salt_bootstrap_options: -x python3 -MPfq git %s
|
||||||
|
- name: py3-git-3004
|
||||||
|
provisioner:
|
||||||
|
salt_version: 3004
|
||||||
|
salt_bootstrap_options: -x python3 -MPfq git %s
|
||||||
- name: py3-stable-3001-0
|
- name: py3-stable-3001-0
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: 3001
|
salt_version: 3001
|
||||||
|
@ -209,6 +213,31 @@ suites:
|
||||||
- freebsd-130
|
- freebsd-130
|
||||||
- freebsd-123
|
- freebsd-123
|
||||||
- openbsd-6
|
- openbsd-6
|
||||||
|
- name: py3-stable-3004-0
|
||||||
|
provisioner:
|
||||||
|
salt_version: 3004
|
||||||
|
salt_bootstrap_options: -x python3 -MP stable 3004.0
|
||||||
|
excludes:
|
||||||
|
- opensuse-15
|
||||||
|
- opensuse-tumbleweed
|
||||||
|
- fedora-33
|
||||||
|
- arch
|
||||||
|
- gentoo
|
||||||
|
- gentoo-systemd
|
||||||
|
- freebsd-130
|
||||||
|
- freebsd-123
|
||||||
|
- openbsd-6
|
||||||
|
- name: py3-stable-3004
|
||||||
|
provisioner:
|
||||||
|
salt_version: 3004
|
||||||
|
salt_bootstrap_options: -x python3 -MP stable %s
|
||||||
|
excludes:
|
||||||
|
- opensuse-15
|
||||||
|
- opensuse-tumbleweed
|
||||||
|
- arch
|
||||||
|
- freebsd-130
|
||||||
|
- freebsd-123
|
||||||
|
- openbsd-6
|
||||||
- name: py3-git-master
|
- name: py3-git-master
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: master
|
salt_version: master
|
||||||
|
|
Loading…
Add table
Reference in a new issue