| --- |
| driver: |
| name: openstack |
| openstack_username: <%= ENV['OS_USERNAME'] %> |
| openstack_api_key: <%= ENV['OS_PASSWORD'] %> |
| openstack_auth_url: <%= ENV['OS_AUTH_URL'] %> |
| openstack_domain_name: <%= ENV['OS_DOMAIN_NAME'] %> |
| openstack_project_name: <%= ENV['OS_PROJECT_NAME' || 'sre-team'] %> |
| openstack_identity_api_version: 3 |
| availability_zone: <%= ENV['OS_AZ'] || 'nova' %> |
| openstack_network_name: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %> |
| security_groups: |
| - kitchen |
| network_id: <%= ENV['OS_INTERNAL_NETWORK_ID'] || '2d784b89-aa6f-43f8-a2b2-352c48f56b71' %> |
| user_data: user_data.sh |
| require_chef_omnibus: false |
| floating_ip_pool: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %> |
| allocate_floating_ip: true |
| flavor_id: <%= ENV['OS_FLAVOR_ID'] || '13f2c9bc-1f97-441c-96f1-caba1a82b734' %> |
| read_timeout: 720 |
| write_timeout: 720 |
| connect_timeout: 360 |
| mcp_ruby_version: '2.5.0' |
| |
| transport: |
| username: kitchen |
| password: kitchen |
| connection_timeout: 10 |
| connection_retries: 60 |
| |
| salt_config: &salt_config |
| salt_install: bootstrap |
| salt_bootstrap_url: https://bootstrap.saltstack.com |
| |
| provisioner: |
| name: salt_solo |
| require_chef: false |
| log_level: info |
| formula: iptables |
| state_top: |
| base: |
| "*": |
| - iptables |
| pillars: |
| top.sls: |
| base: |
| "*": |
| - iptables |
| |
| verifier: |
| name: inspec |
| sudo: true |
| |
| platforms: |
| <% for salt_version in ['2017.7.8'] %> |
| - name: saltstack-ubuntu-xenial-salt-<%=salt_version.gsub(".","_")%> |
| driver: |
| image_id: 'a64f6d20-167d-4b67-9dd6-bbfc5f7e1859' |
| server_name: test-drivetrain-formula-iptables-ubuntu-16_04-salt-<%=salt_version.gsub(".","_")%> |
| provisioner: |
| <<: *salt_config |
| salt_version: <%=salt_version%> |
| salt_apt_repo_key: https://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub |
| salt_apt_repo: https://repo.saltstack.com/apt/ubuntu/16.04/amd64/ |
| - name: saltstack-ubuntu-bionic-salt-<%=salt_version.gsub(".","_")%> |
| driver: |
| image_id: '0c681b14-0034-447b-9379-75fad4d6fa56' |
| server_name: test-drivetrain-formula-iptables-ubuntu-18_04-salt-<%=salt_version.gsub(".","_")%> |
| provisioner: |
| <<: *salt_config |
| salt_version: <%=salt_version%> |
| salt_apt_repo_key: https://repo.saltstack.com/apt/ubuntu/18.04/amd64/latest/SALTSTACK-GPG-KEY.pub |
| salt_apt_repo: https://repo.saltstack.com/apt/ubuntu/18.04/amd64/ |
| <% end %> |
| |
| suites: |
| - name: iptables |
| provisioner: |
| pillars-from-files: |
| iptables.sls: tests/pillar/iptables.sls |