blob: 615445cfaad8bfa7e4ef61e1cf29716f4a8e42d4 [file] [log] [blame]
Martin Polreich8470e8e2018-06-21 15:30:28 +02001language: python
2python:
3- "2.7.13"
Martin Polreich5d448b92017-03-30 11:29:47 +02004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreich90e1dc32018-11-07 14:44:04 +010012 if [ ! -e Gemfile ]; then
13 curl -s -o ./Gemfile 'https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas/salt-formulas-scripts.git;a=blob_plain;f=Gemfile;hb=refs/heads/master'
14 fi
Martin Polreich5d448b92017-03-30 11:29:47 +020015 - bundle install
16
17env:
Martin Polreichc7c5cbf2018-11-20 15:09:32 +010018 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=horizon-no-ssl
19 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=horizon-with-ssl
20 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=proxy
21 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=proxy-rate-limit
22 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=redirect
23 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=static
24 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=stats
25 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=proxy-with-ssl
26 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=horizon-no-ssl
27 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=horizon-with-ssl
28 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=proxy
29 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=proxy-rate-limit
30 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=redirect
31 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=static
32 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=stats
33 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=proxy-with-ssl
34 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=horizon-no-ssl
35 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=horizon-with-ssl
36 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=proxy
37 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=proxy-rate-limit
38 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=redirect
39 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=static
40 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=stats
41 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=proxy-with-ssl
Martin Polreich5d448b92017-03-30 11:29:47 +020042
43before_script:
44 - set -o pipefail
45 - make test | tail
46
47script:
Martin Polreicha122a3e2018-01-05 13:26:47 +010048 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
49 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich5d448b92017-03-30 11:29:47 +020050
51notifications:
52 webhooks:
53 urls:
54 - https://webhooks.gitter.im/e/6123573504759330786b
55 on_success: change # options: [always|never|change] default: always
56 on_failure: never # options: [always|never|change] default: always
57 on_start: never # options: [always|never|change] default: always
58 on_cancel: never # options: [always|never|change] default: always
59 on_error: never # options: [always|never|change] default: always
60 email: false