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.

206 lines
3.8 KiB

  1. ---
  2. .packet: &packet
  3. extends: .testcases
  4. variables:
  5. CI_PLATFORM: "packet"
  6. SSH_USER: "kubespray"
  7. tags:
  8. - packet
  9. only: [/^pr-.*$/]
  10. except: ['triggers']
  11. packet_ubuntu18-calico-aio:
  12. stage: deploy-part1
  13. extends: .packet
  14. when: on_success
  15. # Future AIO job
  16. packet_ubuntu20-calico-aio:
  17. stage: deploy-part1
  18. extends: .packet
  19. when: manual
  20. # ### PR JOBS PART2
  21. packet_centos7-flannel-containerd-addons-ha:
  22. extends: .packet
  23. stage: deploy-part2
  24. when: on_success
  25. variables:
  26. MITOGEN_ENABLE: "true"
  27. packet_centos7-crio:
  28. extends: .packet
  29. stage: deploy-part2
  30. when: on_success
  31. variables:
  32. MITOGEN_ENABLE: "true"
  33. packet_ubuntu18-crio:
  34. extends: .packet
  35. stage: deploy-part2
  36. when: manual
  37. variables:
  38. MITOGEN_ENABLE: "true"
  39. packet_ubuntu16-canal-kubeadm-ha:
  40. stage: deploy-part2
  41. extends: .packet
  42. when: on_success
  43. packet_ubuntu16-canal-sep:
  44. stage: deploy-special
  45. extends: .packet
  46. when: manual
  47. packet_ubuntu16-flannel-ha:
  48. stage: deploy-part2
  49. extends: .packet
  50. when: manual
  51. packet_ubuntu16-kube-router-sep:
  52. stage: deploy-part2
  53. extends: .packet
  54. when: manual
  55. packet_debian10-containerd:
  56. stage: deploy-part2
  57. extends: .packet
  58. when: on_success
  59. variables:
  60. MITOGEN_ENABLE: "true"
  61. packet_centos7-calico-ha-once-localhost:
  62. stage: deploy-part2
  63. extends: .packet
  64. when: on_success
  65. services:
  66. - docker:18.09.9-dind
  67. packet_centos8-kube-ovn:
  68. stage: deploy-part2
  69. extends: .packet
  70. when: on_success
  71. packet_centos8-calico:
  72. stage: deploy-part2
  73. extends: .packet
  74. when: on_success
  75. packet_fedora30-weave:
  76. stage: deploy-part2
  77. extends: .packet
  78. when: on_success
  79. packet_opensuse-canal:
  80. stage: deploy-part2
  81. extends: .packet
  82. when: on_success
  83. # Contiv does not work in k8s v1.16
  84. # packet_ubuntu16-contiv-sep:
  85. # stage: deploy-part2
  86. # extends: .packet
  87. # when: on_success
  88. # ### MANUAL JOBS
  89. packet_ubuntu16-weave-sep:
  90. stage: deploy-part2
  91. extends: .packet
  92. when: manual
  93. packet_ubuntu18-cilium-sep:
  94. stage: deploy-special
  95. extends: .packet
  96. when: manual
  97. packet_ubuntu18-flannel-containerd-ha:
  98. stage: deploy-part2
  99. extends: .packet
  100. when: manual
  101. packet_ubuntu18-flannel-containerd-ha-once:
  102. stage: deploy-part2
  103. extends: .packet
  104. when: manual
  105. packet_debian9-macvlan:
  106. stage: deploy-part2
  107. extends: .packet
  108. when: manual
  109. packet_centos7-calico-ha:
  110. stage: deploy-part2
  111. extends: .packet
  112. when: manual
  113. packet_centos7-kube-router:
  114. stage: deploy-part2
  115. extends: .packet
  116. when: manual
  117. packet_centos7-multus-calico:
  118. stage: deploy-part2
  119. extends: .packet
  120. when: manual
  121. packet_oracle7-canal-ha:
  122. stage: deploy-part2
  123. extends: .packet
  124. when: manual
  125. packet_fedora31-flannel:
  126. stage: deploy-part2
  127. extends: .packet
  128. when: on_success
  129. variables:
  130. MITOGEN_ENABLE: "true"
  131. packet_amazon-linux-2-aio:
  132. stage: deploy-part2
  133. extends: .packet
  134. when: manual
  135. # ### PR JOBS PART3
  136. # Long jobs (45min+)
  137. packet_centos7-weave-upgrade-ha:
  138. stage: deploy-part3
  139. extends: .packet
  140. when: on_success
  141. variables:
  142. UPGRADE_TEST: basic
  143. MITOGEN_ENABLE: "false"
  144. packet_debian9-calico-upgrade:
  145. stage: deploy-part3
  146. extends: .packet
  147. when: on_success
  148. variables:
  149. UPGRADE_TEST: graceful
  150. MITOGEN_ENABLE: "false"
  151. packet_debian9-calico-upgrade-once:
  152. stage: deploy-part3
  153. extends: .packet
  154. when: on_success
  155. variables:
  156. UPGRADE_TEST: graceful
  157. MITOGEN_ENABLE: "false"
  158. packet_ubuntu18-calico-ha-recover:
  159. stage: deploy-part3
  160. extends: .packet
  161. when: on_success
  162. variables:
  163. RECOVER_CONTROL_PLANE_TEST: "true"
  164. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]"
  165. packet_ubuntu18-calico-ha-recover-noquorum:
  166. stage: deploy-part3
  167. extends: .packet
  168. when: on_success
  169. variables:
  170. RECOVER_CONTROL_PLANE_TEST: "true"
  171. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube-master[1:]"