feat(rockylinux-8): add CI for platform

Closes #1553.
This commit is contained in:
Imran Iqbal 2021-06-25 23:26:12 +01:00 committed by Kirill Ponomarev
parent c26d540c9b
commit 0612b49bd6
3 changed files with 149 additions and 0 deletions

View file

@ -4598,6 +4598,144 @@ jobs:
bundle exec kitchen destroy latest-oraclelinux-8
py3-git-3002-rockylinux-8:
name: Rocky Linux 8 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-rockylinux-8 || bundle exec kitchen create py3-git-3002-rockylinux-8
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-3002-rockylinux-8
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-3002-rockylinux-8
py3-git-master-rockylinux-8:
name: Rocky Linux 8 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-rockylinux-8 || bundle exec kitchen create py3-git-master-rockylinux-8
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-master-rockylinux-8
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-master-rockylinux-8
latest-rockylinux-8:
name: Rocky Linux 8 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-rockylinux-8 || bundle exec kitchen create latest-rockylinux-8
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-rockylinux-8
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-rockylinux-8
py3-stable-3000-ubuntu-1804:
name: Ubuntu 18.04 v3000 Py3 Stable
runs-on: ubuntu-latest

View file

@ -22,6 +22,7 @@ LINUX_DISTROS = [
"opensuse-tumbleweed",
"oraclelinux-7",
"oraclelinux-8",
"rockylinux-8",
"ubuntu-1804",
"ubuntu-2004",
"ubuntu-2104",
@ -59,6 +60,7 @@ PY2_BLACKLIST = [
"opensuse-15",
"opensuse-tumbleweed",
"oraclelinux-8",
"rockylinux-8",
"ubuntu-2004",
"ubuntu-2104",
]
@ -69,12 +71,14 @@ BLACKLIST_3000 = [
"fedora-34",
"fedora-35",
"opensuse-tumbleweed",
"rockylinux-8",
"ubuntu-2004",
"ubuntu-2104",
]
BLACKLIST_3001 = [
"debian-11",
"rockylinux-8",
"ubuntu-2104",
]
@ -82,6 +86,7 @@ BLACKLIST_3001_0 = [
"debian-11",
"gentoo",
"gentoo-systemd",
"rockylinux-8",
"ubuntu-2104",
]
@ -89,6 +94,7 @@ BLACKLIST_3002_0 = [
"debian-11",
"gentoo",
"gentoo-systemd",
"rockylinux-8",
"ubuntu-2104",
]
@ -133,6 +139,7 @@ DISTRO_DISPLAY_NAMES = {
"opensuse-tumbleweed": "Opensuse Tumbleweed",
"oraclelinux-7": "Oracle Linux 7",
"oraclelinux-8": "Oracle Linux 8",
"rockylinux-8": "Rocky Linux 8",
"ubuntu-1804": "Ubuntu 18.04",
"ubuntu-2004": "Ubuntu 20.04",
"ubuntu-2104": "Ubuntu 21.04",

View file

@ -119,6 +119,10 @@ platforms:
- name: oraclelinux-7
driver_config:
run_command: /usr/lib/systemd/systemd
- name: rockylinux-8
driver_config:
image: rockylinux/rockylinux
run_command: /usr/lib/systemd/systemd
- name: ubuntu-21.04
driver_config:
run_command: /lib/systemd/systemd