From 78a1458c21b22e2168157e103f72d6aebab662bf Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Sat, 26 Feb 2022 09:41:35 +0000 Subject: [PATCH] ci(rockylinux): add `3004` testing (`stable` and `git`) --- .github/workflows/main.yml | 138 ++++++++++++++++++++++++ .github/workflows/templates/generate.py | 3 +- 2 files changed, 139 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 344bdf0..cf325f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5748,6 +5748,144 @@ jobs: bundle exec kitchen destroy latest-oraclelinux-8 + py3-stable-3004-rockylinux-8: + name: Rocky Linux 8 v3004 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-3004-rockylinux-8 || bundle exec kitchen create py3-stable-3004-rockylinux-8 + + - name: Test Bootstrap In Test Container + run: | + bundle exec kitchen verify py3-stable-3004-rockylinux-8 + + - name: Destroy Test Container + if: always() + run: | + bundle exec kitchen destroy py3-stable-3004-rockylinux-8 + + + py3-git-3004-rockylinux-8: + name: Rocky Linux 8 v3004 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-3004-rockylinux-8 || bundle exec kitchen create py3-git-3004-rockylinux-8 + + - name: Test Bootstrap In Test Container + run: | + bundle exec kitchen verify py3-git-3004-rockylinux-8 + + - name: Destroy Test Container + if: always() + run: | + bundle exec kitchen destroy py3-git-3004-rockylinux-8 + + + py3-stable-3004-0-rockylinux-8: + name: Rocky Linux 8 v3004.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-3004-0-rockylinux-8 || bundle exec kitchen create py3-stable-3004-0-rockylinux-8 + + - name: Test Bootstrap In Test Container + run: | + bundle exec kitchen verify py3-stable-3004-0-rockylinux-8 + + - name: Destroy Test Container + if: always() + run: | + bundle exec kitchen destroy py3-stable-3004-0-rockylinux-8 + + py3-git-master-rockylinux-8: name: Rocky Linux 8 Master Py3 Git runs-on: ubuntu-latest diff --git a/.github/workflows/templates/generate.py b/.github/workflows/templates/generate.py index 6648b9f..ac619e5 100755 --- a/.github/workflows/templates/generate.py +++ b/.github/workflows/templates/generate.py @@ -48,6 +48,7 @@ STABLE_DISTROS = [ "gentoo-systemd", "oraclelinux-7", "oraclelinux-8", + "rockylinux-8", "ubuntu-1604", "ubuntu-1804", "ubuntu-2004", @@ -88,7 +89,6 @@ BLACKLIST_3003_0 = [ ] BLACKLIST_3004 = [ - "rockylinux-8", "ubuntu-1604", "arch", ] @@ -97,7 +97,6 @@ BLACKLIST_3004_0 = [ "amazon-2", "gentoo", "gentoo-systemd", - "rockylinux-8", "ubuntu-1604", "arch", ]