Saltstack Official Nginx Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

459 rindas
14KB

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