ci(oraclelinux): add CI for Oracle Linux 7

This commit is contained in:
Imran Iqbal 2021-02-13 13:41:20 +00:00 committed by Pedro Algarvio
parent 5e7442b37e
commit 478b28bb3a
3 changed files with 466 additions and 0 deletions

View file

@ -3448,6 +3448,466 @@ jobs:
bundle exec kitchen destroy latest-opensuse-tumbleweed
py3-stable-3000-oraclelinux-7:
name: Oracle Linux 7 v3000 Py3 Stable
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-stable-3000-oraclelinux-7 || bundle exec kitchen create py3-stable-3000-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-stable-3000-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-stable-3000-oraclelinux-7
py3-git-3000-oraclelinux-7:
name: Oracle Linux 7 v3000 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-3000-oraclelinux-7 || bundle exec kitchen create py3-git-3000-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-3000-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-3000-oraclelinux-7
py3-stable-3001-oraclelinux-7:
name: Oracle Linux 7 v3001 Py3 Stable
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-stable-3001-oraclelinux-7 || bundle exec kitchen create py3-stable-3001-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-stable-3001-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-stable-3001-oraclelinux-7
py3-git-3001-oraclelinux-7:
name: Oracle Linux 7 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-oraclelinux-7 || bundle exec kitchen create py3-git-3001-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-3001-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-3001-oraclelinux-7
py3-stable-3001-0-oraclelinux-7:
name: Oracle Linux 7 v3001.0 Py3 Stable
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-stable-3001-0-oraclelinux-7 || bundle exec kitchen create py3-stable-3001-0-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-stable-3001-0-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-stable-3001-0-oraclelinux-7
py3-stable-3002-oraclelinux-7:
name: Oracle Linux 7 v3002 Py3 Stable
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-stable-3002-oraclelinux-7 || bundle exec kitchen create py3-stable-3002-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-stable-3002-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-stable-3002-oraclelinux-7
py3-git-3002-oraclelinux-7:
name: Oracle Linux 7 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-oraclelinux-7 || bundle exec kitchen create py3-git-3002-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-3002-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-3002-oraclelinux-7
py3-stable-3002-0-oraclelinux-7:
name: Oracle Linux 7 v3002.0 Py3 Stable
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-stable-3002-0-oraclelinux-7 || bundle exec kitchen create py3-stable-3002-0-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-stable-3002-0-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-stable-3002-0-oraclelinux-7
py3-git-master-oraclelinux-7:
name: Oracle Linux 7 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-oraclelinux-7 || bundle exec kitchen create py3-git-master-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify py3-git-master-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy py3-git-master-oraclelinux-7
latest-oraclelinux-7:
name: Oracle Linux 7 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-oraclelinux-7 || bundle exec kitchen create latest-oraclelinux-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-oraclelinux-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-oraclelinux-7
py3-stable-3000-ubuntu-1604:
name: Ubuntu 16.04 v3000 Py3 Stable
runs-on: ubuntu-latest

View file

@ -19,6 +19,7 @@ LINUX_DISTROS = [
"gentoo-systemd",
"opensuse-15",
"opensuse-tumbleweed",
"oraclelinux-7",
"ubuntu-1604",
"ubuntu-1804",
"ubuntu-2004",
@ -36,6 +37,7 @@ STABLE_DISTROS = [
"fedora-33",
"gentoo",
"gentoo-systemd",
"oraclelinux-7",
"ubuntu-1604",
"ubuntu-1804",
"ubuntu-2004",
@ -117,6 +119,7 @@ DISTRO_DISPLAY_NAMES = {
"gentoo-systemd": "Gentoo (systemd)",
"opensuse-15": "Opensuse 15",
"opensuse-tumbleweed": "Opensuse Tumbleweed",
"oraclelinux-7": "Oracle Linux 7",
"ubuntu-1604": "Ubuntu 16.04",
"ubuntu-1804": "Ubuntu 18.04",
"ubuntu-2004": "Ubuntu 20.04",

View file

@ -105,6 +105,9 @@ platforms:
- systemctl enable sshd.service
provisioner:
salt_bootstrap_options: -MPfq -y -x python3 git %s
- name: oraclelinux-7
driver_config:
run_command: /usr/lib/systemd/systemd
- name: ubuntu-20.04
driver_config:
run_command: /lib/systemd/systemd