blob: 8e3a743bc4388df462af5278f3ac74e558bf10be [file] [log] [blame]
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +01001---
2driver:
3 name: openstack
4 openstack_username: <%= ENV['OS_USERNAME'] %>
5 openstack_api_key: <%= ENV['OS_PASSWORD'] %>
6 openstack_auth_url: <%= ENV['OS_AUTH_URL'] %>
7 openstack_domain_name: <%= ENV['OS_DOMAIN_NAME'] %>
8 openstack_project_name: <%= ENV['OS_PROJECT_NAME'] %>
Martin Polreicha3eacc42018-11-07 10:58:57 +01009 openstack_identity_api_version: 3
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010010 availability_zone: <%= ENV['OS_AZ'] || 'nova' %>
11 openstack_network_name: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %>
12 security_groups:
13 - kitchen
Martin Polreich74aa2192019-02-19 14:01:21 +010014 network_id: <%= ENV['OS_INTERNAL_NETWORK_ID'] || '2bf901d4-c58c-4916-a49e-49fc3c265510' %>
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010015 user_data: user_data.sh
16 require_chef_omnibus: false
17 floating_ip_pool: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %>
Dzmitry Stremkouskia5871a62018-11-07 23:04:36 +010018 allocate_floating_ip: true
Martin Polreich74aa2192019-02-19 14:01:21 +010019 flavor_id: <%= ENV['OS_FLAVOR_ID'] || '13f2c9bc-1f97-441c-96f1-caba1a82b734' %>
Martin Polreicha3eacc42018-11-07 10:58:57 +010020 read_timeout: 720
21 write_timeout: 720
22 connect_timeout: 360
Martin Polreich74aa2192019-02-19 14:01:21 +010023 mcp_ruby_version: '2.5.0'
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010024
25transport:
26 username: kitchen
27 password: kitchen
28 connection_timeout: 10
Dzmitry Stremkouskia5871a62018-11-07 23:04:36 +010029 connection_retries: 60
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010030
Martin Polreich74aa2192019-02-19 14:01:21 +010031salt_config: &salt_config
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010032 salt_install: bootstrap
33 salt_bootstrap_url: https://bootstrap.saltstack.com
Martin Polreich74aa2192019-02-19 14:01:21 +010034
35provisioner:
36 name: salt_solo
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010037 require_chef: false
Martin Polreicha3eacc42018-11-07 10:58:57 +010038 log_level: info
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010039 formula: iptables
40 state_top:
41 base:
42 "*":
43 - iptables
44 pillars:
45 top.sls:
46 base:
47 "*":
48 - iptables
49
50verifier:
51 name: inspec
52 sudo: true
53
54platforms:
Martin Polreich74aa2192019-02-19 14:01:21 +010055<% for salt_version in ['2017.7.6', '2018.3.3'] %>
56 - name: saltstack-ubuntu-xenial-salt-<%=salt_version.gsub(".","_")%>
57 driver:
58 image_id: 'a64f6d20-167d-4b67-9dd6-bbfc5f7e1859'
59 server_name: iptables-ubuntu-16_04-salt-<%=salt_version.gsub(".","_")%>
60 provisioner:
61 <<: *salt_config
62 salt_version: <%=salt_version%>
63 salt_apt_repo_key: https://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub
64 salt_apt_repo: https://repo.saltstack.com/apt/ubuntu/16.04/amd64/
65 - name: saltstack-ubuntu-bionic-salt-<%=salt_version.gsub(".","_")%>
66 driver:
67 image_id: '0c681b14-0034-447b-9379-75fad4d6fa56'
68 server_name: iptables-ubuntu-18_04-salt-<%=salt_version.gsub(".","_")%>
69 provisioner:
70 <<: *salt_config
71 salt_version: <%=salt_version%>
72 salt_apt_repo_key: https://repo.saltstack.com/apt/ubuntu/18.04/amd64/latest/SALTSTACK-GPG-KEY.pub
73 salt_apt_repo: https://repo.saltstack.com/apt/ubuntu/18.04/amd64/
74<% end %>
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010075
76suites:
77 - name: iptables
78 provisioner:
79 pillars-from-files:
80 iptables.sls: tests/pillar/iptables.sls