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.

332 lines
6.3 KiB

Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
1 year ago
Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
1 year ago
Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
1 year ago
Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
1 year ago
Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
1 year ago
Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
1 year ago
Use supported version of fedora in CI (#10108) * tests: replace fedora35 with fedora37 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: replace fedora36 with fedora38 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * docs: update fedora version in docs Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * molecule: upgrade fedora version Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: upgrade fedora images for vagrant and kubevirt Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * vagrant: workaround to fix private network ip address in fedora Fedora stop supporting syconfig network script so we added a workaround here https://github.com/hashicorp/vagrant/issues/12762#issuecomment-1535957837 to fix it. * netowrkmanager: do not configure dns if using systemd-resolved We should not configure dns if we point to systemd-resolved. Systemd-resolved is using NetworkManager to infer the upstream DNS server so if we set NetworkManager to 127.0.0.53 it will prevent systemd-resolved to get the correct network DNS server. Thus if we are in this case we just don't set this setting. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * image-builder: update centos7 image Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * gitlab-ci: mark fedora packet jobs as allow failure Fedora networking is still broken on Packet, let's mark it as allow failure for now. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
1 year ago
  1. ---
  2. .packet:
  3. extends: .testcases
  4. variables:
  5. ANSIBLE_TIMEOUT: "120"
  6. CI_PLATFORM: packet
  7. SSH_USER: kubespray
  8. tags:
  9. - packet
  10. except: [triggers]
  11. # CI template for PRs
  12. .packet_pr:
  13. only: [/^pr-.*$/]
  14. extends: .packet
  15. # CI template for periodic CI jobs
  16. # Enabled when PERIODIC_CI_ENABLED var is set
  17. .packet_periodic:
  18. only:
  19. variables:
  20. - $PERIODIC_CI_ENABLED
  21. allow_failure: true
  22. extends: .packet
  23. packet_cleanup_old:
  24. stage: deploy-part1
  25. extends: .packet_periodic
  26. script:
  27. - cd tests
  28. - make cleanup-packet
  29. after_script: []
  30. # The ubuntu20-calico-aio jobs are meant as early stages to prevent running the full CI if something is horribly broken
  31. packet_ubuntu20-calico-aio:
  32. stage: deploy-part1
  33. extends: .packet_pr
  34. when: on_success
  35. variables:
  36. RESET_CHECK: "true"
  37. # ### PR JOBS PART2
  38. packet_ubuntu20-aio-docker:
  39. stage: deploy-part2
  40. extends: .packet_pr
  41. when: on_success
  42. packet_ubuntu20-calico-aio-hardening:
  43. stage: deploy-part2
  44. extends: .packet_pr
  45. when: on_success
  46. packet_ubuntu22-aio-docker:
  47. stage: deploy-part2
  48. extends: .packet_pr
  49. when: on_success
  50. packet_ubuntu22-calico-aio:
  51. stage: deploy-part2
  52. extends: .packet_pr
  53. when: on_success
  54. packet_centos7-flannel-addons-ha:
  55. extends: .packet_pr
  56. stage: deploy-part2
  57. when: on_success
  58. packet_almalinux8-crio:
  59. extends: .packet_pr
  60. stage: deploy-part2
  61. when: on_success
  62. allow_failure: true
  63. packet_ubuntu20-crio:
  64. extends: .packet_pr
  65. stage: deploy-part2
  66. when: manual
  67. packet_fedora37-crio:
  68. extends: .packet_pr
  69. stage: deploy-part2
  70. when: manual
  71. packet_ubuntu20-flannel-ha:
  72. stage: deploy-part2
  73. extends: .packet_pr
  74. when: manual
  75. packet_debian10-cilium-svc-proxy:
  76. stage: deploy-part2
  77. extends: .packet_periodic
  78. when: on_success
  79. packet_debian10-calico:
  80. stage: deploy-part2
  81. extends: .packet_pr
  82. when: on_success
  83. packet_debian10-docker:
  84. stage: deploy-part2
  85. extends: .packet_pr
  86. when: on_success
  87. packet_debian11-calico:
  88. stage: deploy-part2
  89. extends: .packet_pr
  90. when: on_success
  91. packet_debian11-docker:
  92. stage: deploy-part2
  93. extends: .packet_pr
  94. when: on_success
  95. packet_debian12-calico:
  96. stage: deploy-part2
  97. extends: .packet_pr
  98. when: on_success
  99. packet_debian12-docker:
  100. stage: deploy-part2
  101. extends: .packet_pr
  102. when: on_success
  103. packet_debian12-cilium:
  104. stage: deploy-part2
  105. extends: .packet_periodic
  106. when: on_success
  107. packet_centos7-calico-ha-once-localhost:
  108. stage: deploy-part2
  109. extends: .packet_pr
  110. when: on_success
  111. variables:
  112. # This will instruct Docker not to start over TLS.
  113. DOCKER_TLS_CERTDIR: ""
  114. services:
  115. - docker:19.03.9-dind
  116. packet_almalinux8-kube-ovn:
  117. stage: deploy-part2
  118. extends: .packet_pr
  119. when: on_success
  120. packet_almalinux8-calico:
  121. stage: deploy-part2
  122. extends: .packet_pr
  123. when: on_success
  124. packet_rockylinux8-calico:
  125. stage: deploy-part2
  126. extends: .packet_pr
  127. when: on_success
  128. packet_rockylinux9-calico:
  129. stage: deploy-part2
  130. extends: .packet_pr
  131. when: on_success
  132. packet_rockylinux9-cilium:
  133. stage: deploy-part2
  134. extends: .packet_pr
  135. when: on_success
  136. variables:
  137. RESET_CHECK: "true"
  138. packet_almalinux8-docker:
  139. stage: deploy-part2
  140. extends: .packet_pr
  141. when: on_success
  142. packet_fedora38-docker-weave:
  143. stage: deploy-part2
  144. extends: .packet_pr
  145. when: on_success
  146. allow_failure: true
  147. packet_opensuse-docker-cilium:
  148. stage: deploy-part2
  149. extends: .packet_pr
  150. when: manual
  151. # ### MANUAL JOBS
  152. packet_ubuntu20-docker-weave-sep:
  153. stage: deploy-part2
  154. extends: .packet_pr
  155. when: manual
  156. packet_ubuntu20-cilium-sep:
  157. stage: deploy-special
  158. extends: .packet_pr
  159. when: manual
  160. packet_ubuntu20-flannel-ha-once:
  161. stage: deploy-part2
  162. extends: .packet_pr
  163. when: manual
  164. # Calico HA eBPF
  165. packet_almalinux8-calico-ha-ebpf:
  166. stage: deploy-part2
  167. extends: .packet_pr
  168. when: manual
  169. packet_debian10-macvlan:
  170. stage: deploy-part2
  171. extends: .packet_pr
  172. when: manual
  173. packet_centos7-calico-ha:
  174. stage: deploy-part2
  175. extends: .packet_pr
  176. when: manual
  177. packet_centos7-multus-calico:
  178. stage: deploy-part2
  179. extends: .packet_pr
  180. when: manual
  181. packet_fedora38-docker-calico:
  182. stage: deploy-part2
  183. extends: .packet_periodic
  184. when: on_success
  185. variables:
  186. RESET_CHECK: "true"
  187. packet_fedora37-calico-selinux:
  188. stage: deploy-part2
  189. extends: .packet_periodic
  190. when: on_success
  191. packet_fedora37-calico-swap-selinux:
  192. stage: deploy-part2
  193. extends: .packet_pr
  194. when: manual
  195. packet_amazon-linux-2-aio:
  196. stage: deploy-part2
  197. extends: .packet_pr
  198. when: manual
  199. packet_almalinux8-calico-nodelocaldns-secondary:
  200. stage: deploy-part2
  201. extends: .packet_pr
  202. when: manual
  203. packet_fedora38-kube-ovn:
  204. stage: deploy-part2
  205. extends: .packet_periodic
  206. when: on_success
  207. packet_debian11-custom-cni:
  208. stage: deploy-part2
  209. extends: .packet_pr
  210. when: manual
  211. packet_debian11-kubelet-csr-approver:
  212. stage: deploy-part2
  213. extends: .packet_pr
  214. when: manual
  215. packet_debian12-custom-cni-helm:
  216. stage: deploy-part2
  217. extends: .packet_pr
  218. when: manual
  219. # ### PR JOBS PART3
  220. # Long jobs (45min+)
  221. packet_centos7-weave-upgrade-ha:
  222. stage: deploy-part3
  223. extends: .packet_periodic
  224. when: on_success
  225. variables:
  226. UPGRADE_TEST: basic
  227. packet_ubuntu20-calico-etcd-kubeadm-upgrade-ha:
  228. stage: deploy-part3
  229. extends: .packet_periodic
  230. when: on_success
  231. variables:
  232. UPGRADE_TEST: basic
  233. # Calico HA Wireguard
  234. packet_ubuntu20-calico-ha-wireguard:
  235. stage: deploy-part2
  236. extends: .packet_pr
  237. when: manual
  238. packet_debian11-calico-upgrade:
  239. stage: deploy-part3
  240. extends: .packet_pr
  241. when: on_success
  242. variables:
  243. UPGRADE_TEST: graceful
  244. packet_almalinux8-calico-remove-node:
  245. stage: deploy-part3
  246. extends: .packet_pr
  247. when: on_success
  248. variables:
  249. REMOVE_NODE_CHECK: "true"
  250. REMOVE_NODE_NAME: "instance-3"
  251. packet_ubuntu20-calico-etcd-kubeadm:
  252. stage: deploy-part3
  253. extends: .packet_pr
  254. when: on_success
  255. packet_debian11-calico-upgrade-once:
  256. stage: deploy-part3
  257. extends: .packet_periodic
  258. when: on_success
  259. variables:
  260. UPGRADE_TEST: graceful
  261. packet_ubuntu20-calico-ha-recover:
  262. stage: deploy-part3
  263. extends: .packet_periodic
  264. when: on_success
  265. variables:
  266. RECOVER_CONTROL_PLANE_TEST: "true"
  267. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:]:kube_control_plane[1:]"
  268. packet_ubuntu20-calico-ha-recover-noquorum:
  269. stage: deploy-part3
  270. extends: .packet_periodic
  271. when: on_success
  272. variables:
  273. RECOVER_CONTROL_PLANE_TEST: "true"
  274. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:]:kube_control_plane[1:]"