mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Do not run 2018.3 stable tests for deb10/cent8
This commit is contained in:
parent
a08294b657
commit
cef90c40f6
2 changed files with 13 additions and 30 deletions
|
@ -66,6 +66,11 @@ local py2_blacklist = [
|
|||
'debian-10',
|
||||
];
|
||||
|
||||
local blacklist_2018 = [
|
||||
'centos-8',
|
||||
'debian-10',
|
||||
];
|
||||
|
||||
local Shellcheck() = {
|
||||
kind: 'pipeline',
|
||||
name: 'Lint',
|
||||
|
@ -95,7 +100,11 @@ local Build(distro) = {
|
|||
else if std.count(stable_distros, distro.slug) > 0 then
|
||||
git_suites + stable_suites
|
||||
else git_suites,
|
||||
local suites = suite + if std.count(py3_distros, distro.slug) > 0 then git_py3_suites + stable_py3_suites else [],
|
||||
local suites = suite + if std.count(blacklist_2018, distro.slug) > 0 then
|
||||
git_py3_suites + stable_py3_suites[1:]
|
||||
else if std.count(py3_distros, distro.slug) > 0 then
|
||||
git_py3_suites + stable_py3_suites
|
||||
else [],
|
||||
|
||||
steps: [
|
||||
{
|
||||
|
|
32
.drone.yml
32
.drone.yml
|
@ -326,7 +326,7 @@ steps:
|
|||
- name: throttle-build
|
||||
image: alpine
|
||||
commands:
|
||||
- sh -c 't=80; echo Sleeping 80 seconds; sleep 80'
|
||||
- sh -c 't=60; echo Sleeping 60 seconds; sleep 60'
|
||||
|
||||
- name: create
|
||||
image: saltstack/drone-salt-bootstrap-testing
|
||||
|
@ -367,19 +367,6 @@ steps:
|
|||
- throttle-build
|
||||
- create
|
||||
|
||||
- name: Py3 2018.3(Stable)
|
||||
image: saltstack/drone-salt-bootstrap-testing
|
||||
commands:
|
||||
- pip install -U pip
|
||||
- pip install -r tests/requirements.txt
|
||||
- bundle install --with docker --without opennebula ec2 windows vagrant
|
||||
- bundle exec kitchen test py3-stable-2018-3-centos-8
|
||||
environment:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
depends_on:
|
||||
- throttle-build
|
||||
- create
|
||||
|
||||
- name: Py3 2019.2(Stable)
|
||||
image: saltstack/drone-salt-bootstrap-testing
|
||||
commands:
|
||||
|
@ -654,7 +641,7 @@ steps:
|
|||
- name: throttle-build
|
||||
image: alpine
|
||||
commands:
|
||||
- sh -c 't=120; echo Sleeping 120 seconds; sleep 120'
|
||||
- sh -c 't=90; echo Sleeping 90 seconds; sleep 90'
|
||||
|
||||
- name: create
|
||||
image: saltstack/drone-salt-bootstrap-testing
|
||||
|
@ -695,19 +682,6 @@ steps:
|
|||
- throttle-build
|
||||
- create
|
||||
|
||||
- name: Py3 2018.3(Stable)
|
||||
image: saltstack/drone-salt-bootstrap-testing
|
||||
commands:
|
||||
- pip install -U pip
|
||||
- pip install -r tests/requirements.txt
|
||||
- bundle install --with docker --without opennebula ec2 windows vagrant
|
||||
- bundle exec kitchen test py3-stable-2018-3-debian-10
|
||||
environment:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
depends_on:
|
||||
- throttle-build
|
||||
- create
|
||||
|
||||
- name: Py3 2019.2(Stable)
|
||||
image: saltstack/drone-salt-bootstrap-testing
|
||||
commands:
|
||||
|
@ -1326,6 +1300,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 5e82d36d8b41c6fd2a9b5e3dd58f3ac5d0bece39053bee5041026a3488e3eb8e
|
||||
hmac: 65ce1b99b73ea3cda568a76e4103c54cb7221387258ecc03ba0df9701b3b888c
|
||||
|
||||
...
|
||||
|
|
Loading…
Add table
Reference in a new issue