Petr Michalec | 520a2a1 | 2017-03-13 08:47:43 +0100 | [diff] [blame] | 1 | sudo: required |
| 2 | services: |
| 3 | - docker |
| 4 | |
| 5 | install: |
| 6 | - pip install PyYAML |
| 7 | - pip install virtualenv |
| 8 | - | |
| 9 | test -e Gemfile || cat <<EOF > Gemfile |
| 10 | source 'https://rubygems.org' |
| 11 | gem 'rake' |
| 12 | gem 'test-kitchen' |
| 13 | gem 'kitchen-docker' |
| 14 | gem 'kitchen-inspec' |
| 15 | gem 'inspec' |
| 16 | gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git' |
| 17 | - bundle install |
| 18 | |
| 19 | env: |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 20 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-dpdk |
| 21 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-dpdk |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 22 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-dpdk |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 23 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-dvr |
| 24 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-dvr |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 25 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-dvr |
| 26 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-dvr-fwaas-v1 |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 27 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-dvr-fwaas-v1 |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 28 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-dvr-fwaas-v1 |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 29 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-legacy |
| 30 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-legacy |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 31 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-legacy |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 32 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-nonexternal-dvr |
| 33 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-nonexternal-dvr |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 34 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-nonexternal-dvr |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 35 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-sriov |
| 36 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-sriov |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 37 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-sriov |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 38 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-qos-sriov |
| 39 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-qos-sriov |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 40 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-qos-sriov |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 41 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-qos |
| 42 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-qos |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 43 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-qos |
| 44 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=compute-ovn |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 45 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=compute-ovn |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 46 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=compute-ovn |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 47 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-cluster |
| 48 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-cluster |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 49 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-cluster |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 50 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-dvr |
| 51 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-dvr |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 52 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-dvr |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 53 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-nodvr |
| 54 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-nodvr |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 55 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-nodvr |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 56 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-single |
| 57 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-single |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 58 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-single |
| 59 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-lbaas-octavia |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 60 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-lbaas-octavia |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 61 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-lbaas-octavia |
| 62 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-fwaas-v1 |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 63 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-fwaas-v1 |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 64 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-fwaas-v1 |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 65 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-qos |
| 66 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-qos |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 67 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-qos |
| 68 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-ovn |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 69 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-ovn |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 70 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-ovn |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 71 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=control-dns |
| 72 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=control-dns |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 73 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=control-dns |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 74 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=gateway-dvr |
| 75 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=gateway-dvr |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 76 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=gateway-dvr |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 77 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=gateway-legacy |
| 78 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=gateway-legacy |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 79 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=gateway-legacy |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 80 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=gateway-qos |
| 81 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=gateway-qos |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 82 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=gateway-qos |
| 83 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=gateway-legacy-fwaas-v1 |
Jakub Josef | 2b7daf1 | 2018-02-20 12:17:46 +0100 | [diff] [blame] | 84 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=gateway-legacy-fwaas-v1 |
Jakub Josef | 6c5fb4e | 2018-02-20 13:28:57 +0100 | [diff] [blame] | 85 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=gateway-legacy-fwaas-v1 |
Petr Michalec | 520a2a1 | 2017-03-13 08:47:43 +0100 | [diff] [blame] | 86 | |
| 87 | before_script: |
| 88 | - set -o pipefail |
| 89 | - make test | tail |
| 90 | |
| 91 | script: |
Martin Polreich | cb1e80c | 2018-01-05 13:26:12 +0100 | [diff] [blame] | 92 | - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true |
| 93 | - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration |
Petr Michalec | 520a2a1 | 2017-03-13 08:47:43 +0100 | [diff] [blame] | 94 | |
| 95 | notifications: |
| 96 | webhooks: |
| 97 | urls: |
| 98 | - https://webhooks.gitter.im/e/6123573504759330786b |
| 99 | on_success: change # options: [always|never|change] default: always |
| 100 | on_failure: never # options: [always|never|change] default: always |
| 101 | on_start: never # options: [always|never|change] default: always |
| 102 | on_cancel: never # options: [always|never|change] default: always |
| 103 | on_error: never # options: [always|never|change] default: always |
| 104 | email: false |