feat(fedora): add CI for Fedora 34 & 35

This commit is contained in:
Imran Iqbal 2021-04-23 22:55:38 +01:00 committed by Kirill Ponomarev
parent 388ef93cf2
commit ca0669c78d
3 changed files with 392 additions and 0 deletions

View file

@ -3080,6 +3080,374 @@ jobs:
bundle exec kitchen destroy latest-fedora-33
py3-git-3001-fedora-34:
name: Fedora 34 v3001 Py3 Git
runs-on: ubuntu-latest
timeout-minutes: 20
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 py3-git-3001-fedora-34 || bundle exec kitchen create py3-git-3001-fedora-34
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-3001-fedora-34
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-3001-fedora-34
py3-git-3002-fedora-34:
name: Fedora 34 v3002 Py3 Git
runs-on: ubuntu-latest
timeout-minutes: 20
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 py3-git-3002-fedora-34 || bundle exec kitchen create py3-git-3002-fedora-34
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-3002-fedora-34
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-3002-fedora-34
py3-git-master-fedora-34:
name: Fedora 34 Master Py3 Git
runs-on: ubuntu-latest
timeout-minutes: 20
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 py3-git-master-fedora-34 || bundle exec kitchen create py3-git-master-fedora-34
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-master-fedora-34
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-master-fedora-34
latest-fedora-34:
name: Fedora 34 Latest packaged release
runs-on: ubuntu-latest
timeout-minutes: 20
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-34 || bundle exec kitchen create latest-fedora-34
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-fedora-34
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-fedora-34
py3-git-3001-fedora-35:
name: Fedora 35 v3001 Py3 Git
runs-on: ubuntu-latest
timeout-minutes: 20
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 py3-git-3001-fedora-35 || bundle exec kitchen create py3-git-3001-fedora-35
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-3001-fedora-35
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-3001-fedora-35
py3-git-3002-fedora-35:
name: Fedora 35 v3002 Py3 Git
runs-on: ubuntu-latest
timeout-minutes: 20
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 py3-git-3002-fedora-35 || bundle exec kitchen create py3-git-3002-fedora-35
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-3002-fedora-35
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-3002-fedora-35
py3-git-master-fedora-35:
name: Fedora 35 Master Py3 Git
runs-on: ubuntu-latest
timeout-minutes: 20
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 py3-git-master-fedora-35 || bundle exec kitchen create py3-git-master-fedora-35
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-master-fedora-35
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-master-fedora-35
latest-fedora-35:
name: Fedora 35 Latest packaged release
runs-on: ubuntu-latest
timeout-minutes: 20
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-35 || bundle exec kitchen create latest-fedora-35
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-fedora-35
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-fedora-35
py3-git-3000-opensuse-15:
name: Opensuse 15 v3000 Py3 Git
runs-on: ubuntu-latest

View file

@ -15,6 +15,8 @@ LINUX_DISTROS = [
"debian-9",
"fedora-32",
"fedora-33",
"fedora-34",
"fedora-35",
"gentoo",
"gentoo-systemd",
"opensuse-15",
@ -35,6 +37,8 @@ STABLE_DISTROS = [
"debian-9",
"fedora-32",
"fedora-33",
"fedora-34",
"fedora-35",
"gentoo",
"gentoo-systemd",
"oraclelinux-7",
@ -49,6 +53,8 @@ PY2_BLACKLIST = [
"debian-11",
"fedora-32",
"fedora-33",
"fedora-34",
"fedora-35",
"gentoo",
"gentoo-systemd",
"opensuse-15",
@ -59,6 +65,8 @@ PY2_BLACKLIST = [
BLACKLIST_3000 = [
"debian-11",
"fedora-33",
"fedora-34",
"fedora-35",
"opensuse-tumbleweed",
"ubuntu-2004",
]
@ -113,6 +121,8 @@ DISTRO_DISPLAY_NAMES = {
"debian-9": "Debian 9",
"fedora-32": "Fedora 32",
"fedora-33": "Fedora 33",
"fedora-34": "Fedora 34",
"fedora-35": "Fedora 35",
"gentoo": "Gentoo",
"gentoo-systemd": "Gentoo (systemd)",
"opensuse-15": "Opensuse 15",

View file

@ -73,6 +73,20 @@ platforms:
provision_command:
- dnf -y install procps-ng
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
- name: fedora-34
driver_config:
image: fedora:34
run_command: /usr/lib/systemd/systemd
provision_command:
- dnf -y install procps-ng
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
- name: fedora-35
driver_config:
image: fedora:35
run_command: /usr/lib/systemd/systemd
provision_command:
- dnf -y install procps-ng
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
- name: gentoo
driver_config:
image: ksmanis/stage3:latest