|
|
@ -1,5 +1,5 @@ |
|
|
|
--- |
|
|
|
.packet: |
|
|
|
.kubevirt: |
|
|
|
extends: .job-moderated |
|
|
|
interruptible: true |
|
|
|
before_script: |
|
|
@ -22,7 +22,7 @@ |
|
|
|
# (currently, a removed job in the target branch breaks the tests, because the |
|
|
|
# pipeline definition is parsed by gitlab before the rebase.sh script) |
|
|
|
# CI template for PRs |
|
|
|
packet_pr: |
|
|
|
pr: |
|
|
|
stage: deploy-part1 |
|
|
|
rules: |
|
|
|
- if: $PR_LABELS =~ /.*ci-short.*/ |
|
|
@ -32,7 +32,7 @@ packet_pr: |
|
|
|
when: on_success |
|
|
|
- when: manual |
|
|
|
allow_failure: true |
|
|
|
extends: .packet |
|
|
|
extends: .kubevirt |
|
|
|
parallel: |
|
|
|
matrix: |
|
|
|
- TESTCASE: |
|
|
@ -53,9 +53,9 @@ packet_pr: |
|
|
|
- ubuntu24-calico-etcd-datastore |
|
|
|
|
|
|
|
# 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: |
|
|
|
ubuntu20-calico-all-in-one: |
|
|
|
stage: deploy-part1 |
|
|
|
extends: .packet |
|
|
|
extends: .kubevirt |
|
|
|
variables: |
|
|
|
TESTCASE: ubuntu20-calico-all-in-one |
|
|
|
rules: |
|
|
@ -64,8 +64,8 @@ packet_ubuntu20-calico-all-in-one: |
|
|
|
- when: manual |
|
|
|
allow_failure: true |
|
|
|
|
|
|
|
packet_pr_full: |
|
|
|
extends: .packet |
|
|
|
pr_full: |
|
|
|
extends: .kubevirt |
|
|
|
stage: deploy-extended |
|
|
|
rules: |
|
|
|
- if: $PR_LABELS =~ /.*ci-full.*/ |
|
|
@ -90,8 +90,8 @@ packet_pr_full: |
|
|
|
|
|
|
|
# Need an update of the container image to use schema v2 |
|
|
|
# update: quay.io/kubespray/vm-amazon-linux-2:latest |
|
|
|
packet_manual: |
|
|
|
extends: packet_pr_full |
|
|
|
manual: |
|
|
|
extends: pr_full |
|
|
|
parallel: |
|
|
|
matrix: |
|
|
|
- TESTCASE: |
|
|
@ -100,8 +100,8 @@ packet_manual: |
|
|
|
- when: manual |
|
|
|
allow_failure: true |
|
|
|
|
|
|
|
packet_pr_extended: |
|
|
|
extends: .packet |
|
|
|
pr_extended: |
|
|
|
extends: .kubevirt |
|
|
|
stage: deploy-extended |
|
|
|
rules: |
|
|
|
- if: $PR_LABELS =~ /.*(ci-extended|ci-full).*/ |
|
|
@ -125,12 +125,12 @@ packet_pr_extended: |
|
|
|
- ubuntu24-calico-all-in-one |
|
|
|
|
|
|
|
# Enabled when PERIODIC_CI_ENABLED var is set |
|
|
|
packet_periodic: |
|
|
|
periodic: |
|
|
|
only: |
|
|
|
variables: |
|
|
|
- $PERIODIC_CI_ENABLED |
|
|
|
allow_failure: true |
|
|
|
extends: .packet |
|
|
|
extends: .kubevirt |
|
|
|
parallel: |
|
|
|
matrix: |
|
|
|
- TESTCASE: |