Saltstack Official Nginx 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.

kitchen.yml 11KB

5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. # For help on this file's format, see https://kitchen.ci/
  5. driver:
  6. name: docker
  7. use_sudo: false
  8. privileged: true
  9. run_command: /usr/lib/systemd/systemd
  10. provisioner:
  11. name: salt_solo
  12. log_level: debug
  13. salt_install: none
  14. require_chef: false
  15. formula: nginx
  16. salt_copy_filter:
  17. - .kitchen
  18. - .git
  19. platforms:
  20. ## SALT `tiamat`
  21. - name: debian-11-tiamat-py3
  22. driver:
  23. image: saltimages/salt-tiamat-py3:debian-11
  24. run_command: /lib/systemd/systemd
  25. - name: debian-10-tiamat-py3
  26. driver:
  27. image: saltimages/salt-tiamat-py3:debian-10
  28. run_command: /lib/systemd/systemd
  29. - name: debian-9-tiamat-py3
  30. driver:
  31. image: saltimages/salt-tiamat-py3:debian-9
  32. run_command: /lib/systemd/systemd
  33. - name: ubuntu-2004-tiamat-py3
  34. driver:
  35. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  36. run_command: /lib/systemd/systemd
  37. - name: ubuntu-1804-tiamat-py3
  38. driver:
  39. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  40. run_command: /lib/systemd/systemd
  41. - name: centos-stream8-tiamat-py3
  42. driver:
  43. image: saltimages/salt-tiamat-py3:centos-stream8
  44. - name: centos-7-tiamat-py3
  45. driver:
  46. image: saltimages/salt-tiamat-py3:centos-7
  47. - name: amazonlinux-2-tiamat-py3
  48. driver:
  49. image: saltimages/salt-tiamat-py3:amazonlinux-2
  50. - name: oraclelinux-8-tiamat-py3
  51. driver:
  52. image: saltimages/salt-tiamat-py3:oraclelinux-8
  53. - name: oraclelinux-7-tiamat-py3
  54. driver:
  55. image: saltimages/salt-tiamat-py3:oraclelinux-7
  56. - name: almalinux-8-tiamat-py3
  57. driver:
  58. image: saltimages/salt-tiamat-py3:almalinux-8
  59. - name: rockylinux-8-tiamat-py3
  60. driver:
  61. image: saltimages/salt-tiamat-py3:rockylinux-8
  62. ## SALT `master`
  63. - name: debian-11-master-py3
  64. driver:
  65. image: saltimages/salt-master-py3:debian-11
  66. run_command: /lib/systemd/systemd
  67. - name: debian-10-master-py3
  68. driver:
  69. image: saltimages/salt-master-py3:debian-10
  70. run_command: /lib/systemd/systemd
  71. - name: debian-9-master-py3
  72. driver:
  73. image: saltimages/salt-master-py3:debian-9
  74. run_command: /lib/systemd/systemd
  75. - name: ubuntu-2004-master-py3
  76. driver:
  77. image: saltimages/salt-master-py3:ubuntu-20.04
  78. run_command: /lib/systemd/systemd
  79. - name: ubuntu-1804-master-py3
  80. driver:
  81. image: saltimages/salt-master-py3:ubuntu-18.04
  82. run_command: /lib/systemd/systemd
  83. - name: centos-stream8-master-py3
  84. driver:
  85. image: saltimages/salt-master-py3:centos-stream8
  86. - name: centos-7-master-py3
  87. driver:
  88. image: saltimages/salt-master-py3:centos-7
  89. - name: fedora-36-master-py3
  90. driver:
  91. image: saltimages/salt-master-py3:fedora-36
  92. - name: fedora-35-master-py3
  93. driver:
  94. image: saltimages/salt-master-py3:fedora-35
  95. - name: fedora-34-master-py3
  96. driver:
  97. image: saltimages/salt-master-py3:fedora-34
  98. - name: opensuse-leap-153-master-py3
  99. driver:
  100. image: saltimages/salt-master-py3:opensuse-leap-15.3
  101. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  102. # => SCP did not finish successfully (255): (Net::SCP::Error)
  103. transport:
  104. max_ssh_sessions: 1
  105. - name: opensuse-tmbl-latest-master-py3
  106. driver:
  107. image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
  108. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  109. # => SCP did not finish successfully (255): (Net::SCP::Error)
  110. transport:
  111. max_ssh_sessions: 1
  112. - name: amazonlinux-2-master-py3
  113. driver:
  114. image: saltimages/salt-master-py3:amazonlinux-2
  115. - name: oraclelinux-8-master-py3
  116. driver:
  117. image: saltimages/salt-master-py3:oraclelinux-8
  118. - name: oraclelinux-7-master-py3
  119. driver:
  120. image: saltimages/salt-master-py3:oraclelinux-7
  121. - name: arch-base-latest-master-py3
  122. driver:
  123. image: saltimages/salt-master-py3:arch-base-latest
  124. - name: gentoo-stage3-latest-master-py3
  125. driver:
  126. image: saltimages/salt-master-py3:gentoo-stage3-latest
  127. run_command: /sbin/init
  128. - name: gentoo-stage3-systemd-master-py3
  129. driver:
  130. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  131. - name: almalinux-8-master-py3
  132. driver:
  133. image: saltimages/salt-master-py3:almalinux-8
  134. - name: rockylinux-8-master-py3
  135. driver:
  136. image: saltimages/salt-master-py3:rockylinux-8
  137. ## SALT `3004.1`
  138. - name: debian-11-3004-1-py3
  139. driver:
  140. image: saltimages/salt-3004.1-py3:debian-11
  141. run_command: /lib/systemd/systemd
  142. - name: debian-10-3004-1-py3
  143. driver:
  144. image: saltimages/salt-3004.1-py3:debian-10
  145. run_command: /lib/systemd/systemd
  146. - name: debian-9-3004-1-py3
  147. driver:
  148. image: saltimages/salt-3004.1-py3:debian-9
  149. run_command: /lib/systemd/systemd
  150. - name: ubuntu-2004-3004-1-py3
  151. driver:
  152. image: saltimages/salt-3004.1-py3:ubuntu-20.04
  153. run_command: /lib/systemd/systemd
  154. - name: ubuntu-1804-3004-1-py3
  155. driver:
  156. image: saltimages/salt-3004.1-py3:ubuntu-18.04
  157. run_command: /lib/systemd/systemd
  158. - name: centos-stream8-3004-1-py3
  159. driver:
  160. image: saltimages/salt-3004.1-py3:centos-stream8
  161. - name: centos-7-3004-1-py3
  162. driver:
  163. image: saltimages/salt-3004.1-py3:centos-7
  164. - name: fedora-36-3004-1-py3
  165. driver:
  166. image: saltimages/salt-3004.1-py3:fedora-36
  167. - name: fedora-35-3004-1-py3
  168. driver:
  169. image: saltimages/salt-3004.1-py3:fedora-35
  170. - name: fedora-34-3004-1-py3
  171. driver:
  172. image: saltimages/salt-3004.1-py3:fedora-34
  173. - name: amazonlinux-2-3004-1-py3
  174. driver:
  175. image: saltimages/salt-3004.1-py3:amazonlinux-2
  176. - name: oraclelinux-8-3004-1-py3
  177. driver:
  178. image: saltimages/salt-3004.1-py3:oraclelinux-8
  179. - name: oraclelinux-7-3004-1-py3
  180. driver:
  181. image: saltimages/salt-3004.1-py3:oraclelinux-7
  182. - name: arch-base-latest-3004-1-py3
  183. driver:
  184. image: saltimages/salt-3004.1-py3:arch-base-latest
  185. - name: gentoo-stage3-latest-3004-1-py3
  186. driver:
  187. image: saltimages/salt-3004.1-py3:gentoo-stage3-latest
  188. run_command: /sbin/init
  189. - name: gentoo-stage3-systemd-3004-1-py3
  190. driver:
  191. image: saltimages/salt-3004.1-py3:gentoo-stage3-systemd
  192. - name: almalinux-8-3004-1-py3
  193. driver:
  194. image: saltimages/salt-3004.1-py3:almalinux-8
  195. - name: rockylinux-8-3004-1-py3
  196. driver:
  197. image: saltimages/salt-3004.1-py3:rockylinux-8
  198. ## SALT `3004.0`
  199. - name: opensuse-leap-153-3004-0-py3
  200. driver:
  201. image: saltimages/salt-3004.0-py3:opensuse-leap-15.3
  202. # Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
  203. # => SCP did not finish successfully (255): (Net::SCP::Error)
  204. transport:
  205. max_ssh_sessions: 1
  206. - name: opensuse-tmbl-latest-3004-0-py3
  207. driver:
  208. image: saltimages/salt-3004.0-py3:opensuse-tumbleweed-latest
  209. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  210. # => SCP did not finish successfully (255): (Net::SCP::Error)
  211. transport:
  212. max_ssh_sessions: 1
  213. ## SALT `3003.4`
  214. - name: debian-10-3003-4-py3
  215. driver:
  216. image: saltimages/salt-3003.4-py3:debian-10
  217. run_command: /lib/systemd/systemd
  218. - name: debian-9-3003-4-py3
  219. driver:
  220. image: saltimages/salt-3003.4-py3:debian-9
  221. run_command: /lib/systemd/systemd
  222. - name: ubuntu-2004-3003-4-py3
  223. driver:
  224. image: saltimages/salt-3003.4-py3:ubuntu-20.04
  225. run_command: /lib/systemd/systemd
  226. - name: ubuntu-1804-3003-4-py3
  227. driver:
  228. image: saltimages/salt-3003.4-py3:ubuntu-18.04
  229. run_command: /lib/systemd/systemd
  230. - name: centos-stream8-3003-4-py3
  231. driver:
  232. image: saltimages/salt-3003.4-py3:centos-stream8
  233. - name: centos-7-3003-4-py3
  234. driver:
  235. image: saltimages/salt-3003.4-py3:centos-7
  236. - name: amazonlinux-2-3003-4-py3
  237. driver:
  238. image: saltimages/salt-3003.4-py3:amazonlinux-2
  239. - name: oraclelinux-8-3003-4-py3
  240. driver:
  241. image: saltimages/salt-3003.4-py3:oraclelinux-8
  242. - name: oraclelinux-7-3003-4-py3
  243. driver:
  244. image: saltimages/salt-3003.4-py3:oraclelinux-7
  245. - name: almalinux-8-3003-4-py3
  246. driver:
  247. image: saltimages/salt-3003.4-py3:almalinux-8
  248. ## SALT `3002.8`
  249. - name: debian-10-3002-8-py3
  250. driver:
  251. image: saltimages/salt-3002.8-py3:debian-10
  252. run_command: /lib/systemd/systemd
  253. - name: debian-9-3002-8-py3
  254. driver:
  255. image: saltimages/salt-3002.8-py3:debian-9
  256. run_command: /lib/systemd/systemd
  257. - name: ubuntu-2004-3002-8-py3
  258. driver:
  259. image: saltimages/salt-3002.8-py3:ubuntu-20.04
  260. run_command: /lib/systemd/systemd
  261. - name: ubuntu-1804-3002-8-py3
  262. driver:
  263. image: saltimages/salt-3002.8-py3:ubuntu-18.04
  264. run_command: /lib/systemd/systemd
  265. - name: centos-7-3002-8-py3
  266. driver:
  267. image: saltimages/salt-3002.8-py3:centos-7
  268. - name: amazonlinux-2-3002-8-py3
  269. driver:
  270. image: saltimages/salt-3002.8-py3:amazonlinux-2
  271. - name: oraclelinux-8-3002-8-py3
  272. driver:
  273. image: saltimages/salt-3002.8-py3:oraclelinux-8
  274. - name: oraclelinux-7-3002-8-py3
  275. driver:
  276. image: saltimages/salt-3002.8-py3:oraclelinux-7
  277. verifier:
  278. # https://www.inspec.io/
  279. name: inspec
  280. sudo: true
  281. reporter:
  282. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  283. - cli
  284. suites:
  285. - name: default
  286. provisioner:
  287. dependencies:
  288. - name: test_dep
  289. path: test/salt/default/states
  290. state_top:
  291. base:
  292. '*':
  293. - test_dep.create_dependency_file
  294. - nginx._mapdata
  295. - nginx
  296. pillars:
  297. top.sls:
  298. base:
  299. '*':
  300. - nginx
  301. pillars_from_files:
  302. nginx.sls: test/salt/default/pillar/nginx.sls
  303. verifier:
  304. inspec_tests:
  305. - path: test/integration/default
  306. - name: passenger
  307. includes:
  308. - debian-11-tiamat-py3
  309. - debian-10-tiamat-py3
  310. - debian-9-tiamat-py3
  311. - ubuntu-2004-tiamat-py3
  312. - ubuntu-1804-tiamat-py3
  313. - centos-stream8-tiamat-py3
  314. - centos-7-tiamat-py3
  315. - oraclelinux-8-tiamat-py3
  316. - almalinux-8-tiamat-py3
  317. - rockylinux-8-tiamat-py3
  318. - debian-11-master-py3
  319. - debian-10-master-py3
  320. - debian-9-master-py3
  321. - ubuntu-2004-master-py3
  322. - ubuntu-1804-master-py3
  323. - centos-stream8-master-py3
  324. - centos-7-master-py3
  325. - oraclelinux-8-master-py3
  326. - almalinux-8-master-py3
  327. - rockylinux-8-master-py3
  328. - debian-11-3004-1-py3
  329. - debian-10-3004-1-py3
  330. - debian-9-3004-1-py3
  331. - ubuntu-2004-3004-1-py3
  332. - ubuntu-1804-3004-1-py3
  333. - centos-stream8-3004-1-py3
  334. - centos-7-3004-1-py3
  335. - oraclelinux-8-3004-1-py3
  336. - almalinux-8-3004-1-py3
  337. - rockylinux-8-3004-1-py3
  338. - debian-10-3003-4-py3
  339. - debian-9-3003-4-py3
  340. - ubuntu-2004-3003-4-py3
  341. - ubuntu-1804-3003-4-py3
  342. - centos-stream8-3003-4-py3
  343. - centos-7-3003-4-py3
  344. - oraclelinux-8-3003-4-py3
  345. - almalinux-8-3003-4-py3
  346. - debian-10-3002-8-py3
  347. - debian-9-3002-8-py3
  348. - ubuntu-2004-3002-8-py3
  349. - ubuntu-1804-3002-8-py3
  350. - centos-7-3002-8-py3
  351. - oraclelinux-8-3002-8-py3
  352. provisioner:
  353. state_top:
  354. base:
  355. '*':
  356. - nginx._mapdata
  357. - nginx.passenger
  358. pillars:
  359. top.sls:
  360. base:
  361. '*':
  362. - nginx
  363. pillars_from_files:
  364. nginx.sls: test/salt/passenger/pillar/nginx.sls
  365. verifier:
  366. inspec_tests:
  367. - path: test/integration/passenger