Unified SDK for OpenStack
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 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. - job:
  2. name: openstacksdk-tox-py36-tips
  3. parent: openstack-tox-py36
  4. description: |
  5. Run tox python 36 unittests against master of important libs
  6. vars:
  7. tox_install_siblings: true
  8. zuul_work_dir: src/opendev.org/openstack/openstacksdk
  9. # openstacksdk in required-projects so that osc and keystoneauth
  10. # can add the job as well
  11. required-projects:
  12. - openstack/keystoneauth
  13. - openstack/openstacksdk
  14. - openstack/os-client-config
  15. - project-template:
  16. name: openstacksdk-tox-tips
  17. check:
  18. jobs:
  19. - openstacksdk-tox-py36-tips
  20. gate:
  21. jobs:
  22. - openstacksdk-tox-py36-tips
  23. - job:
  24. name: openstacksdk-functional-devstack-minimum
  25. parent: devstack-tox-functional
  26. description: |
  27. Minimum job for devstack-based functional tests
  28. post-run: playbooks/devstack/post.yaml
  29. roles:
  30. # NOTE: We pull in roles from the tempest repo for stackviz processing.
  31. - zuul: opendev.org/openstack/tempest
  32. required-projects:
  33. # These jobs will DTRT when openstacksdk triggers them, but we want to
  34. # make sure stable branches of openstacksdk never get cloned by other
  35. # people, since stable branches of openstacksdk are, well, not actually
  36. # things.
  37. - name: openstack/openstacksdk
  38. override-branch: master
  39. - name: openstack/os-client-config
  40. override-branch: master
  41. timeout: 9000
  42. vars:
  43. devstack_localrc:
  44. Q_ML2_PLUGIN_EXT_DRIVERS: qos,port_security
  45. devstack_services:
  46. # sdk doesn't need vnc access
  47. n-cauth: false
  48. n-novnc: false
  49. # sdk testing uses config drive only
  50. n-api-meta: false
  51. q-meta: false
  52. tox_environment:
  53. # Do we really need to set this? It's cargo culted
  54. PYTHONUNBUFFERED: 'true'
  55. # Is there a way we can query the localconf variable to get these
  56. # rather than setting them explicitly?
  57. OPENSTACKSDK_HAS_DESIGNATE: 0
  58. OPENSTACKSDK_HAS_HEAT: 0
  59. OPENSTACKSDK_HAS_MAGNUM: 0
  60. OPENSTACKSDK_HAS_NEUTRON: 1
  61. OPENSTACKSDK_HAS_SWIFT: 1
  62. tox_install_siblings: false
  63. tox_envlist: functional
  64. zuul_copy_output:
  65. '{{ ansible_user_dir }}/stackviz': logs
  66. zuul_work_dir: src/opendev.org/openstack/openstacksdk
  67. - job:
  68. name: openstacksdk-functional-devstack-base
  69. parent: openstacksdk-functional-devstack-minimum
  70. description: |
  71. Base job for devstack-based functional tests
  72. vars:
  73. devstack_plugins:
  74. neutron: https://opendev.org/openstack/neutron
  75. devstack_local_conf:
  76. post-config:
  77. $CINDER_CONF:
  78. DEFAULT:
  79. osapi_max_limit: 6
  80. - job:
  81. name: openstacksdk-functional-devstack-legacy
  82. parent: openstacksdk-functional-devstack-base
  83. description: |
  84. Run openstacksdk functional tests against a legacy devstack
  85. voting: false
  86. vars:
  87. devstack_localrc:
  88. ENABLE_IDENTITY_V2: true
  89. FLAT_INTERFACE: br_flat
  90. PUBLIC_INTERFACE: br_pub
  91. tox_environment:
  92. OPENSTACKSDK_USE_KEYSTONE_V2: 1
  93. OPENSTACKSDK_HAS_NEUTRON: 0
  94. override-branch: stable/newton
  95. - job:
  96. name: openstacksdk-functional-devstack
  97. parent: openstacksdk-functional-devstack-base
  98. description: |
  99. Run openstacksdk functional tests against a master devstack
  100. required-projects:
  101. - openstack/heat
  102. vars:
  103. devstack_localrc:
  104. DISABLE_AMP_IMAGE_BUILD: true
  105. Q_SERVICE_PLUGIN_CLASSES: qos,trunk
  106. devstack_plugins:
  107. heat: https://opendev.org/openstack/heat
  108. tox_environment:
  109. OPENSTACKSDK_HAS_HEAT: 1
  110. devstack_services:
  111. neutron-qos: true
  112. neutron-trunk: true
  113. neutron-port-forwarding: true
  114. - job:
  115. name: openstacksdk-functional-devstack-networking
  116. parent: openstacksdk-functional-devstack
  117. description: |
  118. Run openstacksdk functional tests against a devstack with advanced
  119. networking services enabled.
  120. required-projects:
  121. - openstack/designate
  122. - openstack/neutron-fwaas
  123. - openstack/octavia
  124. vars:
  125. devstack_local_conf:
  126. post-config:
  127. $OCTAVIA_CONF:
  128. DEFAULT:
  129. debug: true
  130. controller_worker:
  131. amphora_driver: amphora_noop_driver
  132. compute_driver: compute_noop_driver
  133. network_driver: network_noop_driver
  134. certificates:
  135. cert_manager: local_cert_manager
  136. $NEUTRON_CONF:
  137. fwaas:
  138. agent_version: v2
  139. driver: iptables_v2
  140. enabled: true
  141. firewall_l2_driver: ovs
  142. devstack_localrc:
  143. Q_SERVICE_PLUGIN_CLASSES: qos,trunk,firewall_v2
  144. devstack_plugins:
  145. designate: https://opendev.org/openstack/designate
  146. octavia: https://opendev.org/openstack/octavia
  147. neutron-fwaas: https://opendev.org/openstack/neutron-fwaas
  148. devstack_services:
  149. designate: true
  150. octavia: true
  151. o-api: true
  152. o-cw: true
  153. o-hm: true
  154. o-hk: true
  155. neutron-dns: true
  156. neutron-fwaas-v2: true
  157. s-account: false
  158. s-container: false
  159. s-object: false
  160. s-proxy: false
  161. h-eng: false
  162. h-api: false
  163. h-api-cfn: false
  164. tox_environment:
  165. OPENSTACKSDK_HAS_DESIGNATE: 1
  166. OPENSTACKSDK_HAS_SWIFT: 0
  167. OPENSTACKSDK_HAS_HEAT: 0
  168. - job:
  169. name: openstacksdk-functional-devstack-python2
  170. parent: openstacksdk-functional-devstack
  171. description: |
  172. Run openstacksdk functional tests using python2 against a master devstack
  173. vars:
  174. tox_environment:
  175. OPENSTACKSDK_TOX_PYTHON: python2
  176. - job:
  177. name: openstacksdk-functional-devstack-tips
  178. parent: openstacksdk-functional-devstack
  179. description: |
  180. Run openstacksdk functional tests with tips of library dependencies
  181. against a master devstack.
  182. required-projects:
  183. - openstack/keystoneauth
  184. - openstack/openstacksdk
  185. - openstack/os-client-config
  186. vars:
  187. tox_install_siblings: true
  188. - job:
  189. name: openstacksdk-functional-devstack-tips-python2
  190. parent: openstacksdk-functional-devstack-tips
  191. description: |
  192. Run openstacksdk functional tests with tips of library dependencies using
  193. python2 against a master devstack.
  194. vars:
  195. tox_environment:
  196. OPENSTACKSDK_TOX_PYTHON: python2
  197. - job:
  198. name: openstacksdk-functional-devstack-magnum
  199. parent: openstacksdk-functional-devstack
  200. description: |
  201. Run openstacksdk functional tests against a master devstack with magnum
  202. required-projects:
  203. - openstack/magnum
  204. - openstack/python-magnumclient
  205. vars:
  206. devstack_plugins:
  207. magnum: https://opendev.org/openstack/magnum
  208. devstack_localrc:
  209. MAGNUM_GUEST_IMAGE_URL: https://tarballs.openstack.org/magnum/images/fedora-atomic-f23-dib.qcow2
  210. MAGNUM_IMAGE_NAME: fedora-atomic-f23-dib
  211. devstack_services:
  212. s-account: false
  213. s-container: false
  214. s-object: false
  215. s-proxy: false
  216. tox_environment:
  217. OPENSTACKSDK_HAS_SWIFT: 0
  218. OPENSTACKSDK_HAS_MAGNUM: 1
  219. - job:
  220. name: openstacksdk-functional-devstack-senlin
  221. parent: openstacksdk-functional-devstack
  222. description: |
  223. Run openstacksdk functional tests against a master devstack with senlin
  224. required-projects:
  225. - openstack/senlin
  226. vars:
  227. devstack_plugins:
  228. senlin: https://opendev.org/openstack/senlin
  229. devstack_services:
  230. s-account: false
  231. s-container: false
  232. s-object: false
  233. s-proxy: false
  234. tox_environment:
  235. OPENSTACKSDK_HAS_SWIFT: 0
  236. OPENSTACKSDK_HAS_SENLIN: 1
  237. - job:
  238. name: openstacksdk-functional-devstack-ironic
  239. parent: openstacksdk-functional-devstack-minimum
  240. description: |
  241. Run openstacksdk functional tests against a master devstack with ironic
  242. required-projects:
  243. - openstack/ironic
  244. vars:
  245. devstack_localrc:
  246. OVERRIDE_PUBLIC_BRIDGE_MTU: 1400
  247. IRONIC_BAREMETAL_BASIC_OPS: true
  248. IRONIC_BUILD_DEPLOY_RAMDISK: false
  249. IRONIC_CALLBACK_TIMEOUT: 600
  250. IRONIC_DEPLOY_DRIVER: ipmi
  251. IRONIC_RAMDISK_TYPE: tinyipa
  252. IRONIC_VM_COUNT: 6
  253. IRONIC_VM_LOG_DIR: '{{ devstack_base_dir }}/ironic-bm-logs'
  254. IRONIC_VM_SPECS_RAM: 384
  255. devstack_plugins:
  256. ironic: https://opendev.org/openstack/ironic
  257. devstack_services:
  258. c-api: false
  259. c-bak: false
  260. c-sch: false
  261. c-vol: false
  262. cinder: false
  263. s-account: false
  264. s-container: false
  265. s-object: false
  266. s-proxy: false
  267. n-api: false
  268. n-api-meta: false
  269. n-cauth: false
  270. n-cond: false
  271. n-cpu: false
  272. n-novnc: false
  273. n-obj: false
  274. n-sch: false
  275. nova: false
  276. placement-api: false
  277. tox_environment:
  278. OPENSTACKSDK_HAS_IRONIC: 1
  279. # NOTE(dtantsur): this job cannot run many regular tests (e.g. compute
  280. # tests will take too long), so limiting it to baremetal tests only.
  281. OPENSTACKSDK_TESTS_SUBDIR: baremetal
  282. zuul_copy_output:
  283. '{{ devstack_base_dir }}/ironic-bm-logs': logs
  284. - job:
  285. name: openstacksdk-ansible-functional-devstack
  286. parent: openstacksdk-functional-devstack
  287. description: |
  288. Run openstacksdk ansible functional tests against a master devstack
  289. using released version of ansible.
  290. vars:
  291. tox_envlist: ansible
  292. - job:
  293. name: openstacksdk-ansible-functional-devstack
  294. parent: openstacksdk-functional-devstack
  295. description: |
  296. Run openstacksdk ansible functional tests against a master devstack
  297. using released version of ansible.
  298. vars:
  299. tox_envlist: ansible
  300. - job:
  301. name: openstacksdk-ansible-devel-functional-devstack
  302. parent: openstacksdk-ansible-functional-devstack
  303. description: |
  304. Run openstacksdk ansible functional tests against a master devstack
  305. using git devel branch version of ansible.
  306. branches: ^(devel|master)$
  307. required-projects:
  308. - name: github.com/ansible/ansible
  309. override-checkout: devel
  310. - name: openstack/openstacksdk
  311. override-checkout: master
  312. - name: openstack/devstack
  313. override-checkout: master
  314. vars:
  315. # test-matrix grabs branch from the zuul branch setting. If the job
  316. # is triggered by ansible, that branch will be devel which doesn't
  317. # make sense to devstack. Override so that we run the right thing.
  318. test_matrix_branch: master
  319. tox_install_siblings: true
  320. - job:
  321. name: openstacksdk-ansible-stable-2.6-functional-devstack
  322. parent: openstacksdk-ansible-functional-devstack
  323. description: |
  324. Run openstacksdk ansible functional tests against a master devstack
  325. using git stable-2.6 branch version of ansible.
  326. branches: ^(stable-2.6|master)$
  327. required-projects:
  328. - name: github.com/ansible/ansible
  329. override-checkout: stable-2.6
  330. - name: openstack/openstacksdk
  331. override-checkout: master
  332. - name: openstack/devstack
  333. override-checkout: master
  334. vars:
  335. # test-matrix grabs branch from the zuul branch setting. If the job
  336. # is triggered by ansible, that branch will be devel which doesn't
  337. # make sense to devstack. Override so that we run the right thing.
  338. test_matrix_branch: master
  339. tox_install_siblings: true
  340. - job:
  341. name: openstacksdk-functional-devstack-masakari
  342. parent: openstacksdk-functional-devstack-minimum
  343. description: |
  344. Run openstacksdk functional tests against a master devstack with masakari
  345. required-projects:
  346. - openstack/masakari
  347. - openstack/masakari-monitors
  348. vars:
  349. devstack_plugins:
  350. masakari: https://opendev.org/openstack/masakari
  351. devstack_services:
  352. masakari-api: true
  353. masakari-engine: true
  354. tox_environment:
  355. OPENSTACKSDK_HAS_MASAKARI: 1
  356. OPENSTACKSDK_TESTS_SUBDIR: instance_ha
  357. zuul_copy_output:
  358. '{{ devstack_base_dir }}/masakari-logs': logs
  359. - job:
  360. name: metalsmith-integration-openstacksdk-src
  361. parent: metalsmith-integration-glance-netboot-cirros-direct
  362. required-projects:
  363. - openstack/openstacksdk
  364. - project-template:
  365. name: openstacksdk-functional-tips
  366. check:
  367. jobs:
  368. - openstacksdk-functional-devstack-tips
  369. - openstacksdk-functional-devstack-tips-python2
  370. gate:
  371. jobs:
  372. - openstacksdk-functional-devstack-tips
  373. - openstacksdk-functional-devstack-tips-python2
  374. - project:
  375. templates:
  376. - check-requirements
  377. - openstack-lower-constraints-jobs
  378. - openstack-python-jobs
  379. - openstack-python36-jobs
  380. - openstack-python37-jobs
  381. - openstacksdk-functional-tips
  382. - openstacksdk-tox-tips
  383. - os-client-config-tox-tips
  384. - osc-tox-unit-tips
  385. - publish-openstack-docs-pti
  386. - release-notes-jobs-python3
  387. check:
  388. jobs:
  389. - openstacksdk-ansible-devel-functional-devstack:
  390. voting: false
  391. - openstacksdk-ansible-stable-2.6-functional-devstack:
  392. voting: false
  393. - openstacksdk-functional-devstack
  394. - openstacksdk-functional-devstack-networking
  395. - openstacksdk-functional-devstack-senlin
  396. - openstacksdk-functional-devstack-magnum:
  397. voting: false
  398. - openstacksdk-functional-devstack-masakari:
  399. voting: false
  400. - openstacksdk-functional-devstack-ironic:
  401. voting: false
  402. - openstacksdk-functional-devstack-python2
  403. - osc-functional-devstack-tips:
  404. voting: false
  405. - nodepool-functional-py35-src
  406. - bifrost-integration-tinyipa-ubuntu-xenial
  407. - metalsmith-integration-openstacksdk-src:
  408. voting: false
  409. gate:
  410. jobs:
  411. - openstacksdk-functional-devstack
  412. - openstacksdk-functional-devstack-python2
  413. - openstacksdk-functional-devstack-networking
  414. - openstacksdk-functional-devstack-senlin
  415. - nodepool-functional-py35-src
  416. - bifrost-integration-tinyipa-ubuntu-xenial