Saltstack Official Home Assistant Formula
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.

42 line
1.3KB

  1. # usage: `KITCHEN_LOCAL_YAML=.kitchen.openstack.yml kitchen test`
  2. # https://docs.chef.io/config_yml_kitchen.html
  3. # https://github.com/test-kitchen/kitchen-openstack
  4. ---
  5. driver:
  6. name: openstack
  7. openstack_auth_url: <%= ENV['OS_AUTH_URL'] %>/tokens
  8. openstack_username: <%= ENV['OS_USERNAME'] || 'ci' %>
  9. openstack_api_key: <%= ENV['OS_PASSWORD'] || 'ci' %>
  10. openstack_tenant: <%= ENV['OS_TENANT_NAME'] || 'ci_jenkins' %>
  11. #floating_ip_pool: <%= ENV['OS_FLOATING_IP_POOL'] || 'nova' %>
  12. key_name: <%= ENV['BOOTSTRAP_SSH_KEY_NAME'] || 'bootstrap_insecure' %>
  13. private_key_path: <%= ENV['BOOTSTRAP_SSH_KEY_PATH'] || "#{ENV['HOME']}/.ssh/id_rsa_bootstrap_insecure" %>
  14. platforms:
  15. - name: ubuntu-14.04
  16. driver:
  17. username: <%= ENV['OS_UBUNTU_IMAGE_USER'] || 'root' %>
  18. image_ref: <%= ENV['OS_UBUNTU_IMAGE_REF'] || 'ubuntu-14-04-x64-1455869035' %>
  19. flavor_ref: m1.medium
  20. network_ref:
  21. <% if ENV['OS_NETWORK_REF'] -%>
  22. - <% ENV['OS_NETWORK_REF'] %>
  23. <% else -%>
  24. - ci-net
  25. <% end -%>
  26. # force update apt cache on the image
  27. run_list:
  28. - recipe[apt]
  29. attributes:
  30. apt:
  31. compile_time_update: true
  32. transport:
  33. username: <%= ENV['OS_UBUNTU_IMAGE_USER'] || 'root' %>
  34. # vim: ft=yaml sw=2 ts=2 sts=2 tw=125