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:
|
2024-07-01 18:25:36 +08:00
|
|
|
- ffci
|
|
|
|
needs:
|
|
|
|
- pipeline-image
|
|
|
|
- ci-not-authorized
|
2020-09-18 23:08:46 +08:00
|
|
|
|
|
|
|
# CI template for PRs
|
|
|
|
.packet_pr:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-part1
|
|
|
|
rules:
|
|
|
|
- if: $PR_LABELS =~ /.*ci-short.*/
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: $CI_COMMIT_BRANCH =~ /^pr-.*$/
|
|
|
|
when: on_success
|
|
|
|
- when: manual
|
|
|
|
allow_failure: true
|
|
|
|
extends: .packet
|
|
|
|
|
|
|
|
## Uncomment this to have multiple stages
|
|
|
|
# needs:
|
|
|
|
# - packet_ubuntu20-calico-all-in-one
|
|
|
|
|
|
|
|
.packet_pr_short:
|
|
|
|
stage: deploy-part1
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet
|
2024-07-01 18:25:36 +08:00
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_BRANCH =~ /^pr-.*$/
|
|
|
|
when: on_success
|
|
|
|
- when: manual
|
|
|
|
allow_failure: true
|
|
|
|
|
|
|
|
.packet_pr_manual:
|
|
|
|
extends: .packet_pr
|
|
|
|
stage: deploy-extended
|
|
|
|
rules:
|
|
|
|
- if: $PR_LABELS =~ /.*ci-full.*/
|
|
|
|
when: on_success
|
|
|
|
# Else run as manual
|
|
|
|
- when: manual
|
|
|
|
allow_failure: true
|
|
|
|
|
|
|
|
.packet_pr_extended:
|
|
|
|
extends: .packet_pr
|
|
|
|
stage: deploy-extended
|
|
|
|
rules:
|
|
|
|
- if: $PR_LABELS =~ /.*(ci-extended|ci-full).*/
|
|
|
|
when: on_success
|
|
|
|
- when: manual
|
|
|
|
allow_failure: true
|
2020-09-18 23:08:46 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|
2023-06-26 15:57:08 +08:00
|
|
|
packet_cleanup_old:
|
|
|
|
stage: deploy-part1
|
|
|
|
extends: .packet_periodic
|
|
|
|
script:
|
|
|
|
- cd tests
|
|
|
|
- make cleanup-packet
|
|
|
|
after_script: []
|
|
|
|
|
2023-12-18 18:33:13 +08:00
|
|
|
# The ubuntu20-calico-all-in-one jobs are meant as early stages to prevent running the full CI if something is horribly broken
|
|
|
|
packet_ubuntu20-calico-all-in-one:
|
2020-03-27 17:14:23 +08:00
|
|
|
stage: deploy-part1
|
2024-07-01 18:25:36 +08:00
|
|
|
extends: .packet_pr_short
|
2021-11-11 08:11:50 +08:00
|
|
|
variables:
|
|
|
|
RESET_CHECK: "true"
|
|
|
|
|
2019-04-17 23:32:03 +08:00
|
|
|
# ### PR JOBS PART2
|
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu20-crio:
|
|
|
|
extends: .packet_pr_manual
|
2021-12-14 06:50:25 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu22-calico-all-in-one:
|
2022-10-19 20:35:04 +08:00
|
|
|
extends: .packet_pr
|
|
|
|
|
2024-08-29 22:47:32 +08:00
|
|
|
packet_ubuntu22-calico-all-in-one-upgrade:
|
|
|
|
extends: .packet_pr
|
|
|
|
variables:
|
|
|
|
UPGRADE_TEST: graceful
|
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu24-calico-etcd-datastore:
|
2022-06-15 15:47:19 +08:00
|
|
|
extends: .packet_pr
|
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_almalinux8-crio:
|
2022-06-15 15:47:19 +08:00
|
|
|
extends: .packet_pr
|
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_almalinux8-kube-ovn:
|
2024-05-18 15:35:20 +08:00
|
|
|
extends: .packet_pr
|
|
|
|
|
2024-07-04 00:13:59 +08:00
|
|
|
packet_debian11-calico:
|
2023-12-20 16:59:02 +08:00
|
|
|
extends: .packet_pr
|
|
|
|
|
2024-07-04 00:13:59 +08:00
|
|
|
packet_debian11-macvlan:
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_debian12-cilium:
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-05-05 22:17:09 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_rockylinux8-calico:
|
2021-12-02 22:21:34 +08:00
|
|
|
extends: .packet_pr
|
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_rockylinux9-cilium:
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2024-07-01 18:25:36 +08:00
|
|
|
variables:
|
|
|
|
RESET_CHECK: "true"
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_amazon-linux-2-all-in-one:
|
|
|
|
extends: .packet_pr
|
2020-07-30 17:46:31 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_opensuse-docker-cilium:
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_pr
|
2020-03-05 23:31:39 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu20-cilium-sep:
|
2021-09-01 05:02:22 +08:00
|
|
|
extends: .packet_pr
|
|
|
|
|
2024-11-12 18:36:46 +08:00
|
|
|
packet_openeuler24-calico:
|
|
|
|
extends: .packet_pr
|
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
## Extended
|
2021-11-25 22:54:33 +08:00
|
|
|
packet_debian11-docker:
|
2024-07-01 18:25:36 +08:00
|
|
|
extends: .packet_pr_extended
|
|
|
|
|
|
|
|
packet_debian12-docker:
|
|
|
|
extends: .packet_pr_extended
|
2021-11-25 22:54:33 +08:00
|
|
|
|
2023-06-19 17:20:21 +08:00
|
|
|
packet_debian12-calico:
|
2024-07-01 18:25:36 +08:00
|
|
|
extends: .packet_pr_extended
|
2023-06-19 17:20:21 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_almalinux8-calico-remove-node:
|
|
|
|
extends: .packet_pr_extended
|
|
|
|
variables:
|
|
|
|
REMOVE_NODE_CHECK: "true"
|
|
|
|
REMOVE_NODE_NAME: "instance-3"
|
2023-06-19 17:20:21 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_rockylinux9-calico:
|
|
|
|
extends: .packet_pr_extended
|
|
|
|
|
|
|
|
packet_almalinux8-calico:
|
|
|
|
extends: .packet_pr_extended
|
|
|
|
|
|
|
|
packet_almalinux8-docker:
|
|
|
|
extends: .packet_pr_extended
|
2023-09-06 01:42:52 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu20-calico-all-in-one-hardening:
|
|
|
|
extends: .packet_pr_extended
|
2022-07-05 22:50:47 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu24-calico-all-in-one:
|
|
|
|
extends: .packet_pr_extended
|
2022-09-05 07:54:36 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu20-calico-etcd-kubeadm:
|
|
|
|
extends: .packet_pr_extended
|
2023-01-07 18:35:26 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu24-all-in-one-docker:
|
|
|
|
extends: .packet_pr_extended
|
2021-11-25 22:54:33 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu22-all-in-one-docker:
|
|
|
|
extends: .packet_pr_extended
|
2024-05-08 17:15:23 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
# ### MANUAL JOBS
|
2024-10-08 21:32:23 +08:00
|
|
|
packet_fedora39-crio:
|
|
|
|
extends: .packet_pr_manual
|
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu20-flannel-ha:
|
|
|
|
extends: .packet_pr_manual
|
2020-05-04 03:36:26 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_ubuntu20-all-in-one-docker:
|
|
|
|
extends: .packet_pr_manual
|
2019-07-31 11:10:20 +08:00
|
|
|
|
2023-05-25 10:56:50 +08:00
|
|
|
packet_ubuntu20-flannel-ha-once:
|
2024-07-01 18:25:36 +08:00
|
|
|
extends: .packet_pr_manual
|
|
|
|
|
2024-10-01 14:57:49 +08:00
|
|
|
packet_fedora39-calico-swap-selinux:
|
|
|
|
extends: .packet_pr_manual
|
|
|
|
|
2022-01-05 18:20:33 +08:00
|
|
|
packet_almalinux8-calico-ha-ebpf:
|
2024-07-01 18:25:36 +08:00
|
|
|
extends: .packet_pr_manual
|
2020-04-18 21:35:36 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_almalinux8-calico-nodelocaldns-secondary:
|
|
|
|
extends: .packet_pr_manual
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
packet_debian11-custom-cni:
|
|
|
|
extends: .packet_pr_manual
|
|
|
|
|
|
|
|
packet_debian11-kubelet-csr-approver:
|
|
|
|
extends: .packet_pr_manual
|
|
|
|
|
|
|
|
packet_debian12-custom-cni-helm:
|
|
|
|
extends: .packet_pr_manual
|
|
|
|
|
|
|
|
packet_ubuntu20-calico-ha-wireguard:
|
|
|
|
extends: .packet_pr_manual
|
2019-04-17 23:32:03 +08:00
|
|
|
|
2024-07-01 18:25:36 +08:00
|
|
|
# PERIODIC
|
2024-10-01 14:57:49 +08:00
|
|
|
packet_fedora40-docker-calico:
|
|
|
|
stage: deploy-extended
|
|
|
|
extends: .packet_periodic
|
|
|
|
variables:
|
|
|
|
RESET_CHECK: "true"
|
|
|
|
|
|
|
|
packet_fedora39-calico-selinux:
|
|
|
|
stage: deploy-extended
|
|
|
|
extends: .packet_periodic
|
2020-05-04 03:36:26 +08:00
|
|
|
|
2022-04-18 01:32:41 +08:00
|
|
|
packet_ubuntu20-calico-etcd-kubeadm-upgrade-ha:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2022-04-18 01:32:41 +08:00
|
|
|
extends: .packet_periodic
|
|
|
|
variables:
|
|
|
|
UPGRADE_TEST: basic
|
|
|
|
|
2022-07-05 22:58:47 +08:00
|
|
|
|
2022-06-17 15:21:47 +08:00
|
|
|
packet_debian11-calico-upgrade-once:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
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:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
2020-02-11 17:38:01 +08:00
|
|
|
variables:
|
|
|
|
RECOVER_CONTROL_PLANE_TEST: "true"
|
2023-09-06 01:42:52 +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:
|
2024-07-01 18:25:36 +08:00
|
|
|
stage: deploy-extended
|
2020-09-18 23:08:46 +08:00
|
|
|
extends: .packet_periodic
|
2020-02-11 17:38:01 +08:00
|
|
|
variables:
|
|
|
|
RECOVER_CONTROL_PLANE_TEST: "true"
|
2023-09-06 01:42:52 +08:00
|
|
|
RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[1:]:kube_control_plane[1:]"
|
2024-07-01 18:25:36 +08:00
|
|
|
|
|
|
|
packet_debian11-calico-upgrade:
|
|
|
|
stage: deploy-extended
|
|
|
|
extends: .packet_periodic
|
|
|
|
variables:
|
|
|
|
UPGRADE_TEST: graceful
|
2024-07-04 00:13:59 +08:00
|
|
|
|
|
|
|
packet_debian12-cilium-svc-proxy:
|
|
|
|
stage: deploy-extended
|
|
|
|
extends: .packet_periodic
|