From 8318f8071ae4e405440deca870cb3dcb3655731d Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 16 Aug 2021 08:13:08 +0100 Subject: [PATCH] ci(almalinux-8): add testing for `3003` --- .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 4041f7b..1d345a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,6 +44,144 @@ jobs: shellcheck -s sh -f tty bootstrap-salt.sh + py3-stable-3003-almalinux-8: + name: AlmaLinux 8 v3003 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-3003-almalinux-8 || bundle exec kitchen create py3-stable-3003-almalinux-8 + + - name: Test Bootstrap In Test Container + run: | + bundle exec kitchen verify py3-stable-3003-almalinux-8 + + - name: Destroy Test Container + if: always() + run: | + bundle exec kitchen destroy py3-stable-3003-almalinux-8 + + + py3-git-3003-almalinux-8: + name: AlmaLinux 8 v3003 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-3003-almalinux-8 || bundle exec kitchen create py3-git-3003-almalinux-8 + + - name: Test Bootstrap In Test Container + run: | + bundle exec kitchen verify py3-git-3003-almalinux-8 + + - name: Destroy Test Container + if: always() + run: | + bundle exec kitchen destroy py3-git-3003-almalinux-8 + + + py3-stable-3003-0-almalinux-8: + name: AlmaLinux 8 v3003.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-3003-0-almalinux-8 || bundle exec kitchen create py3-stable-3003-0-almalinux-8 + + - name: Test Bootstrap In Test Container + run: | + bundle exec kitchen verify py3-stable-3003-0-almalinux-8 + + - name: Destroy Test Container + if: always() + run: | + bundle exec kitchen destroy py3-stable-3003-0-almalinux-8 + + py3-git-master-almalinux-8: name: AlmaLinux 8 Master Py3 Git runs-on: ubuntu-latest diff --git a/.github/workflows/templates/generate.py b/.github/workflows/templates/generate.py index c7408b9..f0c9f54 100755 --- a/.github/workflows/templates/generate.py +++ b/.github/workflows/templates/generate.py @@ -31,6 +31,7 @@ LINUX_DISTROS = [ OSX = WINDOWS = [] STABLE_DISTROS = [ + "almalinux-8", "amazon-2", "centos-7", "centos-8", @@ -112,12 +113,10 @@ BLACKLIST_3002_0 = [ ] BLACKLIST_3003 = [ - "almalinux-8", "rockylinux-8", ] BLACKLIST_3003_0 = [ - "almalinux-8", "amazon-2", "gentoo", "gentoo-systemd",