Also try to install the latest available package

This commit is contained in:
Pedro Algarvio 2020-01-28 16:49:20 +00:00
parent b3b70c1561
commit 3f2b8b46e4
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
4 changed files with 508 additions and 64 deletions

View file

@ -40,7 +40,7 @@ jobs:
shellcheck -s sh -f checkstyle bootstrap-salt.sh
amazon-2-2019-2-py2-stable:
py2-stable-2019-2-amazon-2:
name: Amazon 2 2019.2 Py2 Stable
runs-on: ubuntu-latest
@ -85,7 +85,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2019-2-amazon-2
amazon-2-2019-2-py2-git:
py2-git-2019-2-amazon-2:
name: Amazon 2 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -130,7 +130,7 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-amazon-2
amazon-2-2019-2-py3-stable:
py3-stable-2019-2-amazon-2:
name: Amazon 2 2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -175,7 +175,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2019-2-amazon-2
amazon-2-2019-2-py3-git:
py3-git-2019-2-amazon-2:
name: Amazon 2 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -220,7 +220,52 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-amazon-2
arch-2018-3-py2-git:
latest-amazon-2:
name: Amazon 2 Latest packaged release
runs-on: ubuntu-latest
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-amazon-2 || bundle exec kitchen create latest-amazon-2
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-amazon-2
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-amazon-2
py2-git-2018-3-arch:
name: Arch 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -265,7 +310,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-arch
arch-2018-3-py3-git:
py3-git-2018-3-arch:
name: Arch 2018.3 Py3 Git
runs-on: ubuntu-latest
@ -310,7 +355,7 @@ jobs:
bundle exec kitchen destroy py3-git-2018-3-arch
arch-2019-2-py2-git:
py2-git-2019-2-arch:
name: Arch 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -355,7 +400,7 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-arch
arch-2019-2-py3-git:
py3-git-2019-2-arch:
name: Arch 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -400,7 +445,7 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-arch
centos-6-2018-3-py2-stable:
py2-stable-2018-3-centos-6:
name: CentOS 6 2018.3 Py2 Stable
runs-on: ubuntu-latest
@ -445,7 +490,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2018-3-centos-6
centos-6-2018-3-py2-git:
py2-git-2018-3-centos-6:
name: CentOS 6 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -490,7 +535,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-centos-6
centos-6-2019-2-py2-stable:
py2-stable-2019-2-centos-6:
name: CentOS 6 2019.2 Py2 Stable
runs-on: ubuntu-latest
@ -535,7 +580,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2019-2-centos-6
centos-6-2019-2-py2-git:
py2-git-2019-2-centos-6:
name: CentOS 6 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -580,7 +625,52 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-centos-6
centos-7-2018-3-py2-stable:
latest-centos-6:
name: CentOS 6 Latest packaged release
runs-on: ubuntu-latest
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-centos-6 || bundle exec kitchen create latest-centos-6
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-centos-6
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-centos-6
py2-stable-2018-3-centos-7:
name: CentOS 7 2018.3 Py2 Stable
runs-on: ubuntu-latest
@ -625,7 +715,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2018-3-centos-7
centos-7-2018-3-py2-git:
py2-git-2018-3-centos-7:
name: CentOS 7 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -670,7 +760,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-centos-7
centos-7-2018-3-py3-stable:
py3-stable-2018-3-centos-7:
name: CentOS 7 2018.3 Py3 Stable
runs-on: ubuntu-latest
@ -715,7 +805,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2018-3-centos-7
centos-7-2018-3-py3-git:
py3-git-2018-3-centos-7:
name: CentOS 7 2018.3 Py3 Git
runs-on: ubuntu-latest
@ -760,7 +850,7 @@ jobs:
bundle exec kitchen destroy py3-git-2018-3-centos-7
centos-7-2019-2-py2-stable:
py2-stable-2019-2-centos-7:
name: CentOS 7 2019.2 Py2 Stable
runs-on: ubuntu-latest
@ -805,7 +895,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2019-2-centos-7
centos-7-2019-2-py2-git:
py2-git-2019-2-centos-7:
name: CentOS 7 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -850,7 +940,7 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-centos-7
centos-7-2019-2-py3-stable:
py3-stable-2019-2-centos-7:
name: CentOS 7 2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -895,7 +985,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2019-2-centos-7
centos-7-2019-2-py3-git:
py3-git-2019-2-centos-7:
name: CentOS 7 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -940,7 +1030,52 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-centos-7
centos-8-2019-2-py3-stable:
latest-centos-7:
name: CentOS 7 Latest packaged release
runs-on: ubuntu-latest
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-centos-7 || bundle exec kitchen create latest-centos-7
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-centos-7
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-centos-7
py3-stable-2019-2-centos-8:
name: CentOS 8 2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -985,7 +1120,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2019-2-centos-8
centos-8-2019-2-py3-git:
py3-git-2019-2-centos-8:
name: CentOS 8 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -1030,7 +1165,7 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-centos-8
debian-10-2019-2-py3-stable:
py3-stable-2019-2-debian-10:
name: Debian 10 2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -1075,7 +1210,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2019-2-debian-10
debian-10-2019-2-py3-git:
py3-git-2019-2-debian-10:
name: Debian 10 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -1120,7 +1255,7 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-debian-10
debian-8-2018-3-py2-stable:
py2-stable-2018-3-debian-8:
name: Debian 8 2018.3 Py2 Stable
runs-on: ubuntu-latest
@ -1165,7 +1300,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2018-3-debian-8
debian-8-2018-3-py2-git:
py2-git-2018-3-debian-8:
name: Debian 8 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -1210,7 +1345,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-debian-8
debian-8-2019-2-py2-stable:
py2-stable-2019-2-debian-8:
name: Debian 8 2019.2 Py2 Stable
runs-on: ubuntu-latest
@ -1255,7 +1390,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2019-2-debian-8
debian-8-2019-2-py2-git:
py2-git-2019-2-debian-8:
name: Debian 8 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -1300,7 +1435,52 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-debian-8
debian-9-2018-3-py2-stable:
latest-debian-8:
name: Debian 8 Latest packaged release
runs-on: ubuntu-latest
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-debian-8 || bundle exec kitchen create latest-debian-8
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-debian-8
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-debian-8
py2-stable-2018-3-debian-9:
name: Debian 9 2018.3 Py2 Stable
runs-on: ubuntu-latest
@ -1345,7 +1525,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2018-3-debian-9
debian-9-2018-3-py2-git:
py2-git-2018-3-debian-9:
name: Debian 9 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -1390,7 +1570,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-debian-9
debian-9-2018-3-py3-stable:
py3-stable-2018-3-debian-9:
name: Debian 9 2018.3 Py3 Stable
runs-on: ubuntu-latest
@ -1435,7 +1615,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2018-3-debian-9
debian-9-2018-3-py3-git:
py3-git-2018-3-debian-9:
name: Debian 9 2018.3 Py3 Git
runs-on: ubuntu-latest
@ -1480,7 +1660,7 @@ jobs:
bundle exec kitchen destroy py3-git-2018-3-debian-9
debian-9-2019-2-py2-stable:
py2-stable-2019-2-debian-9:
name: Debian 9 2019.2 Py2 Stable
runs-on: ubuntu-latest
@ -1525,7 +1705,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2019-2-debian-9
debian-9-2019-2-py2-git:
py2-git-2019-2-debian-9:
name: Debian 9 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -1570,7 +1750,7 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-debian-9
debian-9-2019-2-py3-stable:
py3-stable-2019-2-debian-9:
name: Debian 9 2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -1615,7 +1795,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2019-2-debian-9
debian-9-2019-2-py3-git:
py3-git-2019-2-debian-9:
name: Debian 9 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -1660,7 +1840,52 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-debian-9
fedora-30-2018-3-py2-stable:
latest-debian-9:
name: Debian 9 Latest packaged release
runs-on: ubuntu-latest
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-debian-9 || bundle exec kitchen create latest-debian-9
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-debian-9
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-debian-9
py2-stable-2018-3-fedora-30:
name: Fedora 30 2018.3 Py2 Stable
runs-on: ubuntu-latest
@ -1705,7 +1930,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2018-3-fedora-30
fedora-30-2018-3-py2-git:
py2-git-2018-3-fedora-30:
name: Fedora 30 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -1750,7 +1975,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-fedora-30
fedora-30-2018-3-py3-stable:
py3-stable-2018-3-fedora-30:
name: Fedora 30 2018.3 Py3 Stable
runs-on: ubuntu-latest
@ -1795,7 +2020,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2018-3-fedora-30
fedora-30-2018-3-py3-git:
py3-git-2018-3-fedora-30:
name: Fedora 30 2018.3 Py3 Git
runs-on: ubuntu-latest
@ -1840,7 +2065,7 @@ jobs:
bundle exec kitchen destroy py3-git-2018-3-fedora-30
fedora-30-2019-2-py2-stable:
py2-stable-2019-2-fedora-30:
name: Fedora 30 2019.2 Py2 Stable
runs-on: ubuntu-latest
@ -1885,7 +2110,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2019-2-fedora-30
fedora-30-2019-2-py2-git:
py2-git-2019-2-fedora-30:
name: Fedora 30 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -1930,7 +2155,7 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-fedora-30
fedora-30-2019-2-py3-stable:
py3-stable-2019-2-fedora-30:
name: Fedora 30 2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -1975,7 +2200,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2019-2-fedora-30
fedora-30-2019-2-py3-git:
py3-git-2019-2-fedora-30:
name: Fedora 30 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -2020,7 +2245,52 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-fedora-30
opensuse-15-2018-3-py2-git:
latest-fedora-30:
name: Fedora 30 Latest packaged release
runs-on: ubuntu-latest
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-30 || bundle exec kitchen create latest-fedora-30
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-fedora-30
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-fedora-30
py2-git-2018-3-opensuse-15:
name: Opensuse 15 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -2065,7 +2335,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-opensuse-15
opensuse-15-2019-2-py2-git:
py2-git-2019-2-opensuse-15:
name: Opensuse 15 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -2110,7 +2380,52 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-opensuse-15
ubuntu-1604-2018-3-py2-stable:
latest-opensuse-15:
name: Opensuse 15 Latest packaged release
runs-on: ubuntu-latest
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-opensuse-15 || bundle exec kitchen create latest-opensuse-15
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-opensuse-15
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-opensuse-15
py2-stable-2018-3-ubuntu-1604:
name: Ubuntu 16.04 2018.3 Py2 Stable
runs-on: ubuntu-latest
@ -2155,7 +2470,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2018-3-ubuntu-1604
ubuntu-1604-2018-3-py2-git:
py2-git-2018-3-ubuntu-1604:
name: Ubuntu 16.04 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -2200,7 +2515,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-ubuntu-1604
ubuntu-1604-2018-3-py3-stable:
py3-stable-2018-3-ubuntu-1604:
name: Ubuntu 16.04 2018.3 Py3 Stable
runs-on: ubuntu-latest
@ -2245,7 +2560,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2018-3-ubuntu-1604
ubuntu-1604-2018-3-py3-git:
py3-git-2018-3-ubuntu-1604:
name: Ubuntu 16.04 2018.3 Py3 Git
runs-on: ubuntu-latest
@ -2290,7 +2605,7 @@ jobs:
bundle exec kitchen destroy py3-git-2018-3-ubuntu-1604
ubuntu-1604-2019-2-py2-stable:
py2-stable-2019-2-ubuntu-1604:
name: Ubuntu 16.04 2019.2 Py2 Stable
runs-on: ubuntu-latest
@ -2335,7 +2650,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2019-2-ubuntu-1604
ubuntu-1604-2019-2-py2-git:
py2-git-2019-2-ubuntu-1604:
name: Ubuntu 16.04 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -2380,7 +2695,7 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-ubuntu-1604
ubuntu-1604-2019-2-py3-stable:
py3-stable-2019-2-ubuntu-1604:
name: Ubuntu 16.04 2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -2425,7 +2740,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2019-2-ubuntu-1604
ubuntu-1604-2019-2-py3-git:
py3-git-2019-2-ubuntu-1604:
name: Ubuntu 16.04 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -2470,7 +2785,52 @@ jobs:
bundle exec kitchen destroy py3-git-2019-2-ubuntu-1604
ubuntu-1804-2018-3-py2-stable:
latest-ubuntu-1604:
name: Ubuntu 16.04 Latest packaged release
runs-on: ubuntu-latest
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-ubuntu-1604 || bundle exec kitchen create latest-ubuntu-1604
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-ubuntu-1604
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-ubuntu-1604
py2-stable-2018-3-ubuntu-1804:
name: Ubuntu 18.04 2018.3 Py2 Stable
runs-on: ubuntu-latest
@ -2515,7 +2875,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2018-3-ubuntu-1804
ubuntu-1804-2018-3-py2-git:
py2-git-2018-3-ubuntu-1804:
name: Ubuntu 18.04 2018.3 Py2 Git
runs-on: ubuntu-latest
@ -2560,7 +2920,7 @@ jobs:
bundle exec kitchen destroy py2-git-2018-3-ubuntu-1804
ubuntu-1804-2018-3-py3-stable:
py3-stable-2018-3-ubuntu-1804:
name: Ubuntu 18.04 2018.3 Py3 Stable
runs-on: ubuntu-latest
@ -2605,7 +2965,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2018-3-ubuntu-1804
ubuntu-1804-2018-3-py3-git:
py3-git-2018-3-ubuntu-1804:
name: Ubuntu 18.04 2018.3 Py3 Git
runs-on: ubuntu-latest
@ -2650,7 +3010,7 @@ jobs:
bundle exec kitchen destroy py3-git-2018-3-ubuntu-1804
ubuntu-1804-2019-2-py2-stable:
py2-stable-2019-2-ubuntu-1804:
name: Ubuntu 18.04 2019.2 Py2 Stable
runs-on: ubuntu-latest
@ -2695,7 +3055,7 @@ jobs:
bundle exec kitchen destroy py2-stable-2019-2-ubuntu-1804
ubuntu-1804-2019-2-py2-git:
py2-git-2019-2-ubuntu-1804:
name: Ubuntu 18.04 2019.2 Py2 Git
runs-on: ubuntu-latest
@ -2740,7 +3100,7 @@ jobs:
bundle exec kitchen destroy py2-git-2019-2-ubuntu-1804
ubuntu-1804-2019-2-py3-stable:
py3-stable-2019-2-ubuntu-1804:
name: Ubuntu 18.04 2019.2 Py3 Stable
runs-on: ubuntu-latest
@ -2785,7 +3145,7 @@ jobs:
bundle exec kitchen destroy py3-stable-2019-2-ubuntu-1804
ubuntu-1804-2019-2-py3-git:
py3-git-2019-2-ubuntu-1804:
name: Ubuntu 18.04 2019.2 Py3 Git
runs-on: ubuntu-latest
@ -2828,3 +3188,48 @@ jobs:
if: always()
run: |
bundle exec kitchen destroy py3-git-2019-2-ubuntu-1804
latest-ubuntu-1804:
name: Ubuntu 18.04 Latest packaged release
runs-on: ubuntu-latest
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-ubuntu-1804 || bundle exec kitchen create latest-ubuntu-1804
- name: Test Bootstrap In Test Container
run: |
bundle exec kitchen verify latest-ubuntu-1804
- name: Destroy Test Container
if: always()
run: |
bundle exec kitchen destroy latest-ubuntu-1804

View file

@ -60,6 +60,13 @@ BLACKLIST_2018 = [
SALT_BRANCHES = [
'2018-3',
'2019-2',
'latest'
]
LATEST_BLACKLIST = [
'arch', # No packages are built
'centos-8', # Once Neon is out, this can be removed from here
'debian-10' # Once Neon is out, this can be removed from here
]
DISTRO_DISPLAY_NAMES = {
@ -85,6 +92,32 @@ def generate_test_jobs():
for distro in LINUX_DISTROS + OSX + WINDOWS:
for branch in SALT_BRANCHES:
if branch == 'latest':
if distro in LATEST_BLACKLIST:
continue
if distro in LINUX_DISTROS:
template = 'linux.yml'
elif distro in OSX:
template = 'osx.yml'
elif distro in WINDOWS:
template = 'windows.yml'
else:
print("Don't know how to handle {}".format(distro))
with open(template) as rfh:
test_jobs += '\n{}\n'.format(
rfh.read().replace(
'{python_version}-{bootstrap_type}-{branch}-{distro}',
'{branch}-{distro}'
).format(
distro=distro,
branch=branch,
display_name='{} Latest packaged release'.format(
DISTRO_DISPLAY_NAMES[distro],
)
)
)
continue
for python_version in ('py2', 'py3'):
for bootstrap_type in ('stable', 'git'):
if bootstrap_type == 'stable' and distro not in STABLE_DISTROS:
@ -124,7 +157,6 @@ def generate_test_jobs():
)
)
with open('lint.yml') as rfh:
lint_job = '\n{}\n'.format(rfh.read())

View file

@ -1,4 +1,4 @@
{distro}-{branch}-{python_version}-{bootstrap_type}:
{python_version}-{bootstrap_type}-{branch}-{distro}:
name: {display_name}
runs-on: ubuntu-latest

View file

@ -162,6 +162,13 @@ suites:
- opensuse-15
- arch
- name: latest
provisioner:
salt_version: latest
salt_bootstrap_options: -MP stable %s
excludes:
- arch
verifier:
name: shell
remote_exec: false