Repos with recipes to deploy some infrastructure services
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

95 Zeilen
1.7 KiB

  1. ---
  2. scenario:
  3. name: pdns-41
  4. driver:
  5. name: docker
  6. dependency:
  7. name: galaxy
  8. platforms:
  9. - name: centos-6
  10. image: centos:6
  11. groups:
  12. - pdns
  13. - name: centos-7
  14. image: centos:7
  15. dockerfile_tpl: centos-systemd
  16. groups:
  17. - pdns
  18. - name: ubuntu-1604
  19. image: ubuntu:16.04
  20. dockerfile_tpl: debian-systemd
  21. groups:
  22. - pdns
  23. - name: ubuntu-1710
  24. image: ubuntu:17.10
  25. dockerfile_tpl: debian-systemd
  26. groups:
  27. - pdns
  28. - name: ubuntu-1804
  29. image: ubuntu:18.04
  30. dockerfile_tpl: debian-systemd
  31. groups:
  32. - pdns
  33. - name: debian-8
  34. image: debian:8
  35. groups:
  36. - pdns
  37. - name: debian-9
  38. image: debian:9
  39. dockerfile_tpl: debian-systemd
  40. groups:
  41. - pdns
  42. # In order to run the tests we need
  43. # a MySQL container to be up & running
  44. - name: mysql
  45. image: mysql:5.7
  46. env:
  47. MYSQL_ROOT_PASSWORD: pdns
  48. # Declaring the container as service,
  49. # will link it to the others Platforms containers
  50. # on creation.
  51. is_service: yes
  52. provisioner:
  53. name: ansible
  54. options:
  55. diff: True
  56. v: True
  57. playbooks:
  58. create: ../resources/create.yml
  59. destroy: ../resources/destroy.yml
  60. prepare: ../resources/prepare.yml
  61. lint:
  62. name: ansible-lint
  63. options:
  64. # excludes "systemctl used in place of systemd module"
  65. x: ["ANSIBLE0006"]
  66. lint:
  67. name: yamllint
  68. verifier:
  69. name: testinfra
  70. options:
  71. hosts: "pdns"
  72. vvv: True
  73. directory: ../resources/tests/all
  74. additional_files_or_dirs:
  75. # path relative to 'directory'
  76. - ../repo-41/
  77. - ../backend-sqlite/
  78. - ../backend-mysql/
  79. lint:
  80. name: flake8