Add Fedora 32 support(disabled since it's py3.8)

This commit is contained in:
Pedro Algarvio 2020-02-03 17:19:12 +00:00
parent f77631a87f
commit 743209efc6
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
3 changed files with 64 additions and 231 deletions

View file

@ -2344,98 +2344,6 @@ jobs:
bundle exec kitchen destroy latest-debian-9
py2-stable-2018-3-fedora-30:
name: Fedora 30 v2018.3 Py2 Stable
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint
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 py2-stable-2018-3-fedora-30 || bundle exec kitchen create py2-stable-2018-3-fedora-30
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py2-stable-2018-3-fedora-30
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py2-stable-2018-3-fedora-30
py2-git-2018-3-fedora-30:
name: Fedora 30 v2018.3 Py2 Git
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint
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 py2-git-2018-3-fedora-30 || bundle exec kitchen create py2-git-2018-3-fedora-30
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py2-git-2018-3-fedora-30
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py2-git-2018-3-fedora-30
py3-stable-2018-3-fedora-30:
name: Fedora 30 v2018.3 Py3 Stable
runs-on: ubuntu-latest
@ -2528,98 +2436,6 @@ jobs:
bundle exec kitchen destroy py3-git-2018-3-fedora-30
py2-stable-2019-2-fedora-30:
name: Fedora 30 v2019.2 Py2 Stable
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint
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 py2-stable-2019-2-fedora-30 || bundle exec kitchen create py2-stable-2019-2-fedora-30
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py2-stable-2019-2-fedora-30
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py2-stable-2019-2-fedora-30
py2-git-2019-2-fedora-30:
name: Fedora 30 v2019.2 Py2 Git
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint
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 py2-git-2019-2-fedora-30 || bundle exec kitchen create py2-git-2019-2-fedora-30
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py2-git-2019-2-fedora-30
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py2-git-2019-2-fedora-30
py3-stable-2019-2-fedora-30:
name: Fedora 30 v2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -2712,52 +2528,6 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-fedora-30
py2-git-3000-fedora-30:
name: Fedora 30 v3000 Py2 Git
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint
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 py2-git-3000-fedora-30 || bundle exec kitchen create py2-git-3000-fedora-30
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py2-git-3000-fedora-30
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py2-git-3000-fedora-30
py3-git-3000-fedora-30:
name: Fedora 30 v3000 Py3 Git
runs-on: ubuntu-latest
@ -3126,6 +2896,52 @@ jobs:
bundle exec kitchen destroy latest-fedora-31
latest-fedora-32:
name: Fedora 32 Latest packaged release
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint
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 latest-fedora-32 || bundle exec kitchen create latest-fedora-32
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-fedora-32
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-fedora-32
py2-git-2018-3-opensuse-15:
name: Opensuse 15 v2018.3 Py2 Git
runs-on: ubuntu-latest

View file

@ -17,6 +17,7 @@ LINUX_DISTROS = [
'debian-9',
'fedora-30',
'fedora-31',
'fedora-32',
'opensuse-15',
'ubuntu-1604',
'ubuntu-1804'
@ -41,14 +42,17 @@ STABLE_DISTROS = [
PY2_BLACKLIST = [
'centos-8',
'debian-10',
'fedora-30',
'fedora-31',
'fedora-32'
]
PY3_BLACKLIST = [
'arch',
'arch', # Defaults to Py3.8
'amazon-1',
'centos-6',
'debian-8',
'fedora-32' # Defaults to Py3.8
]
BLACKLIST_2018 = [
@ -93,6 +97,7 @@ DISTRO_DISPLAY_NAMES = {
'debian-9': 'Debian 9',
'fedora-30': 'Fedora 30',
'fedora-31': 'Fedora 31',
'fedora-32': 'Fedora 32',
'opensuse-15': 'Opensuse 15',
'ubuntu-1604': 'Ubuntu 16.04',
'ubuntu-1804': 'Ubuntu 18.04'

View file

@ -87,6 +87,12 @@ platforms:
run_command: /usr/lib/systemd/systemd
provision_command:
- dnf -y install procps-ng
- name: fedora-32
driver_config:
image: fedora:32
run_command: /usr/lib/systemd/systemd
provision_command:
- dnf -y install procps-ng
- name: opensuse-15
driver_config:
image: opensuse/leap:15.1
@ -124,6 +130,9 @@ suites:
excludes:
- arch
- opensuse-15
- fedora-30
- fedora-31
- fedora-32
- name: py2-stable-2019-2
provisioner:
salt_version: 2019.2
@ -131,6 +140,9 @@ suites:
excludes:
- arch
- opensuse-15
- fedora-30
- fedora-31
- fedora-32
- name: py3-git-2018-3
provisioner: