System configuration for OpenStack Infrastructure
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.
 
 
 
 
 
 

852 lines
26 KiB

  1. - job:
  2. name: system-config-run
  3. description: |
  4. Run the "base" playbook for system-config hosts.
  5. This is a parent job designed to be inherited.
  6. abstract: true
  7. pre-run: playbooks/zuul/run-base-pre.yaml
  8. run: playbooks/zuul/run-base.yaml
  9. post-run: playbooks/zuul/run-base-post.yaml
  10. vars:
  11. install_ansible_ara_enable: true
  12. zuul_copy_output: "{{ copy_output | combine(host_copy_output | default({})) }}"
  13. stage_dir: "{{ ansible_user_dir }}/zuul-output"
  14. copy_output:
  15. '/var/log/syslog': logs_txt
  16. '/var/log/messages': logs_txt
  17. '/var/log/docker': logs
  18. '/etc/iptables/rules.v4': logs_txt
  19. '/etc/iptables/rules.v6': logs_txt
  20. host-vars:
  21. bridge.openstack.org:
  22. host_copy_output:
  23. '{{ zuul.project.src_dir }}/junit.xml': logs
  24. '{{ zuul.project.src_dir }}/test-results.html': logs
  25. '{{ zuul.project.src_dir }}/inventory/base/gate-hosts.yaml': logs
  26. # Note: the following two jobs implement the variant-based multiple
  27. # inheritance trick. Both of these variants will always apply,
  28. # therefore both parents will appear in the inheritance hierarchy).
  29. - job:
  30. name: system-config-run-containers
  31. parent: system-config-run
  32. # Note: see above re multiple-inheritance.
  33. - job:
  34. name: system-config-run-containers
  35. parent: opendev-buildset-registry-consumer
  36. description: |
  37. Run the "base" playbook for system-config hosts which use
  38. containers.
  39. This is a parent job designed to be inherited. Use this job if
  40. the service in question is container-based. It expects a
  41. buildset registry and pulls images from the intermediate
  42. registry.
  43. - job:
  44. name: system-config-run-base
  45. parent: system-config-run
  46. description: |
  47. Run the "base" playbook on each of the node types
  48. currently in use.
  49. nodeset:
  50. nodes:
  51. - name: bridge.openstack.org
  52. label: ubuntu-bionic
  53. - name: xenial
  54. label: ubuntu-xenial
  55. - name: bionic
  56. label: ubuntu-bionic
  57. - name: focal
  58. label: ubuntu-focal
  59. files:
  60. - tox.ini
  61. - playbooks/
  62. - roles/
  63. - testinfra/
  64. - job:
  65. name: system-config-run-base-ansible-devel
  66. parent: system-config-run-base
  67. description: |
  68. Run the base playbook with the latest ansible.
  69. required-projects:
  70. - name: github.com/ansible/ansible
  71. override-checkout: devel
  72. - name: github.com/philpep/testinfra
  73. - name: openstack/openstacksdk
  74. - name: recordsansible/ara
  75. # NOTE(ianw): 2019-06-11 pinned to stable branch until we handle 1.0
  76. # http://lists.openstack.org/pipermail/openstack-infra/2019-June/006400.html
  77. override-checkout: stable/0.x
  78. vars:
  79. bridge_ansible_name: '{{ ansible_user_dir}}/src/github.com/ansible/ansible'
  80. bridge_ansible_version: null
  81. bridge_openstacksdk_name: '{{ ansible_user_dir }}/src/opendev.org/openstack/openstacksdk'
  82. bridge_openstacksdk_version: null
  83. bridge_ara_name: '{{ ansible_user_dir}}/src/opendev.org/recordsansible/ara'
  84. bridge_ara_version: null
  85. # Although we don't have an arm64 based bridge; Zuul can't currently
  86. # allocate a mixed x86/arm64 situation across clouds. Thus it helps
  87. # to keep this clean so we can run the other tests.
  88. - job:
  89. name: system-config-run-base-arm64
  90. parent: system-config-run
  91. description: |
  92. Run the "base" playbook on ARM64.
  93. nodeset:
  94. nodes:
  95. - name: bridge.openstack.org
  96. label: ubuntu-bionic-arm64
  97. - name: bionic
  98. label: ubuntu-bionic-arm64
  99. files:
  100. - playbooks/
  101. - roles/
  102. - testinfra/
  103. - job:
  104. name: system-config-run-eavesdrop
  105. parent: system-config-run-containers
  106. description: |
  107. Run the playbook for an eavesdrop server.
  108. required-projects:
  109. - opendev/ansible-role-puppet
  110. - opendev/system-config
  111. - openstack/project-config
  112. requires:
  113. - accessbot-container-image
  114. - gerritbot-container-image
  115. nodeset:
  116. nodes:
  117. - name: bridge.openstack.org
  118. label: ubuntu-bionic
  119. - name: eavesdrop01.openstack.org
  120. label: ubuntu-xenial
  121. vars:
  122. run_playbooks:
  123. - playbooks/service-eavesdrop.yaml
  124. files:
  125. - playbooks/service-eavesdrop.yaml
  126. - playbooks/run-accessbot.yaml
  127. - inventory/service/group_vars/eavesdrop.yaml
  128. - inventory/service/group_vars/puppet.yaml
  129. - playbooks/roles/zuul-user
  130. - playbooks/roles/install-docker
  131. - playbooks/roles/puppet-install/
  132. - playbooks/roles/disable-puppet-agent/
  133. - playbooks/roles/accessbot
  134. - playbooks/roles/logrotate
  135. - playbooks/zuul/templates/group_vars/eavesdrop.yaml.j2
  136. - modules/openstack_project/manifests/eavesdrop.pp
  137. - manifests/eavesdrop.pp
  138. - docker/accessbot/
  139. - testinfra/test_eavesdrop.py
  140. - job:
  141. name: system-config-run-codesearch
  142. parent: system-config-run
  143. description: |
  144. Run the playbook for an codesearch server.
  145. nodeset:
  146. nodes:
  147. - name: bridge.openstack.org
  148. label: ubuntu-bionic
  149. - name: codesearch01.openstack.org
  150. label: ubuntu-xenial
  151. required-projects:
  152. - opendev/ansible-role-puppet
  153. - opendev/system-config
  154. - openstack/project-config
  155. files:
  156. - playbooks/install-ansible.yaml
  157. - playbooks/service-codesearch.yaml
  158. - inventory/service/group_vars/puppet.yaml
  159. - playbooks/roles/run-puppet/
  160. - playbooks/roles/install-ansible-roles/
  161. - playbooks/roles/sync-project-config
  162. - playbooks/roles/puppet-install/
  163. - playbooks/roles/disable-puppet-agent/
  164. - modules/openstack_project/manifests/codesearch.pp
  165. - modules/openstack_project/files/resync-hound-config.sh
  166. - manifests/codesearch.pp
  167. vars:
  168. run_playbooks:
  169. - playbooks/service-codesearch.yaml
  170. - job:
  171. name: system-config-run-letsencrypt
  172. parent: system-config-run
  173. description: |
  174. Run the playbook for letsencrypt key acquisition
  175. nodeset:
  176. nodes:
  177. - name: bridge.openstack.org
  178. label: ubuntu-bionic
  179. - name: adns-letsencrypt.opendev.org
  180. label: ubuntu-bionic
  181. - name: letsencrypt01.opendev.org
  182. label: ubuntu-bionic
  183. - name: letsencrypt02.opendev.org
  184. label: ubuntu-bionic
  185. vars:
  186. run_playbooks:
  187. - playbooks/service-nameserver.yaml
  188. - playbooks/letsencrypt.yaml
  189. host-vars:
  190. bridge.openstack.org:
  191. host_copy_output:
  192. '/var/lib/certcheck': logs
  193. letsencrypt01.opendev.org:
  194. host_copy_output:
  195. '/var/log/acme.sh': logs
  196. letsencrypt02.opendev.org:
  197. host_copy_output:
  198. '/var/log/acme.sh': logs
  199. files:
  200. - playbooks/install-ansible.yaml
  201. - inventory/service/group_vars/letsencrypt.yaml
  202. - playbooks/roles/letsencrypt
  203. - job:
  204. name: system-config-run-lists
  205. parent: system-config-run
  206. description: |
  207. Run the playbook for a list server.
  208. nodeset:
  209. nodes:
  210. - name: bridge.openstack.org
  211. label: ubuntu-bionic
  212. - name: lists.openstack.org
  213. label: ubuntu-xenial
  214. required-projects:
  215. - opendev/ansible-role-puppet
  216. - opendev/system-config
  217. files:
  218. - playbooks/install-ansible.yaml
  219. - modules/openstack_project/manifests/lists.pp
  220. - inventory/service/host_vars/lists.openstack.org.yaml
  221. - inventory/service/group_vars/puppet
  222. - playbooks/roles/run-puppet/
  223. - playbooks/roles/install-ansible-roles/
  224. - playbooks/roles/base/exim
  225. vars:
  226. run_playbooks:
  227. - playbooks/remote_puppet_else.yaml
  228. - job:
  229. name: system-config-run-nodepool
  230. parent: system-config-run
  231. description: |
  232. Run the playbook for nodepool.
  233. timeout: 3600
  234. nodeset:
  235. nodes:
  236. - name: bridge.openstack.org
  237. label: ubuntu-bionic
  238. - name: zk01.opendev.org
  239. label: ubuntu-bionic
  240. - name: nl01.openstack.org
  241. label: ubuntu-xenial
  242. - name: nb04.opendev.org
  243. label: ubuntu-bionic
  244. required-projects:
  245. - opendev/ansible-role-puppet
  246. - opendev/system-config
  247. - openstack/project-config
  248. host-vars:
  249. nl01.openstack.org:
  250. host_copy_output:
  251. '/etc/nodepool/nodepool.yaml': logs
  252. '/var/log/nodepool/launcher-debug.log': logs
  253. nb04.opendev.org:
  254. host_copy_output:
  255. '/etc/nodepool/nodepool.yaml': logs
  256. '/var/log/nodepool/builder-debug.log': logs
  257. vars:
  258. run_playbooks:
  259. - playbooks/letsencrypt.yaml
  260. - playbooks/service-zookeeper.yaml
  261. - playbooks/service-nodepool.yaml
  262. - playbooks/remote_puppet_else.yaml
  263. # Test our ad hoc restart playbook works
  264. - playbooks/nodepool_restart.yaml
  265. files:
  266. - playbooks/install-ansible.yaml
  267. - inventory/service/group_vars/nodepool.yaml
  268. - inventory/service/group_vars/nodepool-builder.yaml
  269. - inventory/service/group_vars/nodepool-launcher.yaml
  270. - inventory/service/group_vars/puppet
  271. - playbooks/roles/run-puppet/
  272. - playbooks/roles/install-ansible-roles/
  273. - playbooks/roles/configure-openstacksdk/
  274. - playbooks/roles/nodepool
  275. - playbooks/templates/clouds/
  276. - playbooks/nodepool_restart.yaml
  277. - testinfra/test_nodepool.py
  278. - job:
  279. name: system-config-run-dns
  280. parent: system-config-run
  281. description: |
  282. Run the playbook for dns.
  283. required-projects:
  284. - opendev/zone-opendev.org
  285. - opendev/zone-zuul-ci.org
  286. nodeset:
  287. nodes:
  288. - name: bridge.openstack.org
  289. label: ubuntu-bionic
  290. - name: adns1.opendev.org
  291. label: ubuntu-bionic
  292. - name: ns1.opendev.org
  293. label: ubuntu-bionic
  294. vars:
  295. run_playbooks:
  296. - playbooks/service-nameserver.yaml
  297. host-vars:
  298. adns1.opendev.org:
  299. host_copy_output:
  300. '/etc/bind/named.conf': logs
  301. '/var/lib/bind/zones': logs
  302. files:
  303. - playbooks/install-ansible.yaml
  304. - inventory/service/group_vars/adns.yaml
  305. - inventory/service/group_vars/dns.yaml
  306. - inventory/service/host_vars/(ad)?ns\d+.opendev.org.yaml
  307. - playbooks/zuul/templates/group_vars/adns.yaml.j2
  308. - playbooks/zuul/templates/group_vars/ns.yaml.j2
  309. - playbooks/roles/master-nameserver/
  310. - playbooks/roles/nameserver/
  311. - testinfra/test_adns.py
  312. - testinfra/test_ns.py
  313. - job:
  314. name: system-config-run-backup
  315. parent: system-config-run
  316. description: |
  317. Run the playbook for backup configuration
  318. nodeset:
  319. nodes:
  320. - name: bridge.openstack.org
  321. label: ubuntu-bionic
  322. - name: backup01.region.provider.opendev.org
  323. label: ubuntu-bionic
  324. - name: backup-test01.opendev.org
  325. label: ubuntu-bionic
  326. - name: backup-test02.opendev.org
  327. label: ubuntu-xenial
  328. vars:
  329. run_playbooks:
  330. - playbooks/service-backup.yaml
  331. files:
  332. - playbooks/install-ansible.yaml
  333. - playbooks/roles/backup
  334. - playbooks/zuul/templates/host_vars/backup
  335. - testinfra/test_backups.py
  336. - job:
  337. name: system-config-run-mirror-base
  338. parent: system-config-run
  339. abstract: true
  340. description: |
  341. Run the playbook for a mirror node
  342. vars:
  343. run_playbooks:
  344. - playbooks/letsencrypt.yaml
  345. - playbooks/service-mirror.yaml
  346. host-vars:
  347. mirror01.openafs.provider.opendev.org:
  348. host_copy_output:
  349. '/var/log/apache2/': logs
  350. '/var/log/acme.sh': logs
  351. '/etc/apache2/sites-available/mirror.conf': logs
  352. mirror02.openafs.provider.opendev.org:
  353. host_copy_output:
  354. '/var/log/apache2/': logs
  355. '/var/log/acme.sh': logs
  356. '/etc/apache2/sites-available/mirror.conf': logs
  357. files:
  358. - playbooks/install-ansible.yaml
  359. - roles/
  360. - playbooks/roles/base/
  361. - inventory/service/group_vars/mirror.yaml
  362. - playbooks/roles/mirror/
  363. - playbooks/roles/letsencrypt
  364. - playbooks/letsencrypt.yaml
  365. - playbooks/service-mirror.yaml
  366. - playbooks/zuul/templates/group_vars/mirror.yaml.j2
  367. - testinfra/test_mirror.py
  368. - job:
  369. name: system-config-run-mirror-x86
  370. parent: system-config-run-mirror-base
  371. timeout: 3600
  372. nodeset:
  373. nodes:
  374. - name: bridge.openstack.org
  375. label: ubuntu-bionic
  376. - name: mirror01.openafs.provider.opendev.org
  377. label: ubuntu-bionic
  378. - name: mirror02.openafs.provider.opendev.org
  379. label: ubuntu-focal
  380. - job:
  381. name: system-config-run-mirror-arm64
  382. parent: system-config-run-mirror-base
  383. timeout: 3600
  384. nodeset:
  385. nodes:
  386. - name: bridge.openstack.org
  387. label: ubuntu-bionic-arm64
  388. - name: mirror01.openafs.provider.opendev.org
  389. label: ubuntu-focal-arm64
  390. - job:
  391. name: system-config-run-mirror-update
  392. parent: system-config-run
  393. description: |
  394. Run the playbook for a mirror update node
  395. nodeset:
  396. nodes:
  397. - name: bridge.openstack.org
  398. label: ubuntu-bionic
  399. - name: mirror-update01.opendev.org
  400. label: ubuntu-focal
  401. vars:
  402. run_playbooks:
  403. - playbooks/service-mirror-update.yaml
  404. files:
  405. - playbooks/install-ansible.yaml
  406. - roles/
  407. - playbooks/roles/mirror-update/
  408. - playbooks/service-mirror-update.yaml
  409. - testinfra/test_mirror-update.py
  410. - job:
  411. name: system-config-run-docker-registry
  412. parent: system-config-run
  413. description: |
  414. Run the playbook for the docker registry.
  415. nodeset:
  416. nodes:
  417. - name: bridge.openstack.org
  418. label: ubuntu-bionic
  419. - name: insecure-ci-registry01.opendev.org
  420. label: ubuntu-bionic
  421. vars:
  422. run_playbooks:
  423. - playbooks/letsencrypt.yaml
  424. - playbooks/service-registry.yaml
  425. host-vars:
  426. insecure-ci-registry01.opendev.org:
  427. host_copy_output:
  428. '/var/registry/auth': logs
  429. '/var/registry/certs': logs
  430. files:
  431. - playbooks/install-ansible.yaml
  432. - inventory/service/group_vars/registry.yaml
  433. - inventory/service/host_vars/insecure-ci-registry\d+.opendev.org.yaml
  434. - playbooks/zuul/templates/group_vars/registry.yaml.j2
  435. - playbooks/roles/letsencrypt-create-certs/handlers/restart_zuul_registry.yaml
  436. - playbooks/roles/registry/
  437. - playbooks/roles/pip3/
  438. - playbooks/roles/install-docker/
  439. - testinfra/test_registry.py
  440. - job:
  441. name: system-config-run-etherpad
  442. parent: system-config-run-containers
  443. description: |
  444. Run the playbook for the etherpad servers.
  445. timeout: 3600
  446. requires: etherpad-container-image
  447. nodeset:
  448. nodes:
  449. - name: bridge.openstack.org
  450. label: ubuntu-bionic
  451. - name: etherpad01.opendev.org
  452. label: ubuntu-bionic
  453. vars:
  454. run_playbooks:
  455. - playbooks/letsencrypt.yaml
  456. - playbooks/service-etherpad.yaml
  457. files:
  458. - playbooks/bridge.yaml
  459. - playbooks/letsencrypt.yaml
  460. - playbooks/service-etherpad.yaml
  461. - playbooks/roles/etherpad/
  462. - playbooks/roles/install-docker/
  463. - playbooks/roles/pip3/
  464. - docker/etherpad/
  465. - testinfra/test_etherpad.py
  466. - job:
  467. name: system-config-run-gitea
  468. parent: system-config-run-containers
  469. description: |
  470. Run the playbook for the gitea servers.
  471. timeout: 3600
  472. nodeset:
  473. nodes:
  474. - name: bridge.openstack.org
  475. label: ubuntu-bionic
  476. - name: gitea-lb01.opendev.org
  477. label: ubuntu-bionic
  478. - name: gitea99.opendev.org
  479. label: ubuntu-bionic
  480. required-projects:
  481. - openstack/project-config
  482. - opendev/system-config
  483. vars:
  484. run_playbooks:
  485. - playbooks/letsencrypt.yaml
  486. - playbooks/service-gitea-lb.yaml
  487. - playbooks/service-gitea.yaml
  488. - playbooks/manage-projects.yaml
  489. # Run twice to ensure that we noop properly when
  490. # all projects are created in gitea.
  491. - playbooks/manage-projects.yaml
  492. run_test_playbook: playbooks/test-gitea.yaml
  493. host-vars:
  494. gitea99.opendev.org:
  495. host_copy_output:
  496. '/var/gitea/conf': logs
  497. '/var/gitea/certs': logs
  498. '/var/gitea/logs': logs
  499. gitea-lb01.opendev.org:
  500. host_copy_output:
  501. '/var/haproxy/etc': logs
  502. files:
  503. - playbooks/install-ansible.yaml
  504. - playbooks/letsencrypt.yaml
  505. - playbooks/service-gitea-lb.yaml
  506. - playbooks/service-gitea.yaml
  507. - playbooks/manage-projects.yaml
  508. - playbooks/test-gitea.yaml
  509. - inventory/service/group_vars/gitea.yaml
  510. - inventory/service/group_vars/gitea-lb.yaml
  511. - inventory/service/host_vars/gitea
  512. - playbooks/zuul/templates/group_vars/gitea.yaml.j2
  513. - playbooks/zuul/templates/group_vars/gitea-lb.yaml.j2
  514. - playbooks/roles/pip3/
  515. - playbooks/roles/install-docker/
  516. - playbooks/roles/letsencrypt
  517. - playbooks/roles/gerrit/
  518. - playbooks/roles/gitea/
  519. - playbooks/roles/gitea-git-repos/
  520. - playbooks/roles/haproxy/
  521. - playbooks/roles/letsencrypt-create-certs/handlers/restart_gitea.yaml
  522. - testinfra/test_gitea.py
  523. - testinfra/test_gitea_lb.py
  524. # From gitea_files -- If we rebuild the image, we want to run
  525. # this job as well.
  526. - docker/gitea/
  527. # From haproxy-statsd_files -- If we rebuild the image, we want
  528. # to run this job as well.
  529. - docker/haproxy-statsd/
  530. - job:
  531. name: system-config-run-grafana
  532. parent: system-config-run-containers
  533. description: |
  534. Run the playbook for the etherpad servers.
  535. timeout: 3600
  536. requires: grafana-container-image
  537. required-projects:
  538. - opendev/system-config
  539. - openstack/project-config
  540. nodeset:
  541. nodes:
  542. - name: bridge.openstack.org
  543. label: ubuntu-bionic
  544. - name: grafana01.opendev.org
  545. label: ubuntu-focal
  546. vars:
  547. run_playbooks:
  548. - playbooks/letsencrypt.yaml
  549. - playbooks/service-grafana.yaml
  550. files:
  551. - playbooks/bridge.yaml
  552. - playbooks/letsencrypt.yaml
  553. - playbooks/service-grafana.yaml
  554. - playbooks/roles/grafana/
  555. - playbooks/roles/install-docker/
  556. - playbooks/roles/pip3/
  557. - docker/grafana/
  558. - testinfra/test_grafana.py
  559. - job:
  560. name: system-config-run-graphite
  561. parent: system-config-run
  562. description: |
  563. Run the playbook for the graphite servers.
  564. timeout: 3600
  565. required-projects:
  566. - opendev/system-config
  567. nodeset:
  568. nodes:
  569. - name: bridge.openstack.org
  570. label: ubuntu-bionic
  571. # NOTE(ianw): 01 is a half-puppet opendev.org
  572. # server
  573. - name: graphite02.opendev.org
  574. label: ubuntu-focal
  575. vars:
  576. run_playbooks:
  577. - playbooks/letsencrypt.yaml
  578. - playbooks/service-graphite.yaml
  579. host-vars:
  580. graphite02.opendev.org:
  581. host_copy_output:
  582. '/var/log/graphite': logs
  583. files:
  584. - playbooks/bridge.yaml
  585. - playbooks/letsencrypt.yaml
  586. - playbooks/service-graphite.yaml
  587. - playbooks/roles/graphite
  588. - playbooks/roles/install-docker/
  589. - playbooks/roles/pip3/
  590. - testinfra/test_graphite.py
  591. - job:
  592. name: system-config-run-meetpad
  593. parent: system-config-run-containers
  594. requires: jitsi-meet-container-image
  595. description: |
  596. Run the playbook for jitsi-meet.
  597. nodeset:
  598. nodes:
  599. - name: bridge.openstack.org
  600. label: ubuntu-bionic
  601. - name: meetpad01.opendev.org
  602. label: ubuntu-bionic
  603. - name: jvb01.opendev.org
  604. label: ubuntu-bionic
  605. vars:
  606. run_playbooks:
  607. - playbooks/letsencrypt.yaml
  608. - playbooks/service-meetpad.yaml
  609. host-vars:
  610. meetpad01.opendev.org:
  611. host_copy_output:
  612. '/var/jitsi-meet': logs
  613. jvb01.opendev.org:
  614. host_copy_output:
  615. '/var/jitsi-meet': logs
  616. files:
  617. - playbooks/install-ansible.yaml
  618. - inventory/service/group_vars/meetpad.yaml
  619. - inventory/service/host_vars/meetpad\d+.opendev.org.yaml
  620. - playbooks/roles/letsencrypt-create-certs/handlers/restart_jitsi_meet.yaml
  621. - playbooks/roles/jitsi-meet/
  622. - playbooks/roles/pip3/
  623. - playbooks/roles/install-docker/
  624. - playbooks/zuul/templates/group_vars/meetpad.yaml.j2
  625. - testinfra/test_meetpad.py
  626. - docker/jitsi-meet/
  627. - job:
  628. name: system-config-run-zookeeper
  629. parent: system-config-run
  630. description: |
  631. Run the playbook for the zookeeper cluster.
  632. nodeset:
  633. nodes:
  634. - name: bridge.openstack.org
  635. label: ubuntu-bionic
  636. - name: zk01.opendev.org
  637. label: ubuntu-bionic
  638. vars:
  639. run_playbooks:
  640. - playbooks/service-zookeeper.yaml
  641. files:
  642. - playbooks/install-ansible.yaml
  643. - inventory/service/group_vars/zookeeper.yaml
  644. - ^inventory/service/host_vars/zk\d+\..*
  645. - playbooks/roles/zookeeper/
  646. - playbooks/roles/pip3/
  647. - playbooks/roles/install-docker/
  648. - testinfra/test_zookeeper.py
  649. - job:
  650. name: system-config-run-zuul-preview
  651. parent: system-config-run
  652. description: |
  653. Run the playbook for the zuul-preview service.
  654. nodeset:
  655. nodes:
  656. - name: bridge.openstack.org
  657. label: ubuntu-bionic
  658. - name: zp01.opendev.org
  659. label: ubuntu-bionic
  660. vars:
  661. run_playbooks:
  662. - playbooks/service-zuul-preview.yaml
  663. files:
  664. - playbooks/install-ansible.yaml
  665. - playbooks/roles/zuul-preview/
  666. - playbooks/roles/pip3/
  667. - playbooks/roles/install-docker/
  668. - testinfra/test_zuul_preview.py
  669. - job:
  670. name: system-config-run-zuul
  671. parent: system-config-run
  672. description: |
  673. Run the playbook for the main Zuul cluster.
  674. timeout: 3600
  675. nodeset:
  676. nodes:
  677. - name: bridge.openstack.org
  678. label: ubuntu-bionic
  679. - name: zk01.opendev.org
  680. label: ubuntu-bionic
  681. - name: zm01.openstack.org
  682. label: ubuntu-xenial
  683. - name: ze01.opendev.org
  684. label: ubuntu-focal
  685. - name: ze01.openstack.org
  686. label: ubuntu-xenial
  687. - name: zuul01.openstack.org
  688. label: ubuntu-xenial
  689. required-projects:
  690. - openstack/project-config
  691. - opendev/system-config
  692. vars:
  693. run_playbooks:
  694. - playbooks/letsencrypt.yaml
  695. - playbooks/service-zookeeper.yaml
  696. - playbooks/service-zuul.yaml
  697. # Test our ad hoc restart playbook works
  698. - playbooks/zuul_restart.yaml
  699. host-vars:
  700. zm01.openstack.org:
  701. host_copy_output:
  702. '/etc/hosts': logs
  703. '/etc/zuul/zuul.conf': logs
  704. '/var/log/zuul/merger-debug.log': logs
  705. ze01.opendev.org:
  706. host_copy_output:
  707. '/etc/hosts': logs
  708. '/etc/zuul/zuul.conf': logs
  709. '/var/log/zuul/executor-debug.log': logs
  710. ze01.openstack.org:
  711. host_copy_output:
  712. '/etc/hosts': logs
  713. '/etc/zuul/zuul.conf': logs
  714. '/var/log/zuul/executor-debug.log': logs
  715. zuul01.openstack.org:
  716. host_copy_output:
  717. '/etc/hosts': logs
  718. '/etc/zuul/zuul.conf': logs
  719. '/var/log/zuul/debug.log': logs
  720. bridge.openstack.org:
  721. host_copy_output:
  722. '/etc/hosts': logs
  723. files:
  724. - playbooks/install-ansible.yaml
  725. - playbooks/service-zookeeper.yaml
  726. - playbooks/service-zuul.yaml
  727. - inventory/service/group_vars/zuul
  728. - inventory/service/group_vars/zookeeper.yaml
  729. - inventory/service/host_vars/zk\d+
  730. - inventory/service/host_vars/zuul01.openstack.org
  731. - playbooks/roles/zookeeper/
  732. - playbooks/roles/install-apt-repo
  733. - playbooks/roles/zuul
  734. - playbooks/zuul/templates/group_vars/zuul
  735. - playbooks/zuul/templates/group_vars/zookeeper.yaml
  736. - playbooks/zuul/templates/host_vars/zk\d+
  737. - playbooks/zuul/templates/host_vars/zuul01.openstack.org
  738. - playbooks/zuul_restart.yaml
  739. - testinfra/test_zuul_executor.py
  740. - testinfra/test_zuul_scheduler.py
  741. - testinfra/test_zuul_merger.py
  742. - testinfra/util.py
  743. - job:
  744. name: system-config-run-review
  745. parent: system-config-run-containers
  746. description: |
  747. Run the playbook for gerrit (in a container).
  748. requires: gerrit-2.13-container-image
  749. nodeset:
  750. nodes:
  751. - name: bridge.openstack.org
  752. label: ubuntu-bionic
  753. - name: review01.openstack.org
  754. label: ubuntu-xenial
  755. - name: review-dev01.opendev.org
  756. label: ubuntu-xenial
  757. required-projects:
  758. - openstack/project-config
  759. - opendev/system-config
  760. vars:
  761. run_playbooks:
  762. - playbooks/letsencrypt.yaml
  763. - playbooks/service-review-dev.yaml
  764. - playbooks/service-review.yaml
  765. host-vars:
  766. review-dev01.opendev.org:
  767. host_copy_output:
  768. '/home/gerrit2/review_site/etc': logs
  769. '/home/gerrit2/review_site/logs': logs
  770. '/var/log/apache2/': logs
  771. '/var/log/acme.sh': logs
  772. review01.openstack.org:
  773. host_copy_output:
  774. '/home/gerrit2/review_site/etc': logs
  775. '/home/gerrit2/review_site/logs': logs
  776. '/var/log/apache2/': logs
  777. '/var/log/acme.sh': logs
  778. files:
  779. - playbooks/install-ansible.yaml
  780. - playbooks/letsencrypt.yaml
  781. - playbooks/service-review.*.yaml
  782. - inventory/service/group_vars/review.yaml
  783. - inventory/service/host_vars/review\d+.openstack.org.yaml
  784. - inventory/service/group_vars/review-dev.yaml
  785. - inventory/service/host_vars/review-dev\d+.opendev.org.yaml
  786. - playbooks/roles/pip3/
  787. - playbooks/roles/install-docker/
  788. - playbooks/roles/letsencrypt
  789. - playbooks/roles/gerrit/
  790. - playbooks/zuul/templates/group_vars/review-dev.yaml.j2
  791. - playbooks/zuul/templates/group_vars/review.yaml.j2
  792. - testinfra/test_gerrit.py
  793. - docker/gerrit/2.13/
  794. - job:
  795. name: system-config-run-static
  796. parent: system-config-run
  797. description: |
  798. Run the playbook for a static node.
  799. timeout: 3600
  800. nodeset:
  801. nodes:
  802. - name: bridge.openstack.org
  803. label: ubuntu-bionic
  804. - name: static01.opendev.org
  805. label: ubuntu-bionic
  806. vars:
  807. run_playbooks:
  808. - playbooks/letsencrypt.yaml
  809. - playbooks/service-static.yaml
  810. files:
  811. - playbooks/install-ansible.yaml
  812. - playbooks/roles/static/
  813. - playbooks/roles/letsencrypt
  814. - playbooks/letsencrypt.yaml
  815. - playbooks/service-static.yaml
  816. - testinfra/test_static.py
  817. host-vars:
  818. static01.opendev.org:
  819. host_copy_output:
  820. '/var/log/acme.sh/': logs
  821. '/etc/apache2/': logs
  822. '/var/log/apache2/': logs