You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
2.4KB

  1. ---
  2. driver:
  3. name: "ec2"
  4. associate_public_ip: true
  5. interface: "public"
  6. region: "us-east-1"
  7. require_chef_omnibus: false
  8. transport:
  9. name: "ssh"
  10. username: "ec2-user"
  11. connection_retries: 5
  12. connection_retry_sleep: 30
  13. max_wait_until_ready: 300
  14. # BUG Related to https://github.com/test-kitchen/test-kitchen/pull/1047
  15. max_ssh_sessions: 2
  16. provisioner:
  17. name: "ansible_playbook"
  18. hosts: "all"
  19. ansible_connection: "local"
  20. ansible_verbose: false
  21. ansible_verbosity: 2
  22. require_pip: true
  23. ansible_version: "2.7.18"
  24. idempotency_test: true
  25. idempotency_skip_tags: ["kitchen_idempotency_skip_tag"]
  26. require_chef_for_busser: false
  27. require_ruby_for_busser: false
  28. role_name: "ansible-role-docker"
  29. roles_path: "."
  30. platforms:
  31. - name: "rhel-7"
  32. driver:
  33. instance_type: "t3.small"
  34. image_search:
  35. name: "RHEL-7.*_HVM_GA*"
  36. owner-id: "309956199498"
  37. tags:
  38. Name: "tk-ansible-role-docker-rhel"
  39. kitchen: "true"
  40. packer: "true"
  41. - name: "centos-7"
  42. driver:
  43. image_search:
  44. name: "CentOS Linux 7*"
  45. owner-id: "679593333241"
  46. product-code: "aw0evgkw8e5c1q413zgy5pjce"
  47. instance_type: "t3.small"
  48. tags:
  49. Name: "tk-ansible-role-docker-centos"
  50. kitchen: "true"
  51. packer: "true"
  52. transport:
  53. username: "centos"
  54. - name: "amazon2-2019"
  55. driver:
  56. instance_type: "t3.small"
  57. tags:
  58. Name: "tk-ansible-role-docker-amazon"
  59. kitchen: "true"
  60. packer: "true"
  61. verifier:
  62. name: inspec
  63. sudo: true
  64. reporter:
  65. - cli
  66. - junit:%{platform}_%{suite}_inspec.xml
  67. suites:
  68. - name: "rhel"
  69. includes:
  70. - "rhel-7"
  71. provisioner:
  72. name: "ansible_playbook"
  73. playbook: "tests/test.yml"
  74. extra_vars:
  75. rhel_docker_repo_workaround: true
  76. verifier:
  77. inspec_tests:
  78. - name: local
  79. path: test/integration/default/rhel.rb
  80. - name: "centos"
  81. includes:
  82. - "centos-7"
  83. provisioner:
  84. name: "ansible_playbook"
  85. playbook: "tests/test.yml"
  86. verifier:
  87. inspec_tests:
  88. - name: local
  89. path: test/integration/default/centos.rb
  90. - name: "amazon"
  91. includes:
  92. - "amazon2-2019"
  93. provisioner:
  94. name: "ansible_playbook"
  95. playbook: "tests/test.yml"
  96. verifier:
  97. inspec_tests:
  98. - name: local
  99. path: test/integration/default/amazon.rb