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.

337 lines
6.5 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-all-in-one jobs are meant as early stages to prevent running the full CI if something is horribly broken
  31. packet_ubuntu20-calico-all-in-one:
  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-all-in-one-docker:
  39. stage: deploy-part2
  40. extends: .packet_pr
  41. when: on_success
  42. packet_ubuntu20-calico-all-in-one-hardening:
  43. stage: deploy-part2
  44. extends: .packet_pr
  45. when: on_success
  46. packet_ubuntu22-all-in-one-docker:
  47. stage: deploy-part2
  48. extends: .packet_pr
  49. when: on_success
  50. packet_ubuntu22-calico-all-in-one:
  51. stage: deploy-part2
  52. extends: .packet_pr
  53. when: on_success
  54. packet_ubuntu22-calico-etcd-datastore:
  55. stage: deploy-part2
  56. extends: .packet_pr
  57. when: on_success
  58. packet_centos7-flannel-addons-ha:
  59. extends: .packet_pr
  60. stage: deploy-part2
  61. when: on_success
  62. packet_almalinux8-crio:
  63. extends: .packet_pr
  64. stage: deploy-part2
  65. when: on_success
  66. allow_failure: true
  67. packet_ubuntu20-crio:
  68. extends: .packet_pr
  69. stage: deploy-part2
  70. when: manual
  71. packet_fedora37-crio:
  72. extends: .packet_pr
  73. stage: deploy-part2
  74. when: manual
  75. packet_ubuntu20-flannel-ha:
  76. stage: deploy-part2
  77. extends: .packet_pr
  78. when: manual
  79. packet_debian10-cilium-svc-proxy:
  80. stage: deploy-part2
  81. extends: .packet_periodic
  82. when: on_success
  83. packet_debian10-calico:
  84. stage: deploy-part2
  85. extends: .packet_pr
  86. when: on_success
  87. packet_debian10-docker:
  88. stage: deploy-part2
  89. extends: .packet_pr
  90. when: on_success
  91. packet_debian11-calico:
  92. stage: deploy-part2
  93. extends: .packet_pr
  94. when: on_success
  95. packet_debian11-docker:
  96. stage: deploy-part2
  97. extends: .packet_pr
  98. when: on_success
  99. packet_debian12-calico:
  100. stage: deploy-part2
  101. extends: .packet_pr
  102. when: on_success
  103. packet_debian12-docker:
  104. stage: deploy-part2
  105. extends: .packet_pr
  106. when: on_success
  107. packet_debian12-cilium:
  108. stage: deploy-part2
  109. extends: .packet_periodic
  110. when: on_success
  111. packet_centos7-calico-ha-once-localhost:
  112. stage: deploy-part2
  113. extends: .packet_pr
  114. when: on_success
  115. variables:
  116. # This will instruct Docker not to start over TLS.
  117. DOCKER_TLS_CERTDIR: ""
  118. services:
  119. - docker:19.03.9-dind
  120. packet_almalinux8-kube-ovn:
  121. stage: deploy-part2
  122. extends: .packet_pr
  123. when: on_success
  124. packet_almalinux8-calico:
  125. stage: deploy-part2
  126. extends: .packet_pr
  127. when: on_success
  128. packet_rockylinux8-calico:
  129. stage: deploy-part2
  130. extends: .packet_pr
  131. when: on_success
  132. packet_rockylinux9-calico:
  133. stage: deploy-part2
  134. extends: .packet_pr
  135. when: on_success
  136. packet_rockylinux9-cilium:
  137. stage: deploy-part2
  138. extends: .packet_pr
  139. when: on_success
  140. variables:
  141. RESET_CHECK: "true"
  142. packet_almalinux8-docker:
  143. stage: deploy-part2
  144. extends: .packet_pr
  145. when: on_success
  146. packet_fedora38-docker-weave:
  147. stage: deploy-part2
  148. extends: .packet_pr
  149. when: on_success
  150. allow_failure: true
  151. packet_opensuse-docker-cilium:
  152. stage: deploy-part2
  153. extends: .packet_pr
  154. when: manual
  155. # ### MANUAL JOBS
  156. packet_ubuntu20-docker-weave-sep:
  157. stage: deploy-part2
  158. extends: .packet_pr
  159. when: manual
  160. packet_ubuntu20-cilium-sep:
  161. stage: deploy-special
  162. extends: .packet_pr
  163. when: manual
  164. packet_ubuntu20-flannel-ha-once:
  165. stage: deploy-part2
  166. extends: .packet_pr
  167. when: manual
  168. # Calico HA eBPF
  169. packet_almalinux8-calico-ha-ebpf:
  170. stage: deploy-part2
  171. extends: .packet_pr
  172. when: manual
  173. packet_debian10-macvlan:
  174. stage: deploy-part2
  175. extends: .packet_pr
  176. when: manual
  177. packet_centos7-calico-ha:
  178. stage: deploy-part2
  179. extends: .packet_pr
  180. when: manual
  181. packet_centos7-multus-calico:
  182. stage: deploy-part2
  183. extends: .packet_pr
  184. when: manual
  185. packet_fedora38-docker-calico:
  186. stage: deploy-part2
  187. extends: .packet_periodic
  188. when: on_success
  189. variables:
  190. RESET_CHECK: "true"
  191. packet_fedora37-calico-selinux:
  192. stage: deploy-part2
  193. extends: .packet_periodic
  194. when: on_success
  195. packet_fedora37-calico-swap-selinux:
  196. stage: deploy-part2
  197. extends: .packet_pr
  198. when: manual
  199. packet_amazon-linux-2-all-in-one:
  200. stage: deploy-part2
  201. extends: .packet_pr
  202. when: manual
  203. packet_almalinux8-calico-nodelocaldns-secondary:
  204. stage: deploy-part2
  205. extends: .packet_pr
  206. when: manual
  207. packet_fedora38-kube-ovn:
  208. stage: deploy-part2
  209. extends: .packet_periodic
  210. when: on_success
  211. packet_debian11-custom-cni:
  212. stage: deploy-part2
  213. extends: .packet_pr
  214. when: manual
  215. packet_debian11-kubelet-csr-approver:
  216. stage: deploy-part2
  217. extends: .packet_pr
  218. when: manual
  219. packet_debian12-custom-cni-helm:
  220. stage: deploy-part2
  221. extends: .packet_pr
  222. when: manual
  223. # ### PR JOBS PART3
  224. # Long jobs (45min+)
  225. packet_centos7-weave-upgrade-ha:
  226. stage: deploy-part3
  227. extends: .packet_periodic
  228. when: on_success
  229. variables:
  230. UPGRADE_TEST: basic
  231. packet_ubuntu20-calico-etcd-kubeadm-upgrade-ha:
  232. stage: deploy-part3
  233. extends: .packet_periodic
  234. when: on_success
  235. variables:
  236. UPGRADE_TEST: basic
  237. # Calico HA Wireguard
  238. packet_ubuntu20-calico-ha-wireguard:
  239. stage: deploy-part2
  240. extends: .packet_pr
  241. when: manual
  242. packet_debian11-calico-upgrade:
  243. stage: deploy-part3
  244. extends: .packet_pr
  245. when: on_success
  246. variables:
  247. UPGRADE_TEST: graceful
  248. packet_almalinux8-calico-remove-node:
  249. stage: deploy-part3
  250. extends: .packet_pr
  251. when: on_success
  252. variables:
  253. REMOVE_NODE_CHECK: "true"
  254. REMOVE_NODE_NAME: "instance-3"
  255. packet_ubuntu20-calico-etcd-kubeadm:
  256. stage: deploy-part3
  257. extends: .packet_pr
  258. when: on_success
  259. packet_debian11-calico-upgrade-once:
  260. stage: deploy-part3
  261. extends: .packet_periodic
  262. when: on_success
  263. variables:
  264. UPGRADE_TEST: graceful
  265. packet_ubuntu20-calico-ha-recover:
  266. stage: deploy-part3
  267. extends: .packet_periodic
  268. when: on_success
  269. variables:
  270. RECOVER_CONTROL_PLANE_TEST: "true"
  271. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:]:kube_control_plane[1:]"
  272. packet_ubuntu20-calico-ha-recover-noquorum:
  273. stage: deploy-part3
  274. extends: .packet_periodic
  275. when: on_success
  276. variables:
  277. RECOVER_CONTROL_PLANE_TEST: "true"
  278. RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:]:kube_control_plane[1:]"