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.

175 lines
3.2 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-addons:
  22. extends: .packet
  23. stage: deploy-part2
  24. when: on_success
  25. # ### MANUAL JOBS
  26. packet_centos7-weave-kubeadm-sep:
  27. stage: deploy-part2
  28. extends: .packet
  29. when: on_success
  30. variables:
  31. UPGRADE_TEST: basic
  32. packet_ubuntu16-weave-sep:
  33. stage: deploy-part2
  34. extends: .packet
  35. when: manual
  36. # # More builds for PRs/merges (manual) and triggers (auto)
  37. packet_ubuntu16-canal-ha:
  38. stage: deploy-special
  39. extends: .packet
  40. when: manual
  41. packet_ubuntu16-canal-kubeadm:
  42. stage: deploy-part2
  43. extends: .packet
  44. when: on_success
  45. packet_ubuntu16-flannel-ha:
  46. stage: deploy-part2
  47. extends: .packet
  48. when: manual
  49. # Contiv does not work in k8s v1.16
  50. # packet_ubuntu16-contiv-sep:
  51. # stage: deploy-part2
  52. # extends: .packet
  53. # when: on_success
  54. packet_ubuntu18-cilium-sep:
  55. stage: deploy-special
  56. extends: .packet
  57. when: manual
  58. packet_ubuntu18-flannel-containerd:
  59. stage: deploy-part2
  60. extends: .packet
  61. when: manual
  62. packet_ubuntu18-flannel-containerd-once:
  63. stage: deploy-part2
  64. extends: .packet
  65. when: manual
  66. packet_debian9-macvlan-sep:
  67. stage: deploy-part2
  68. extends: .packet
  69. when: manual
  70. packet_debian9-calico-upgrade-once:
  71. stage: deploy-part2
  72. extends: .packet
  73. when: on_success
  74. variables:
  75. UPGRADE_TEST: graceful
  76. packet_debian10-containerd:
  77. stage: deploy-part2
  78. extends: .packet
  79. when: on_success
  80. packet_centos7-calico-ha:
  81. stage: deploy-part2
  82. extends: .packet
  83. when: manual
  84. packet_centos7-calico-ha-once-localhost:
  85. stage: deploy-part2
  86. extends: .packet
  87. when: on_success
  88. services:
  89. - docker:18.09.9-dind
  90. packet_centos7-kube-ovn:
  91. stage: deploy-part2
  92. extends: .packet
  93. when: on_success
  94. packet_centos7-kube-router:
  95. stage: deploy-part2
  96. extends: .packet
  97. when: manual
  98. packet_centos7-multus-calico:
  99. stage: deploy-part2
  100. extends: .packet
  101. when: manual
  102. packet_centos8-calico:
  103. stage: deploy-part2
  104. extends: .packet
  105. when: on_success
  106. packet_opensuse-canal:
  107. stage: deploy-part2
  108. extends: .packet
  109. when: on_success
  110. packet_oracle7-canal:
  111. stage: deploy-part2
  112. extends: .packet
  113. when: manual
  114. packet_ubuntu16-kube-router-sep:
  115. stage: deploy-part2
  116. extends: .packet
  117. when: manual
  118. packet_amazon-linux-2-aio:
  119. stage: deploy-part2
  120. extends: .packet
  121. when: manual
  122. # ### PR JOBS PART3
  123. # Long jobs (45min+)
  124. packet_debian9-calico-upgrade:
  125. stage: deploy-part3
  126. extends: .packet
  127. when: on_success
  128. variables:
  129. UPGRADE_TEST: graceful
  130. packet_ubuntu18-calico-ha-recover:
  131. stage: deploy-part3
  132. extends: .packet
  133. when: on_success
  134. variables:
  135. RECOVER_CONTROL_PLANE_TEST: "true"
  136. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube-master[1:]"
  137. packet_ubuntu18-calico-ha-recover-noquorum:
  138. stage: deploy-part3
  139. extends: .packet
  140. when: on_success
  141. variables:
  142. RECOVER_CONTROL_PLANE_TEST: "true"
  143. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube-master[1:]"