Manage a pool of nodes for a distributed test 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.

.zuul.yaml 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. - job:
  2. name: nodepool-zuul-functional
  3. parent: tox
  4. description: |
  5. Test that zuul works with current nodepool sources.
  6. This test runs the zuul project ``nodepool`` environment.
  7. pre-run: playbooks/nodepool-zuul-functional/pre.yaml
  8. post-run: playbooks/nodepool-zuul-functional/post.yaml
  9. required-projects:
  10. - openstack-infra/nodepool
  11. - openstack-infra/zuul
  12. vars:
  13. zuul_work_dir: "{{ zuul.projects['git.openstack.org/openstack-infra/zuul'].src_dir }}"
  14. tox_envlist: nodepool
  15. # NOTE(ianw): this job doesn't really do anything unless you set
  16. # "NODEPOOL_PAUSE_something_DIB: false" to unpause one or more builds.
  17. - job:
  18. name: nodepool-functional-base
  19. parent: devstack
  20. # NOTE(ianw): for now, keep these jobs as Xenial only. We will
  21. # add bionic variants, but we want to keep Xenial testing around
  22. # whilst we still run Xenial for upstream nodepool-builders too
  23. nodeset: openstack-single-node-xenial
  24. pre-run: playbooks/nodepool-functional-base/pre.yaml
  25. post-run: playbooks/nodepool-functional-base/post.yaml
  26. timeout: 5400
  27. required-projects:
  28. - openstack-infra/nodepool
  29. vars:
  30. devstack_localrc:
  31. USE_PYTHON3: True
  32. devstack_services:
  33. horizon: false
  34. ceilometer-acentral: false
  35. ceilometer-acompute: false
  36. ceilometer-alarm-evaluator: false
  37. ceilometer-alarm-notifier: false
  38. ceilometer-anotification: false
  39. ceilometer-api: false
  40. ceilometer-collector: false
  41. cinder: false
  42. c-bak: false
  43. c-sch: false
  44. c-api: false
  45. c-vol: false
  46. s-account: false
  47. s-container: false
  48. s-object: false
  49. s-proxy: false
  50. # Nodepool doesn't need vnc access
  51. n-novnc: false
  52. # Nodepool testing uses config drive only
  53. n-api-meta: false
  54. q-meta: false
  55. devstack_plugins:
  56. nodepool: https://git.openstack.org/openstack-infra/nodepool
  57. zuul_copy_output:
  58. '/var/log/nodepool/builds': 'logs'
  59. - job:
  60. name: nodepool-functional-py35
  61. parent: nodepool-functional-base
  62. description: |
  63. Run nodepool functional tests for py35
  64. run: playbooks/nodepool-functional-py35/run.yaml
  65. vars:
  66. devstack_localrc:
  67. NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB: false
  68. - job:
  69. name: nodepool-functional-py35-src-base
  70. parent: nodepool-functional-base
  71. run: playbooks/nodepool-functional-py35-src/run.yaml
  72. required-projects:
  73. - openstack-infra/glean
  74. - openstack-infra/nodepool
  75. - openstack/diskimage-builder
  76. - openstack/openstacksdk
  77. - job:
  78. name: nodepool-functional-py35-src
  79. parent: nodepool-functional-py35-src-base
  80. vars:
  81. devstack_localrc:
  82. NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB: false
  83. # Distro functional tests. This is used by projects such as
  84. # diskimage-builder and glean as live-boot tests
  85. - job:
  86. name: nodepool-functional-py35-redhat-src
  87. parent: nodepool-functional-py35-src-base
  88. vars:
  89. devstack_localrc:
  90. NODEPOOL_PAUSE_CENTOS_7_DIB: false
  91. NODEPOOL_PAUSE_FEDORA_29_DIB: false
  92. - job:
  93. name: nodepool-functional-py35-suse-src
  94. parent: nodepool-functional-py35-src-base
  95. vars:
  96. devstack_localrc:
  97. NODEPOOL_PAUSE_OPENSUSE_423_DIB: false
  98. NODEPOOL_PAUSE_OPENSUSE_150_DIB: false
  99. NODEPOOL_PAUSE_OPENSUSE_TUMBLEWEED_DIB: false
  100. - job:
  101. name: nodepool-functional-py35-gentoo-src
  102. parent: nodepool-functional-py35-src-base
  103. vars:
  104. devstack_localrc:
  105. NODEPOOL_PAUSE_GENTOO_17_0_SYSTEMD_DIB: false
  106. - job:
  107. name: nodepool-functional-py35-ubuntu-src
  108. parent: nodepool-functional-py35-src-base
  109. vars:
  110. devstack_localrc:
  111. NODEPOOL_PAUSE_UBUNTU_BIONIC_DIB: false
  112. NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB: false
  113. NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB: false
  114. - job:
  115. name: nodepool-functional-py35-debian-src
  116. parent: nodepool-functional-py35-src-base
  117. vars:
  118. devstack_localrc:
  119. NODEPOOL_PAUSE_DEBIAN_STRETCH_DIB: false
  120. - job:
  121. description: |
  122. Test that nodepool works with kubernetes.
  123. name: nodepool-functional-k8s
  124. pre-run: playbooks/nodepool-functional-k8s/pre.yaml
  125. run: playbooks/nodepool-functional-k8s/run.yaml
  126. post-run: playbooks/nodepool-functional-k8s/post.yaml
  127. nodeset: ubuntu-xenial
  128. required-projects:
  129. - openstack-infra/nodepool
  130. - job:
  131. description: |
  132. Test that nodepool works with openshift.
  133. name: nodepool-functional-openshift
  134. pre-run: playbooks/nodepool-functional-openshift/pre.yaml
  135. run: playbooks/nodepool-functional-openshift/run.yaml
  136. nodeset:
  137. nodes:
  138. - name: cluster
  139. label: centos-7
  140. - name: launcher
  141. label: fedora-28
  142. required-projects:
  143. - openstack-infra/nodepool
  144. - project:
  145. check:
  146. jobs:
  147. - tox-docs
  148. - tox-pep8
  149. - tox-py35
  150. - tox-py36:
  151. nodeset: ubuntu-bionic
  152. - nodepool-zuul-functional:
  153. voting: false
  154. - nodepool-functional-py35:
  155. voting: false
  156. - nodepool-functional-py35-src:
  157. voting: false
  158. - nodepool-functional-k8s
  159. - nodepool-functional-openshift
  160. - pbrx-build-container-images:
  161. vars:
  162. pbrx_prefix: zuul
  163. - zuul-quick-start
  164. gate:
  165. jobs:
  166. - tox-docs
  167. - tox-pep8
  168. - tox-py35
  169. - tox-py36:
  170. nodeset: ubuntu-bionic
  171. - pbrx-build-container-images:
  172. vars:
  173. pbrx_prefix: zuul
  174. - zuul-quick-start
  175. post:
  176. jobs:
  177. - publish-zuul-docs
  178. - openstackzuul-pbrx-push-container-images:
  179. vars:
  180. pbrx_prefix: zuul
  181. experimental:
  182. jobs:
  183. - nodepool-functional-py35-debian-src
  184. release:
  185. jobs:
  186. - release-zuul-python
  187. - publish-zuul-docs