Add CI for v3004

This commit is contained in:
krionbsd 2022-01-10 09:56:28 +01:00 committed by Pedro Algarvio
parent ce779b02ab
commit 33f23e97e4
7 changed files with 2223 additions and 0 deletions

View file

@ -50,6 +50,9 @@ jobs:
- py3-git-3003-freebsd-130
- py3-git-3003-freebsd-123
# - 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-123
# - py3-git-master-openbsd-6

View file

@ -47,6 +47,7 @@ jobs:
- py3-stable-3001-windows-2022
- py3-stable-3002-windows-2022
- py3-stable-3003-windows-2022
- py3-stable-3004-windows-2022
- latest-windows-2022
steps:
- name: 'Check out code'
@ -102,6 +103,7 @@ jobs:
- py3-stable-3001-windows-2019
- py3-stable-3002-windows-2019
- py3-stable-3003-windows-2019
- py3-stable-3004-windows-2019
- latest-windows-2019
steps:
- name: 'Check out code'

View file

@ -284,6 +284,98 @@ jobs:
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:
name: Gentoo Master Py3 Git
runs-on: ubuntu-latest
@ -652,6 +744,98 @@ jobs:
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:
name: Gentoo (systemd) Master Py3 Git
runs-on: ubuntu-latest

File diff suppressed because it is too large Load diff

View file

@ -103,6 +103,21 @@ BLACKLIST_3003_0 = [
"ubuntu-1604",
]
BLACKLIST_3004 = [
"rockylinux-8",
"ubuntu-1604",
"arch",
]
BLACKLIST_3004_0 = [
"amazon-2",
"gentoo",
"gentoo-systemd",
"rockylinux-8",
"ubuntu-1604",
"arch",
]
SALT_BRANCHES = [
"3001",
"3001-0",
@ -110,6 +125,8 @@ SALT_BRANCHES = [
"3002-0",
"3003",
"3003-0",
"3004",
"3004-0",
"master",
"latest",
]
@ -121,6 +138,8 @@ BRANCH_DISPLAY_NAMES = {
"3002-0": "v3002.0",
"3003": "v3003",
"3003-0": "v3003.0",
"3004": "v3004",
"3004-0": "v3004.0",
"master": "Master",
"latest": "Latest",
}
@ -254,6 +273,11 @@ def generate_test_jobs():
if branch == "3003-0" and distro in BLACKLIST_3003_0:
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:
template = "linux.yml"
elif distro in OSX:

View file

@ -26,6 +26,9 @@ suites:
- name: py3-stable-3003
provisioner:
salt_version: 3003
- name: py3-stable-3004
provisioner:
salt_version: 3004
- name: latest
provisioner:
salt_version: latest

View file

@ -129,6 +129,10 @@ suites:
provisioner:
salt_version: 3003
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
provisioner:
salt_version: 3001
@ -209,6 +213,31 @@ suites:
- freebsd-130
- freebsd-123
- 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
provisioner:
salt_version: master