2019-04-17 23:32:03 +08:00
|
|
|
---
|
2020-09-18 23:08:46 +08:00
|
|
|
.packet:
|
2019-04-17 23:32:03 +08:00
|
|
|
extends: .testcases
|
|
|
|
variables:
|
2021-12-10 06:09:06 +08:00
|
|
|
ANSIBLE_TIMEOUT: "120"
|
2020-09-18 23:08:46 +08:00
|
|
|
CI_PLATFORM: packet
|
|
|
|
SSH_USER: kubespray
|
2019-04-17 23:32:03 +08:00
|
|
|
tags:
|
|
|
|
- packet
|
2020-09-18 23:08:46 +08:00
|
|
|
except: [triggers]
|
|
|
|
|
|
|
|
# CI template for PRs
|
|
|
|
.packet_pr:
|
2019-05-03 03:20:20 +08:00
|
|
|
only: [/^pr-.*$/]
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet
|
|
|
|
|
|
|
|
# CI template for periodic CI jobs
|
|
|
|
# Enabled when PERIODIC_CI_ENABLED var is set
|
|
|
|
.packet_periodic:
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $PERIODIC_CI_ENABLED
|
2020-09-25 00:22:06 +08:00
|
|
|
allow_failure: true
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2021-11-11 08:11:50 +08:00
|
|
|
# The ubuntu20-calico-aio jobs are meant as early stages to prevent running the full CI if something is horribly broken
|
2020-03-27 17:14:23 +08:00
|
|
|
packet_ubuntu20-calico-aio:
|
|
|
|
stage: deploy-part1
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-06-17 04:04:05 +08:00
|
|
|
when: on_success
|
2021-11-11 08:11:50 +08:00
|
|
|
variables:
|
|
|
|
RESET_CHECK: "true"
|
|
|
|
|
2019-04-17 23:32:03 +08:00
|
|
|
# ### PR JOBS PART2
|
|
|
|
|
2021-12-14 06:50:25 +08:00
|
|
|
packet_ubuntu20-aio-docker:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2022-10-19 20:35:04 +08:00
|
|
|
packet_ubuntu20-calico-aio-hardening:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2022-06-15 15:47:19 +08:00
|
|
|
packet_ubuntu22-aio-docker:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
|
|
|
packet_ubuntu22-calico-aio:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2021-11-25 22:54:33 +08:00
|
|
|
packet_centos7-flannel-addons-ha:
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2019-04-17 23:32:03 +08:00
|
|
|
stage: deploy-part2
|
2019-04-20 21:21:40 +08:00
|
|
|
when: on_success
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2022-01-05 18:20:33 +08:00
|
|
|
packet_almalinux8-crio:
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-04-22 21:09:52 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
when: on_success
|
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
packet_ubuntu20-crio:
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-05 22:17:09 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
when: manual
|
|
|
|
|
2021-12-02 22:21:34 +08:00
|
|
|
packet_fedora35-crio:
|
|
|
|
extends: .packet_pr
|
|
|
|
stage: deploy-part2
|
|
|
|
when: manual
|
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
packet_ubuntu20-flannel-ha:
|
2019-04-17 23:32:03 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2019-06-27 19:49:22 +08:00
|
|
|
when: manual
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2020-07-30 17:46:31 +08:00
|
|
|
packet_debian10-cilium-svc-proxy:
|
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
2020-09-30 22:19:26 +08:00
|
|
|
when: on_success
|
2020-07-30 17:46:31 +08:00
|
|
|
|
2021-12-14 06:50:25 +08:00
|
|
|
packet_debian10-calico:
|
2021-11-25 22:54:33 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
|
|
|
packet_debian10-docker:
|
2020-03-05 23:31:39 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-04 03:36:26 +08:00
|
|
|
when: on_success
|
2020-03-05 23:31:39 +08:00
|
|
|
|
2021-09-01 05:02:22 +08:00
|
|
|
packet_debian11-calico:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2021-11-25 22:54:33 +08:00
|
|
|
packet_debian11-docker:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2023-06-19 17:20:21 +08:00
|
|
|
packet_debian12-calico:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
|
|
|
packet_debian12-docker:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2020-05-04 03:36:26 +08:00
|
|
|
packet_centos7-calico-ha-once-localhost:
|
2019-12-11 20:48:06 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-06-04 23:59:14 +08:00
|
|
|
when: on_success
|
|
|
|
variables:
|
|
|
|
# This will instruct Docker not to start over TLS.
|
|
|
|
DOCKER_TLS_CERTDIR: ""
|
2020-05-04 03:36:26 +08:00
|
|
|
services:
|
2020-06-04 23:59:14 +08:00
|
|
|
- docker:19.03.9-dind
|
2019-06-28 15:35:38 +08:00
|
|
|
|
2022-01-05 18:20:33 +08:00
|
|
|
packet_almalinux8-kube-ovn:
|
2020-05-04 03:36:26 +08:00
|
|
|
stage: deploy-part2
|
2023-05-25 09:34:51 +08:00
|
|
|
extends: .packet_pr
|
2020-03-05 23:31:39 +08:00
|
|
|
when: on_success
|
|
|
|
|
2022-01-05 18:20:33 +08:00
|
|
|
packet_almalinux8-calico:
|
2019-12-05 21:42:32 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2019-12-05 21:42:32 +08:00
|
|
|
when: on_success
|
|
|
|
|
2022-07-05 22:50:47 +08:00
|
|
|
packet_rockylinux8-calico:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2022-09-05 07:54:36 +08:00
|
|
|
packet_rockylinux9-calico:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2023-01-07 18:35:26 +08:00
|
|
|
packet_rockylinux9-cilium:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
variables:
|
|
|
|
RESET_CHECK: "true"
|
|
|
|
|
2022-01-05 18:20:33 +08:00
|
|
|
packet_almalinux8-docker:
|
2021-11-25 22:54:33 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2022-06-13 20:49:57 +08:00
|
|
|
packet_fedora36-docker-weave:
|
2022-06-22 19:34:57 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-04 03:36:26 +08:00
|
|
|
when: on_success
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2021-12-03 00:01:34 +08:00
|
|
|
packet_opensuse-docker-cilium:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: manual
|
|
|
|
|
2020-05-04 03:36:26 +08:00
|
|
|
# ### MANUAL JOBS
|
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
packet_ubuntu20-docker-weave-sep:
|
2019-07-31 11:10:20 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-04 03:36:26 +08:00
|
|
|
when: manual
|
2019-07-31 11:10:20 +08:00
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
packet_ubuntu20-cilium-sep:
|
2020-05-04 03:36:26 +08:00
|
|
|
stage: deploy-special
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-04 03:36:26 +08:00
|
|
|
when: manual
|
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
packet_ubuntu20-flannel-ha-once:
|
2020-04-18 21:35:36 +08:00
|
|
|
stage: deploy-part2
|
2021-09-25 00:57:23 +08:00
|
|
|
extends: .packet_pr
|
|
|
|
when: manual
|
|
|
|
|
|
|
|
# Calico HA eBPF
|
2022-01-05 18:20:33 +08:00
|
|
|
packet_almalinux8-calico-ha-ebpf:
|
2021-09-25 00:57:23 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-04 03:36:26 +08:00
|
|
|
when: manual
|
2020-04-18 21:35:36 +08:00
|
|
|
|
2023-05-19 06:42:33 +08:00
|
|
|
packet_debian10-macvlan:
|
2019-06-11 17:58:18 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2019-12-11 16:10:05 +08:00
|
|
|
when: manual
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2020-05-04 03:36:26 +08:00
|
|
|
packet_centos7-calico-ha:
|
2019-04-17 23:32:03 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2019-04-17 23:32:03 +08:00
|
|
|
when: manual
|
|
|
|
|
2020-05-04 03:36:26 +08:00
|
|
|
packet_centos7-multus-calico:
|
2019-04-17 23:32:03 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-04 03:36:26 +08:00
|
|
|
when: manual
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2022-06-22 19:34:57 +08:00
|
|
|
packet_fedora36-docker-calico:
|
2019-06-11 17:58:18 +08:00
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
2020-05-04 03:36:26 +08:00
|
|
|
when: on_success
|
2021-11-19 08:46:51 +08:00
|
|
|
variables:
|
|
|
|
RESET_CHECK: "true"
|
2019-12-05 21:44:32 +08:00
|
|
|
|
2022-06-22 19:34:57 +08:00
|
|
|
packet_fedora35-calico-selinux:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_periodic
|
2021-08-28 05:20:53 +08:00
|
|
|
when: on_success
|
|
|
|
|
2021-11-30 16:52:56 +08:00
|
|
|
packet_fedora35-calico-swap-selinux:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: manual
|
|
|
|
|
2019-12-05 21:44:32 +08:00
|
|
|
packet_amazon-linux-2-aio:
|
|
|
|
stage: deploy-part2
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2019-12-05 21:44:32 +08:00
|
|
|
when: manual
|
2020-02-11 17:38:01 +08:00
|
|
|
|
2022-01-05 18:20:33 +08:00
|
|
|
packet_almalinux8-calico-nodelocaldns-secondary:
|
2021-11-10 01:57:47 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: manual
|
|
|
|
|
2022-06-13 20:49:57 +08:00
|
|
|
packet_fedora36-kube-ovn:
|
2022-06-22 19:34:57 +08:00
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_periodic
|
2020-05-08 22:55:43 +08:00
|
|
|
when: on_success
|
|
|
|
|
2023-03-03 16:23:08 +08:00
|
|
|
packet_debian11-custom-cni:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: manual
|
|
|
|
|
2023-05-11 08:49:09 +08:00
|
|
|
packet_debian11-kubelet-csr-approver:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: manual
|
|
|
|
|
2020-03-27 04:56:24 +08:00
|
|
|
# ### PR JOBS PART3
|
|
|
|
# Long jobs (45min+)
|
|
|
|
|
2022-06-17 15:21:47 +08:00
|
|
|
packet_centos7-weave-upgrade-ha:
|
2020-05-04 03:36:26 +08:00
|
|
|
stage: deploy-part3
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
2020-05-27 20:22:40 +08:00
|
|
|
when: on_success
|
2020-05-04 03:36:26 +08:00
|
|
|
variables:
|
|
|
|
UPGRADE_TEST: basic
|
|
|
|
|
2022-04-18 01:32:41 +08:00
|
|
|
packet_ubuntu20-calico-etcd-kubeadm-upgrade-ha:
|
|
|
|
stage: deploy-part3
|
|
|
|
extends: .packet_periodic
|
|
|
|
when: on_success
|
|
|
|
variables:
|
|
|
|
UPGRADE_TEST: basic
|
|
|
|
|
2021-06-25 18:22:45 +08:00
|
|
|
# Calico HA Wireguard
|
|
|
|
packet_ubuntu20-calico-ha-wireguard:
|
|
|
|
stage: deploy-part2
|
|
|
|
extends: .packet_pr
|
|
|
|
when: manual
|
|
|
|
|
2022-06-17 15:21:47 +08:00
|
|
|
packet_debian11-calico-upgrade:
|
2020-03-27 04:56:24 +08:00
|
|
|
stage: deploy-part3
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-27 20:22:40 +08:00
|
|
|
when: on_success
|
2020-03-27 04:56:24 +08:00
|
|
|
variables:
|
|
|
|
UPGRADE_TEST: graceful
|
|
|
|
|
2022-04-19 15:49:39 +08:00
|
|
|
packet_almalinux8-calico-remove-node:
|
|
|
|
stage: deploy-part3
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
variables:
|
|
|
|
REMOVE_NODE_CHECK: "true"
|
|
|
|
REMOVE_NODE_NAME: "instance-3"
|
|
|
|
|
2022-07-05 22:58:47 +08:00
|
|
|
packet_ubuntu20-calico-etcd-kubeadm:
|
|
|
|
stage: deploy-part3
|
|
|
|
extends: .packet_pr
|
|
|
|
when: on_success
|
|
|
|
|
2022-06-17 15:21:47 +08:00
|
|
|
packet_debian11-calico-upgrade-once:
|
2020-05-04 03:36:26 +08:00
|
|
|
stage: deploy-part3
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
2020-05-27 20:22:40 +08:00
|
|
|
when: on_success
|
2020-05-04 03:36:26 +08:00
|
|
|
variables:
|
|
|
|
UPGRADE_TEST: graceful
|
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
packet_ubuntu20-calico-ha-recover:
|
2020-03-27 04:56:24 +08:00
|
|
|
stage: deploy-part3
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
2020-02-11 17:38:01 +08:00
|
|
|
when: on_success
|
|
|
|
variables:
|
|
|
|
RECOVER_CONTROL_PLANE_TEST: "true"
|
2021-03-24 08:26:05 +08:00
|
|
|
RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube_control_plane[1:]"
|
2020-02-11 17:38:01 +08:00
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
packet_ubuntu20-calico-ha-recover-noquorum:
|
2020-03-27 04:56:24 +08:00
|
|
|
stage: deploy-part3
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
2020-02-11 17:38:01 +08:00
|
|
|
when: on_success
|
|
|
|
variables:
|
|
|
|
RECOVER_CONTROL_PLANE_TEST: "true"
|
2021-03-24 08:26:05 +08:00
|
|
|
RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:],kube_control_plane[1:]"
|