Saltstack Official Nginx Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

kitchen.yml 14KB

5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
5 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  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: /lib/systemd/systemd
  10. platforms:
  11. ## SALT `tiamat`
  12. - name: debian-10-tiamat-py3
  13. driver:
  14. image: saltimages/salt-tiamat-py3:debian-10
  15. - name: debian-9-tiamat-py3
  16. driver:
  17. image: saltimages/salt-tiamat-py3:debian-9
  18. - name: ubuntu-2004-tiamat-py3
  19. driver:
  20. image: saltimages/salt-tiamat-py3:ubuntu-20.04
  21. - name: ubuntu-1804-tiamat-py3
  22. driver:
  23. image: saltimages/salt-tiamat-py3:ubuntu-18.04
  24. - name: ubuntu-1604-tiamat-py3
  25. driver:
  26. image: saltimages/salt-tiamat-py3:ubuntu-16.04
  27. - name: centos-8-tiamat-py3
  28. driver:
  29. image: saltimages/salt-tiamat-py3:centos-8
  30. - name: centos-7-tiamat-py3
  31. driver:
  32. image: saltimages/salt-tiamat-py3:centos-7
  33. - name: amazonlinux-2-tiamat-py3
  34. driver:
  35. image: saltimages/salt-tiamat-py3:amazonlinux-2
  36. - name: oraclelinux-8-tiamat-py3
  37. driver:
  38. image: saltimages/salt-tiamat-py3:oraclelinux-8
  39. - name: oraclelinux-7-tiamat-py3
  40. driver:
  41. image: saltimages/salt-tiamat-py3:oraclelinux-7
  42. ## SALT `master`
  43. - name: debian-10-master-py3
  44. driver:
  45. image: saltimages/salt-master-py3:debian-10
  46. - name: debian-9-master-py3
  47. driver:
  48. image: saltimages/salt-master-py3:debian-9
  49. - name: ubuntu-2004-master-py3
  50. driver:
  51. image: saltimages/salt-master-py3:ubuntu-20.04
  52. - name: ubuntu-1804-master-py3
  53. driver:
  54. image: saltimages/salt-master-py3:ubuntu-18.04
  55. - name: ubuntu-1604-master-py3
  56. driver:
  57. image: saltimages/salt-master-py3:ubuntu-16.04
  58. - name: centos-8-master-py3
  59. driver:
  60. image: saltimages/salt-master-py3:centos-8
  61. - name: centos-7-master-py3
  62. driver:
  63. image: saltimages/salt-master-py3:centos-7
  64. - name: fedora-34-master-py3
  65. driver:
  66. image: saltimages/salt-master-py3:fedora-34
  67. - name: fedora-33-master-py3
  68. driver:
  69. image: saltimages/salt-master-py3:fedora-33
  70. - name: fedora-32-master-py3
  71. driver:
  72. image: saltimages/salt-master-py3:fedora-32
  73. - name: opensuse-leap-152-master-py3
  74. driver:
  75. image: saltimages/salt-master-py3:opensuse-leap-15.2
  76. run_command: /usr/lib/systemd/systemd
  77. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  78. # => SCP did not finish successfully (255): (Net::SCP::Error)
  79. transport:
  80. max_ssh_sessions: 1
  81. - name: opensuse-tmbl-latest-master-py3
  82. driver:
  83. image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
  84. run_command: /usr/lib/systemd/systemd
  85. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  86. # => SCP did not finish successfully (255): (Net::SCP::Error)
  87. transport:
  88. max_ssh_sessions: 1
  89. - name: amazonlinux-2-master-py3
  90. driver:
  91. image: saltimages/salt-master-py3:amazonlinux-2
  92. - name: oraclelinux-8-master-py3
  93. driver:
  94. image: saltimages/salt-master-py3:oraclelinux-8
  95. - name: oraclelinux-7-master-py3
  96. driver:
  97. image: saltimages/salt-master-py3:oraclelinux-7
  98. - name: gentoo-stage3-latest-master-py3
  99. driver:
  100. image: saltimages/salt-master-py3:gentoo-stage3-latest
  101. run_command: /sbin/init
  102. - name: gentoo-stage3-systemd-master-py3
  103. driver:
  104. image: saltimages/salt-master-py3:gentoo-stage3-systemd
  105. ## SALT `3003.0`
  106. - name: debian-10-3003-0-py3
  107. driver:
  108. image: saltimages/salt-3003.0-py3:debian-10
  109. - name: debian-9-3003-0-py3
  110. driver:
  111. image: saltimages/salt-3003.0-py3:debian-9
  112. - name: ubuntu-2004-3003-0-py3
  113. driver:
  114. image: saltimages/salt-3003.0-py3:ubuntu-20.04
  115. - name: ubuntu-1804-3003-0-py3
  116. driver:
  117. image: saltimages/salt-3003.0-py3:ubuntu-18.04
  118. - name: centos-8-3003-0-py3
  119. driver:
  120. image: saltimages/salt-3003.0-py3:centos-8
  121. - name: centos-7-3003-0-py3
  122. driver:
  123. image: saltimages/salt-3003.0-py3:centos-7
  124. - name: fedora-34-3003-0-py3
  125. driver:
  126. image: saltimages/salt-3003.0-py3:fedora-34
  127. - name: fedora-33-3003-0-py3
  128. driver:
  129. image: saltimages/salt-3003.0-py3:fedora-33
  130. - name: fedora-32-3003-0-py3
  131. driver:
  132. image: saltimages/salt-3003.0-py3:fedora-32
  133. - name: amazonlinux-2-3003-0-py3
  134. driver:
  135. image: saltimages/salt-3003.0-py3:amazonlinux-2
  136. - name: oraclelinux-8-3003-0-py3
  137. driver:
  138. image: saltimages/salt-3003.0-py3:oraclelinux-8
  139. - name: oraclelinux-7-3003-0-py3
  140. driver:
  141. image: saltimages/salt-3003.0-py3:oraclelinux-7
  142. - name: arch-base-latest-3003-0-py3
  143. driver:
  144. image: saltimages/salt-3003.0-py3:arch-base-latest
  145. run_command: /usr/lib/systemd/systemd
  146. - name: gentoo-stage3-latest-3003-0-py3
  147. driver:
  148. image: saltimages/salt-3003.0-py3:gentoo-stage3-latest
  149. run_command: /sbin/init
  150. - name: gentoo-stage3-systemd-3003-0-py3
  151. driver:
  152. image: saltimages/salt-3003.0-py3:gentoo-stage3-systemd
  153. ## SALT `3002.6`
  154. - name: debian-10-3002-6-py3
  155. driver:
  156. image: saltimages/salt-3002.6-py3:debian-10
  157. - name: debian-9-3002-6-py3
  158. driver:
  159. image: saltimages/salt-3002.6-py3:debian-9
  160. - name: ubuntu-2004-3002-6-py3
  161. driver:
  162. image: saltimages/salt-3002.6-py3:ubuntu-20.04
  163. - name: ubuntu-1804-3002-6-py3
  164. driver:
  165. image: saltimages/salt-3002.6-py3:ubuntu-18.04
  166. - name: ubuntu-1604-3002-6-py3
  167. driver:
  168. image: saltimages/salt-3002.6-py3:ubuntu-16.04
  169. - name: centos-8-3002-6-py3
  170. driver:
  171. image: saltimages/salt-3002.6-py3:centos-8
  172. - name: centos-7-3002-6-py3
  173. driver:
  174. image: saltimages/salt-3002.6-py3:centos-7
  175. - name: fedora-34-3002-6-py3
  176. driver:
  177. image: saltimages/salt-3002.6-py3:fedora-34
  178. - name: fedora-33-3002-6-py3
  179. driver:
  180. image: saltimages/salt-3002.6-py3:fedora-33
  181. - name: fedora-32-3002-6-py3
  182. driver:
  183. image: saltimages/salt-3002.6-py3:fedora-32
  184. - name: amazonlinux-2-3002-6-py3
  185. driver:
  186. image: saltimages/salt-3002.6-py3:amazonlinux-2
  187. - name: oraclelinux-8-3002-6-py3
  188. driver:
  189. image: saltimages/salt-3002.6-py3:oraclelinux-8
  190. - name: oraclelinux-7-3002-6-py3
  191. driver:
  192. image: saltimages/salt-3002.6-py3:oraclelinux-7
  193. - name: arch-base-latest-3002-6-py3
  194. driver:
  195. image: saltimages/salt-3002.6-py3:arch-base-latest
  196. run_command: /usr/lib/systemd/systemd
  197. ## SALT `3002.5`
  198. - name: gentoo-stage3-latest-3002-5-py3
  199. driver:
  200. image: saltimages/salt-3002.5-py3:gentoo-stage3-latest
  201. run_command: /sbin/init
  202. - name: gentoo-stage3-systemd-3002-5-py3
  203. driver:
  204. image: saltimages/salt-3002.5-py3:gentoo-stage3-systemd
  205. ## SALT `3002.2`
  206. - name: opensuse-leap-152-3002-2-py3
  207. driver:
  208. image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
  209. run_command: /usr/lib/systemd/systemd
  210. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  211. # => SCP did not finish successfully (255): (Net::SCP::Error)
  212. transport:
  213. max_ssh_sessions: 1
  214. - name: opensuse-tmbl-latest-3002-2-py3
  215. driver:
  216. image: saltimages/salt-3002.2-py3:opensuse-tumbleweed-latest
  217. run_command: /usr/lib/systemd/systemd
  218. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  219. # => SCP did not finish successfully (255): (Net::SCP::Error)
  220. transport:
  221. max_ssh_sessions: 1
  222. ## SALT `3001.7`
  223. - name: debian-10-3001-7-py3
  224. driver:
  225. image: saltimages/salt-3001.7-py3:debian-10
  226. - name: debian-9-3001-7-py3
  227. driver:
  228. image: saltimages/salt-3001.7-py3:debian-9
  229. - name: ubuntu-2004-3001-7-py3
  230. driver:
  231. image: saltimages/salt-3001.7-py3:ubuntu-20.04
  232. - name: ubuntu-1804-3001-7-py3
  233. driver:
  234. image: saltimages/salt-3001.7-py3:ubuntu-18.04
  235. - name: ubuntu-1604-3001-7-py3
  236. driver:
  237. image: saltimages/salt-3001.7-py3:ubuntu-16.04
  238. - name: centos-8-3001-7-py3
  239. driver:
  240. image: saltimages/salt-3001.7-py3:centos-8
  241. - name: centos-7-3001-7-py3
  242. driver:
  243. image: saltimages/salt-3001.7-py3:centos-7
  244. - name: fedora-34-3001-7-py3
  245. driver:
  246. image: saltimages/salt-3001.7-py3:fedora-34
  247. - name: fedora-33-3001-7-py3
  248. driver:
  249. image: saltimages/salt-3001.7-py3:fedora-33
  250. - name: fedora-32-3001-7-py3
  251. driver:
  252. image: saltimages/salt-3001.7-py3:fedora-32
  253. - name: opensuse-leap-152-3001-7-py3
  254. driver:
  255. image: saltimages/salt-3001.7-py3:opensuse-leap-15.2
  256. run_command: /usr/lib/systemd/systemd
  257. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  258. # => SCP did not finish successfully (255): (Net::SCP::Error)
  259. transport:
  260. max_ssh_sessions: 1
  261. - name: opensuse-tmbl-latest-3001-7-py3
  262. driver:
  263. image: saltimages/salt-3001.7-py3:opensuse-tumbleweed-latest
  264. run_command: /usr/lib/systemd/systemd
  265. # Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
  266. # => SCP did not finish successfully (255): (Net::SCP::Error)
  267. transport:
  268. max_ssh_sessions: 1
  269. - name: amazonlinux-2-3001-7-py3
  270. driver:
  271. image: saltimages/salt-3001.7-py3:amazonlinux-2
  272. - name: oraclelinux-8-3001-7-py3
  273. driver:
  274. image: saltimages/salt-3001.7-py3:oraclelinux-8
  275. - name: oraclelinux-7-3001-7-py3
  276. driver:
  277. image: saltimages/salt-3001.7-py3:oraclelinux-7
  278. - name: arch-base-latest-3001-7-py3
  279. driver:
  280. image: saltimages/salt-3001.7-py3:arch-base-latest
  281. run_command: /usr/lib/systemd/systemd
  282. ## SALT `3001.6`
  283. - name: gentoo-stage3-latest-3001-6-py3
  284. driver:
  285. image: saltimages/salt-3001.6-py3:gentoo-stage3-latest
  286. run_command: /sbin/init
  287. - name: gentoo-stage3-systemd-3001-6-py3
  288. driver:
  289. image: saltimages/salt-3001.6-py3:gentoo-stage3-systemd
  290. ## SALT `3000.9`
  291. - name: debian-10-3000-9-py3
  292. driver:
  293. image: saltimages/salt-3000.9-py3:debian-10
  294. - name: debian-9-3000-9-py3
  295. driver:
  296. image: saltimages/salt-3000.9-py3:debian-9
  297. - name: ubuntu-1804-3000-9-py3
  298. driver:
  299. image: saltimages/salt-3000.9-py3:ubuntu-18.04
  300. - name: ubuntu-1604-3000-9-py3
  301. driver:
  302. image: saltimages/salt-3000.9-py3:ubuntu-16.04
  303. - name: centos-8-3000-9-py3
  304. driver:
  305. image: saltimages/salt-3000.9-py3:centos-8
  306. - name: centos-7-3000-9-py3
  307. driver:
  308. image: saltimages/salt-3000.9-py3:centos-7
  309. - name: opensuse-leap-152-3000-9-py3
  310. driver:
  311. image: saltimages/salt-3000.9-py3:opensuse-leap-15.2
  312. run_command: /usr/lib/systemd/systemd
  313. # Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
  314. # => SCP did not finish successfully (255): (Net::SCP::Error)
  315. transport:
  316. max_ssh_sessions: 1
  317. - name: amazonlinux-2-3000-9-py3
  318. driver:
  319. image: saltimages/salt-3000.9-py3:amazonlinux-2
  320. - name: oraclelinux-8-3000-9-py3
  321. driver:
  322. image: saltimages/salt-3000.9-py3:oraclelinux-8
  323. - name: oraclelinux-7-3000-9-py3
  324. driver:
  325. image: saltimages/salt-3000.9-py3:oraclelinux-7
  326. - name: ubuntu-1804-3000-9-py2
  327. driver:
  328. image: saltimages/salt-3000.9-py2:ubuntu-18.04
  329. - name: ubuntu-1604-3000-9-py2
  330. driver:
  331. image: saltimages/salt-3000.9-py2:ubuntu-16.04
  332. - name: arch-base-latest-3000-9-py2
  333. driver:
  334. image: saltimages/salt-3000.9-py2:arch-base-latest
  335. run_command: /usr/lib/systemd/systemd
  336. ## SALT `3000.8`
  337. - name: gentoo-stage3-latest-3000-8-py3
  338. driver:
  339. image: saltimages/salt-3000.8-py3:gentoo-stage3-latest
  340. run_command: /sbin/init
  341. - name: gentoo-stage3-systemd-3000-8-py3
  342. driver:
  343. image: saltimages/salt-3000.8-py3:gentoo-stage3-systemd
  344. provisioner:
  345. name: salt_solo
  346. log_level: debug
  347. salt_install: none
  348. require_chef: false
  349. formula: nginx
  350. salt_copy_filter:
  351. - .kitchen
  352. - .git
  353. verifier:
  354. # https://www.inspec.io/
  355. name: inspec
  356. sudo: true
  357. # cli, documentation, html, progress, json, json-min, json-rspec, junit
  358. reporter:
  359. - cli
  360. suites:
  361. - name: default
  362. provisioner:
  363. dependencies:
  364. - name: test_dep
  365. path: test/salt/default/states
  366. state_top:
  367. base:
  368. '*':
  369. - test_dep.create_dependency_file
  370. - nginx._mapdata
  371. - nginx
  372. pillars:
  373. top.sls:
  374. base:
  375. '*':
  376. - nginx
  377. pillars_from_files:
  378. nginx.sls: test/salt/default/pillar/nginx.sls
  379. verifier:
  380. inspec_tests:
  381. - path: test/integration/default
  382. - name: passenger
  383. includes:
  384. - debian-10-tiamat-py3
  385. - debian-9-tiamat-py3
  386. - ubuntu-2004-tiamat-py3
  387. - ubuntu-1804-tiamat-py3
  388. - centos-8-tiamat-py3
  389. - centos-7-tiamat-py3
  390. - oraclelinux-8-tiamat-py3
  391. - debian-10-master-py3
  392. - debian-9-master-py3
  393. - ubuntu-2004-master-py3
  394. - ubuntu-1804-master-py3
  395. - centos-8-master-py3
  396. - centos-7-master-py3
  397. - oraclelinux-8-master-py3
  398. - debian-10-3003-0-py3
  399. - debian-9-3003-0-py3
  400. - ubuntu-2004-3003-0-py3
  401. - ubuntu-1804-3003-0-py3
  402. - centos-8-3003-0-py3
  403. - centos-7-3003-0-py3
  404. - oraclelinux-8-3003-0-py3
  405. - debian-10-3002-6-py3
  406. - debian-9-3002-6-py3
  407. - ubuntu-2004-3002-6-py3
  408. - ubuntu-1804-3002-6-py3
  409. - centos-8-3002-6-py3
  410. - centos-7-3002-6-py3
  411. - oraclelinux-8-3002-6-py3
  412. - debian-10-3001-7-py3
  413. - debian-9-3001-7-py3
  414. - ubuntu-2004-3001-7-py3
  415. - ubuntu-1804-3001-7-py3
  416. - centos-8-3001-7-py3
  417. - centos-7-3001-7-py3
  418. - oraclelinux-8-3001-7-py3
  419. - debian-10-3000-9-py3
  420. - debian-9-3000-9-py3
  421. - ubuntu-1804-3000-9-py3
  422. - centos-8-3000-9-py3
  423. - centos-7-3000-9-py3
  424. - oraclelinux-8-3000-9-py3
  425. - ubuntu-1804-3000-9-py2
  426. provisioner:
  427. state_top:
  428. base:
  429. '*':
  430. - nginx._mapdata
  431. - nginx.passenger
  432. pillars:
  433. top.sls:
  434. base:
  435. '*':
  436. - nginx
  437. pillars_from_files:
  438. nginx.sls: test/salt/passenger/pillar/nginx.sls
  439. verifier:
  440. inspec_tests:
  441. - path: test/integration/passenger