mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 01:30:21 +00:00
update supported oses
This commit is contained in:
parent
2aac4774a2
commit
4e067acf82
4 changed files with 0 additions and 1460 deletions
184
.github/workflows/main-branch-only.yml
vendored
184
.github/workflows/main-branch-only.yml
vendored
|
@ -8,98 +8,6 @@ on: [push]
|
|||
|
||||
jobs:
|
||||
|
||||
py3-stable-2019-2-gentoo:
|
||||
name: Gentoo v2019.2 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-2019-2-gentoo || bundle exec kitchen create py3-stable-2019-2-gentoo
|
||||
|
||||
- name: Test Bootstrap In Test Container
|
||||
run: |
|
||||
bundle exec kitchen verify py3-stable-2019-2-gentoo
|
||||
|
||||
- name: Destroy Test Container
|
||||
if: always()
|
||||
run: |
|
||||
bundle exec kitchen destroy py3-stable-2019-2-gentoo
|
||||
|
||||
|
||||
py3-git-2019-2-gentoo:
|
||||
name: Gentoo v2019.2 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-2019-2-gentoo || bundle exec kitchen create py3-git-2019-2-gentoo
|
||||
|
||||
- name: Test Bootstrap In Test Container
|
||||
run: |
|
||||
bundle exec kitchen verify py3-git-2019-2-gentoo
|
||||
|
||||
- name: Destroy Test Container
|
||||
if: always()
|
||||
run: |
|
||||
bundle exec kitchen destroy py3-git-2019-2-gentoo
|
||||
|
||||
|
||||
py3-stable-3000-gentoo:
|
||||
name: Gentoo v3000 Py3 Stable
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -468,98 +376,6 @@ jobs:
|
|||
bundle exec kitchen destroy latest-gentoo
|
||||
|
||||
|
||||
py3-stable-2019-2-gentoo-systemd:
|
||||
name: Gentoo (systemd) v2019.2 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-2019-2-gentoo-systemd || bundle exec kitchen create py3-stable-2019-2-gentoo-systemd
|
||||
|
||||
- name: Test Bootstrap In Test Container
|
||||
run: |
|
||||
bundle exec kitchen verify py3-stable-2019-2-gentoo-systemd
|
||||
|
||||
- name: Destroy Test Container
|
||||
if: always()
|
||||
run: |
|
||||
bundle exec kitchen destroy py3-stable-2019-2-gentoo-systemd
|
||||
|
||||
|
||||
py3-git-2019-2-gentoo-systemd:
|
||||
name: Gentoo (systemd) v2019.2 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-2019-2-gentoo-systemd || bundle exec kitchen create py3-git-2019-2-gentoo-systemd
|
||||
|
||||
- name: Test Bootstrap In Test Container
|
||||
run: |
|
||||
bundle exec kitchen verify py3-git-2019-2-gentoo-systemd
|
||||
|
||||
- name: Destroy Test Container
|
||||
if: always()
|
||||
run: |
|
||||
bundle exec kitchen destroy py3-git-2019-2-gentoo-systemd
|
||||
|
||||
|
||||
py3-stable-3000-gentoo-systemd:
|
||||
name: Gentoo (systemd) v3000 Py3 Stable
|
||||
runs-on: ubuntu-latest
|
||||
|
|
1196
.github/workflows/main.yml
vendored
1196
.github/workflows/main.yml
vendored
File diff suppressed because it is too large
Load diff
21
.github/workflows/templates/generate.py
vendored
21
.github/workflows/templates/generate.py
vendored
|
@ -6,7 +6,6 @@ import datetime
|
|||
os.chdir(os.path.abspath(os.path.dirname(__file__)))
|
||||
|
||||
LINUX_DISTROS = [
|
||||
#'amazon-1',
|
||||
"amazon-2",
|
||||
"arch",
|
||||
"centos-7",
|
||||
|
@ -26,7 +25,6 @@ LINUX_DISTROS = [
|
|||
OSX = WINDOWS = []
|
||||
|
||||
STABLE_DISTROS = [
|
||||
"amazon-1",
|
||||
"amazon-2",
|
||||
"centos-7",
|
||||
"centos-8",
|
||||
|
@ -54,16 +52,6 @@ PY2_BLACKLIST = [
|
|||
"ubuntu-2004",
|
||||
]
|
||||
|
||||
PY3_BLACKLIST = [
|
||||
"amazon-1",
|
||||
]
|
||||
|
||||
BLACKLIST_2019 = [
|
||||
"debian-11",
|
||||
"fedora-33",
|
||||
"ubuntu-2004",
|
||||
]
|
||||
|
||||
BLACKLIST_3000 = [
|
||||
"debian-11",
|
||||
"fedora-33",
|
||||
|
@ -87,7 +75,6 @@ BLACKLIST_3002_0 = [
|
|||
]
|
||||
|
||||
SALT_BRANCHES = [
|
||||
"2019-2",
|
||||
"3000",
|
||||
"3001",
|
||||
"3001-0",
|
||||
|
@ -98,7 +85,6 @@ SALT_BRANCHES = [
|
|||
]
|
||||
|
||||
BRANCH_DISPLAY_NAMES = {
|
||||
"2019-2": "v2019.2",
|
||||
"3000": "v3000",
|
||||
"3001": "v3001",
|
||||
"3001-0": "v3001.0",
|
||||
|
@ -115,7 +101,6 @@ LATEST_PKG_BLACKLIST = [
|
|||
]
|
||||
|
||||
DISTRO_DISPLAY_NAMES = {
|
||||
"amazon-1": "Amazon 1",
|
||||
"amazon-2": "Amazon 2",
|
||||
"arch": "Arch",
|
||||
"centos-7": "CentOS 7",
|
||||
|
@ -237,9 +222,6 @@ def generate_test_jobs():
|
|||
if branch not in allowed_branches:
|
||||
# Arch and Fedora default to py3.8
|
||||
continue
|
||||
if branch == "2019-2" and distro in BLACKLIST_2019:
|
||||
continue
|
||||
|
||||
if branch == "3000" and distro in BLACKLIST_3000:
|
||||
continue
|
||||
|
||||
|
@ -255,9 +237,6 @@ def generate_test_jobs():
|
|||
if python_version == "py2" and distro in PY2_BLACKLIST:
|
||||
continue
|
||||
|
||||
if python_version == "py3" and distro in PY3_BLACKLIST:
|
||||
continue
|
||||
|
||||
if distro in LINUX_DISTROS:
|
||||
template = "linux.yml"
|
||||
elif distro in OSX:
|
||||
|
|
59
.kitchen.yml
59
.kitchen.yml
|
@ -28,13 +28,6 @@ provisioner:
|
|||
sh -c 't=$(shuf -i 1-15 -n 1); echo Sleeping $t seconds; sleep $t'
|
||||
|
||||
platforms:
|
||||
- name: amazon-1
|
||||
driver_config:
|
||||
image: amazonlinux:1
|
||||
platform: rhel
|
||||
run_command: /sbin/init
|
||||
provision_command:
|
||||
- yum install -y upstart
|
||||
- name: amazon-2
|
||||
driver_config:
|
||||
image: amazonlinux:2
|
||||
|
@ -113,14 +106,6 @@ platforms:
|
|||
run_command: /lib/systemd/systemd
|
||||
|
||||
suites:
|
||||
- name: py2-git-2019-2
|
||||
provisioner:
|
||||
salt_version: 2019.2
|
||||
excludes:
|
||||
- debian-10
|
||||
- debian-11
|
||||
- gentoo
|
||||
- gentoo-systemd
|
||||
- name: py2-git-3000
|
||||
provisioner:
|
||||
salt_version: 3000
|
||||
|
@ -137,20 +122,6 @@ suites:
|
|||
- debian-11
|
||||
- gentoo
|
||||
- gentoo-systemd
|
||||
- name: py2-stable-2019-2
|
||||
provisioner:
|
||||
salt_version: 2019.2
|
||||
salt_bootstrap_options: -MP stable %s
|
||||
excludes:
|
||||
- arch
|
||||
- opensuse-15
|
||||
- fedora-32
|
||||
- fedora-33
|
||||
- debian-10
|
||||
- debian-11
|
||||
- gentoo
|
||||
- gentoo-systemd
|
||||
- ubuntu-2004
|
||||
- name: py2-stable-3000
|
||||
provisioner:
|
||||
salt_version: 3000
|
||||
|
@ -171,45 +142,21 @@ suites:
|
|||
salt_version: 3000
|
||||
salt_bootstrap_options: -x python3 -MPfq git %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
- debian-11
|
||||
- ubuntu-2004
|
||||
- name: py3-git-2019-2
|
||||
provisioner:
|
||||
salt_version: 2019.2
|
||||
salt_bootstrap_options: -x python3 -MPfq git %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
- debian-11
|
||||
- ubuntu-2004
|
||||
- name: py3-git-3001
|
||||
provisioner:
|
||||
salt_version: 3001
|
||||
salt_bootstrap_options: -x python3 -MPfq git %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
- name: py3-git-3002
|
||||
provisioner:
|
||||
salt_version: 3002
|
||||
salt_bootstrap_options: -x python3 -MPfq git %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
- name: py3-stable-2019-2
|
||||
provisioner:
|
||||
salt_version: 2019.2
|
||||
salt_bootstrap_options: -x python3 -MP stable %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
- debian-11
|
||||
- opensuse-15
|
||||
- arch
|
||||
- ubuntu-2004
|
||||
- name: py3-stable-3000
|
||||
provisioner:
|
||||
salt_version: 3000
|
||||
salt_bootstrap_options: -x python3 -MP stable %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
- debian-11
|
||||
- opensuse-15
|
||||
- arch
|
||||
|
@ -219,7 +166,6 @@ suites:
|
|||
salt_version: 3001
|
||||
salt_bootstrap_options: -x python3 -MP stable 3001.0
|
||||
excludes:
|
||||
- amazon-1
|
||||
- opensuse-15
|
||||
- debian-11
|
||||
- fedora-32
|
||||
|
@ -232,7 +178,6 @@ suites:
|
|||
salt_version: 3001
|
||||
salt_bootstrap_options: -x python3 -MP stable %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
- debian-11
|
||||
- opensuse-15
|
||||
- arch
|
||||
|
@ -241,7 +186,6 @@ suites:
|
|||
salt_version: 3002
|
||||
salt_bootstrap_options: -x python3 -MP stable 3002.0
|
||||
excludes:
|
||||
- amazon-1
|
||||
- opensuse-15
|
||||
- debian-11
|
||||
- fedora-32
|
||||
|
@ -254,15 +198,12 @@ suites:
|
|||
salt_version: 3002
|
||||
salt_bootstrap_options: -x python3 -MP stable %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
- opensuse-15
|
||||
- arch
|
||||
- name: py3-git-master
|
||||
provisioner:
|
||||
salt_version: master
|
||||
salt_bootstrap_options: -x python3 -MPfq -D git %s
|
||||
excludes:
|
||||
- amazon-1
|
||||
|
||||
- name: latest
|
||||
provisioner:
|
||||
|
|
Loading…
Add table
Reference in a new issue