Martin Polreich | 5d448b9 | 2017-03-30 11:29:47 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: nginx.ci.local |
| 5 | use_sudo: false |
| 6 | |
| 7 | provisioner: |
| 8 | name: salt_solo |
| 9 | salt_install: bootstrap |
| 10 | salt_bootstrap_url: https://bootstrap.saltstack.com |
| 11 | salt_version: latest |
| 12 | require_chef: false |
| 13 | log_level: error |
| 14 | formula: nginx |
| 15 | grains: |
| 16 | noservices: True |
Petr Michalec | 931c5e3 | 2017-05-03 10:26:20 +0200 | [diff] [blame] | 17 | dependencies: |
| 18 | - name: horizon |
| 19 | repo: git |
| 20 | source: https://github.com/salt-formulas/salt-formula-horizon |
Martin Polreich | 5d448b9 | 2017-03-30 11:29:47 +0200 | [diff] [blame] | 21 | state_top: |
| 22 | base: |
| 23 | "*": |
| 24 | - nginx |
| 25 | pillars: |
| 26 | top.sls: |
| 27 | base: |
| 28 | "*": |
| 29 | - nginx |
| 30 | |
| 31 | verifier: |
| 32 | name: inspec |
| 33 | sudo: true |
| 34 | |
| 35 | platforms: |
| 36 | - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%> |
| 37 | driver_config: |
| 38 | image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%> |
| 39 | platform: ubuntu |
| 40 | |
| 41 | suites: |
| 42 | |
| 43 | - name: horizon_no_ssl |
| 44 | provisioner: |
| 45 | pillars-from-files: |
| 46 | nginx.sls: tests/pillar/horizon_no_ssl.sls |
| 47 | |
| 48 | - name: horizon_with_ssl |
| 49 | provisioner: |
| 50 | pillars-from-files: |
| 51 | nginx.sls: tests/pillar/horizon_with_ssl.sls |
| 52 | |
| 53 | - name: proxy |
| 54 | provisioner: |
| 55 | pillars-from-files: |
| 56 | nginx.sls: tests/pillar/proxy.sls |
| 57 | |
| 58 | - name: redirect |
| 59 | provisioner: |
| 60 | pillars-from-files: |
| 61 | nginx.sls: tests/pillar/redirect.sls |
| 62 | |
| 63 | - name: static |
| 64 | provisioner: |
| 65 | pillars-from-files: |
| 66 | nginx.sls: tests/pillar/static.sls |
| 67 | |
| 68 | - name: stats |
| 69 | provisioner: |
| 70 | pillars-from-files: |
| 71 | nginx.sls: tests/pillar/stats.sls |
| 72 | # vim: ft=yaml sw=2 ts=2 sts=2 tw=125 |