mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
add salt 3003 tests
This commit is contained in:
parent
1e0109927e
commit
fbb55eda4b
7 changed files with 2168 additions and 0 deletions
4
.github/workflows/kitchen.vagrant.yml
vendored
4
.github/workflows/kitchen.vagrant.yml
vendored
|
@ -53,6 +53,10 @@ jobs:
|
||||||
- py3-git-3002-freebsd-122
|
- py3-git-3002-freebsd-122
|
||||||
- py3-git-3002-freebsd-114
|
- py3-git-3002-freebsd-114
|
||||||
# - py3-git-3002-openbsd-6
|
# - py3-git-3002-openbsd-6
|
||||||
|
- py3-git-3003-freebsd-130
|
||||||
|
- py3-git-3003-freebsd-122
|
||||||
|
- py3-git-3003-freebsd-114
|
||||||
|
# - py3-git-3003-openbsd-6
|
||||||
- py3-git-master-freebsd-130
|
- py3-git-master-freebsd-130
|
||||||
- py3-git-master-freebsd-122
|
- py3-git-master-freebsd-122
|
||||||
- py3-git-master-freebsd-114
|
- py3-git-master-freebsd-114
|
||||||
|
|
2
.github/workflows/kitchen.windows.yml
vendored
2
.github/workflows/kitchen.windows.yml
vendored
|
@ -46,6 +46,7 @@ jobs:
|
||||||
instance:
|
instance:
|
||||||
- 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
|
||||||
- latest-windows-2019
|
- latest-windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: 'Check out code'
|
- name: 'Check out code'
|
||||||
|
@ -102,6 +103,7 @@ jobs:
|
||||||
instance:
|
instance:
|
||||||
- py3-stable-3001-windows-2016
|
- py3-stable-3001-windows-2016
|
||||||
- py3-stable-3002-windows-2016
|
- py3-stable-3002-windows-2016
|
||||||
|
- py3-stable-3003-windows-2016
|
||||||
- latest-windows-2016
|
- latest-windows-2016
|
||||||
steps:
|
steps:
|
||||||
- name: 'Check out code'
|
- name: 'Check out code'
|
||||||
|
|
276
.github/workflows/main-branch-only.yml
vendored
276
.github/workflows/main-branch-only.yml
vendored
|
@ -284,6 +284,144 @@ jobs:
|
||||||
bundle exec kitchen destroy py3-git-3002-gentoo
|
bundle exec kitchen destroy py3-git-3002-gentoo
|
||||||
|
|
||||||
|
|
||||||
|
py3-stable-3003-gentoo:
|
||||||
|
name: Gentoo v3003 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-3003-gentoo || bundle exec kitchen create py3-stable-3003-gentoo
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-stable-3003-gentoo
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-stable-3003-gentoo
|
||||||
|
|
||||||
|
|
||||||
|
py3-git-3003-gentoo:
|
||||||
|
name: Gentoo v3003 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-3003-gentoo || bundle exec kitchen create py3-git-3003-gentoo
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-git-3003-gentoo
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-git-3003-gentoo
|
||||||
|
|
||||||
|
|
||||||
|
py3-stable-3003-0-gentoo:
|
||||||
|
name: Gentoo v3003.0 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-3003-0-gentoo || bundle exec kitchen create py3-stable-3003-0-gentoo
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-stable-3003-0-gentoo
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-stable-3003-0-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 +790,144 @@ jobs:
|
||||||
bundle exec kitchen destroy py3-git-3002-gentoo-systemd
|
bundle exec kitchen destroy py3-git-3002-gentoo-systemd
|
||||||
|
|
||||||
|
|
||||||
|
py3-stable-3003-gentoo-systemd:
|
||||||
|
name: Gentoo (systemd) v3003 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-3003-gentoo-systemd || bundle exec kitchen create py3-stable-3003-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-stable-3003-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-stable-3003-gentoo-systemd
|
||||||
|
|
||||||
|
|
||||||
|
py3-git-3003-gentoo-systemd:
|
||||||
|
name: Gentoo (systemd) v3003 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-3003-gentoo-systemd || bundle exec kitchen create py3-git-3003-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-git-3003-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-git-3003-gentoo-systemd
|
||||||
|
|
||||||
|
|
||||||
|
py3-stable-3003-0-gentoo-systemd:
|
||||||
|
name: Gentoo (systemd) v3003.0 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-3003-0-gentoo-systemd || bundle exec kitchen create py3-stable-3003-0-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Test Bootstrap In Test Container
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen verify py3-stable-3003-0-gentoo-systemd
|
||||||
|
|
||||||
|
- name: Destroy Test Container
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
bundle exec kitchen destroy py3-stable-3003-0-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
|
||||||
|
|
1840
.github/workflows/main.yml
vendored
1840
.github/workflows/main.yml
vendored
File diff suppressed because it is too large
Load diff
11
.github/workflows/templates/generate.py
vendored
11
.github/workflows/templates/generate.py
vendored
|
@ -106,12 +106,18 @@ BLACKLIST_3002_0 = [
|
||||||
"ubuntu-2104",
|
"ubuntu-2104",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
BLACKLIST_3003_0 = [
|
||||||
|
"amazon-2",
|
||||||
|
]
|
||||||
|
|
||||||
SALT_BRANCHES = [
|
SALT_BRANCHES = [
|
||||||
"3000",
|
"3000",
|
||||||
"3001",
|
"3001",
|
||||||
"3001-0",
|
"3001-0",
|
||||||
"3002",
|
"3002",
|
||||||
"3002-0",
|
"3002-0",
|
||||||
|
"3003",
|
||||||
|
"3003-0",
|
||||||
"master",
|
"master",
|
||||||
"latest",
|
"latest",
|
||||||
]
|
]
|
||||||
|
@ -122,6 +128,8 @@ BRANCH_DISPLAY_NAMES = {
|
||||||
"3001-0": "v3001.0",
|
"3001-0": "v3001.0",
|
||||||
"3002": "v3002",
|
"3002": "v3002",
|
||||||
"3002-0": "v3002.0",
|
"3002-0": "v3002.0",
|
||||||
|
"3003": "v3003",
|
||||||
|
"3003-0": "v3003.0",
|
||||||
"master": "Master",
|
"master": "Master",
|
||||||
"latest": "Latest",
|
"latest": "Latest",
|
||||||
}
|
}
|
||||||
|
@ -270,6 +278,9 @@ def generate_test_jobs():
|
||||||
if branch == "3002-0" and distro in BLACKLIST_3002_0:
|
if branch == "3002-0" and distro in BLACKLIST_3002_0:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if branch == "3003-0" and distro in BLACKLIST_3003_0:
|
||||||
|
continue
|
||||||
|
|
||||||
if python_version == "py2" and distro in PY2_BLACKLIST:
|
if python_version == "py2" and distro in PY2_BLACKLIST:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,9 @@ suites:
|
||||||
- name: py3-stable-3002
|
- name: py3-stable-3002
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: 3002
|
salt_version: 3002
|
||||||
|
- name: py3-stable-3003
|
||||||
|
provisioner:
|
||||||
|
salt_version: 3003
|
||||||
- name: latest
|
- name: latest
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: latest
|
salt_version: latest
|
||||||
|
|
32
kitchen.yml
32
kitchen.yml
|
@ -198,6 +198,10 @@ suites:
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: 3002
|
salt_version: 3002
|
||||||
salt_bootstrap_options: -x python3 -MPfq git %s
|
salt_bootstrap_options: -x python3 -MPfq git %s
|
||||||
|
- name: py3-git-3003
|
||||||
|
provisioner:
|
||||||
|
salt_version: 3003
|
||||||
|
salt_bootstrap_options: -x python3 -MPfq git %s
|
||||||
- name: py3-stable-3000
|
- name: py3-stable-3000
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: 3000
|
salt_version: 3000
|
||||||
|
@ -260,6 +264,22 @@ suites:
|
||||||
- freebsd-122
|
- freebsd-122
|
||||||
- freebsd-114
|
- freebsd-114
|
||||||
- openbsd-6
|
- openbsd-6
|
||||||
|
- name: py3-stable-3003-0
|
||||||
|
provisioner:
|
||||||
|
salt_version: 3003
|
||||||
|
salt_bootstrap_options: -x python3 -MP stable 3003.0
|
||||||
|
excludes:
|
||||||
|
- opensuse-15
|
||||||
|
- opensuse-tumbleweed
|
||||||
|
- debian-11
|
||||||
|
- fedora-33
|
||||||
|
- arch
|
||||||
|
- gentoo
|
||||||
|
- gentoo-systemd
|
||||||
|
- freebsd-130
|
||||||
|
- freebsd-122
|
||||||
|
- freebsd-114
|
||||||
|
- openbsd-6
|
||||||
- name: py3-stable-3002
|
- name: py3-stable-3002
|
||||||
provisioner:
|
provisioner:
|
||||||
salt_version: 3002
|
salt_version: 3002
|
||||||
|
@ -272,6 +292,18 @@ suites:
|
||||||
- freebsd-122
|
- freebsd-122
|
||||||
- freebsd-114
|
- freebsd-114
|
||||||
- openbsd-6
|
- openbsd-6
|
||||||
|
- name: py3-stable-3003
|
||||||
|
provisioner:
|
||||||
|
salt_version: 3003
|
||||||
|
salt_bootstrap_options: -x python3 -MP stable %s
|
||||||
|
excludes:
|
||||||
|
- opensuse-15
|
||||||
|
- opensuse-tumbleweed
|
||||||
|
- arch
|
||||||
|
- freebsd-130
|
||||||
|
- freebsd-122
|
||||||
|
- freebsd-114
|
||||||
|
- 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