123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- ---
- driver :
- # TRAVIS: local
- # NO TRAVIS: vagrant
- name : <%= if ENV['TRAVIS'] then 'localhost' else 'vagrant' end %>
- provisioner:
- name : ansible_push
- verbose : "vvvv"
- ansible_config : "test/ansible.cfg"
- idempotency_test : True
- # TRAVIS: True
- # NO TRAVIS: False
- sudo : <%= if ENV['TRAVIS'] then 'True' else 'False' end %>
- platforms:
- # travistravis
- - name : <%= if ENV['TRAVIS'] then 'travis' else 'ubuntu-14.04' end %>
- provisioner :
- raw_arguments : <%= if ENV['TRAVIS'] then '-c local' else '' end %>
- # Should be safily ignored by Travis since connection local
- driver:
- box: ubuntu/trusty64
- customize:
- cpus : 2
- memory : 2048
- suites:
- - name : group
- provisioner :
- playbook : "test/application/group.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : simple
- provisioner :
- playbook : "test/application/simple.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : advanced
- provisioner :
- playbook : "test/application/advanced.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : source-files
- provisioner :
- playbook : "test/application/source_files.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : source-databag
- provisioner :
- playbook : "test/application/source_databag.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : multi-source-files
- provisioner :
- playbook : "test/application/multi_source_files.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : team
- provisioner :
- playbook : "test/application/team.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : extra-simple
- provisioner :
- playbook : "test/application/extra_simple.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : extra-advanced
- provisioner :
- playbook : "test/application/extra_advanced.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
- - name : extra-team
- provisioner :
- playbook : "test/application/extra_team.yml"
- extra_vars : { 'kitchen_connection': 'smart', 'kitchen_hosts': '<%= if ENV['TRAVIS'] then 'localhost' else 'all' end %>' }
|