mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
CI: remove 'packet' from jobs name + rename to kubevirt
This is more accurate, the name 'packet' being an aterfact of history (the Kubevirt jobs used to run on Packet, the previous name of Equinix)
This commit is contained in:
@@ -90,6 +90,6 @@ include:
|
|||||||
- .gitlab-ci/build.yml
|
- .gitlab-ci/build.yml
|
||||||
- .gitlab-ci/lint.yml
|
- .gitlab-ci/lint.yml
|
||||||
- .gitlab-ci/terraform.yml
|
- .gitlab-ci/terraform.yml
|
||||||
- .gitlab-ci/packet.yml
|
- .gitlab-ci/kubevirt.yml
|
||||||
- .gitlab-ci/vagrant.yml
|
- .gitlab-ci/vagrant.yml
|
||||||
- .gitlab-ci/molecule.yml
|
- .gitlab-ci/molecule.yml
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
.packet:
|
.kubevirt:
|
||||||
extends: .job-moderated
|
extends: .job-moderated
|
||||||
interruptible: true
|
interruptible: true
|
||||||
before_script:
|
before_script:
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
# (currently, a removed job in the target branch breaks the tests, because the
|
# (currently, a removed job in the target branch breaks the tests, because the
|
||||||
# pipeline definition is parsed by gitlab before the rebase.sh script)
|
# pipeline definition is parsed by gitlab before the rebase.sh script)
|
||||||
# CI template for PRs
|
# CI template for PRs
|
||||||
packet_pr:
|
pr:
|
||||||
stage: deploy-part1
|
stage: deploy-part1
|
||||||
rules:
|
rules:
|
||||||
- if: $PR_LABELS =~ /.*ci-short.*/
|
- if: $PR_LABELS =~ /.*ci-short.*/
|
||||||
@@ -32,7 +32,7 @@ packet_pr:
|
|||||||
when: on_success
|
when: on_success
|
||||||
- when: manual
|
- when: manual
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
extends: .packet
|
extends: .kubevirt
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- TESTCASE:
|
- TESTCASE:
|
||||||
@@ -53,9 +53,9 @@ packet_pr:
|
|||||||
- ubuntu24-calico-etcd-datastore
|
- 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
|
# 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
|
stage: deploy-part1
|
||||||
extends: .packet
|
extends: .kubevirt
|
||||||
variables:
|
variables:
|
||||||
TESTCASE: ubuntu20-calico-all-in-one
|
TESTCASE: ubuntu20-calico-all-in-one
|
||||||
rules:
|
rules:
|
||||||
@@ -64,8 +64,8 @@ packet_ubuntu20-calico-all-in-one:
|
|||||||
- when: manual
|
- when: manual
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
packet_pr_full:
|
pr_full:
|
||||||
extends: .packet
|
extends: .kubevirt
|
||||||
stage: deploy-extended
|
stage: deploy-extended
|
||||||
rules:
|
rules:
|
||||||
- if: $PR_LABELS =~ /.*ci-full.*/
|
- if: $PR_LABELS =~ /.*ci-full.*/
|
||||||
@@ -90,8 +90,8 @@ packet_pr_full:
|
|||||||
|
|
||||||
# Need an update of the container image to use schema v2
|
# Need an update of the container image to use schema v2
|
||||||
# update: quay.io/kubespray/vm-amazon-linux-2:latest
|
# update: quay.io/kubespray/vm-amazon-linux-2:latest
|
||||||
packet_manual:
|
manual:
|
||||||
extends: packet_pr_full
|
extends: pr_full
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- TESTCASE:
|
- TESTCASE:
|
||||||
@@ -100,8 +100,8 @@ packet_manual:
|
|||||||
- when: manual
|
- when: manual
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
packet_pr_extended:
|
pr_extended:
|
||||||
extends: .packet
|
extends: .kubevirt
|
||||||
stage: deploy-extended
|
stage: deploy-extended
|
||||||
rules:
|
rules:
|
||||||
- if: $PR_LABELS =~ /.*(ci-extended|ci-full).*/
|
- if: $PR_LABELS =~ /.*(ci-extended|ci-full).*/
|
||||||
@@ -125,12 +125,12 @@ packet_pr_extended:
|
|||||||
- ubuntu24-calico-all-in-one
|
- ubuntu24-calico-all-in-one
|
||||||
|
|
||||||
# Enabled when PERIODIC_CI_ENABLED var is set
|
# Enabled when PERIODIC_CI_ENABLED var is set
|
||||||
packet_periodic:
|
periodic:
|
||||||
only:
|
only:
|
||||||
variables:
|
variables:
|
||||||
- $PERIODIC_CI_ENABLED
|
- $PERIODIC_CI_ENABLED
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
extends: .packet
|
extends: .kubevirt
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- TESTCASE:
|
- TESTCASE:
|
||||||
@@ -14,6 +14,6 @@ provisioner:
|
|||||||
callbacks_enabled: profile_tasks
|
callbacks_enabled: profile_tasks
|
||||||
timeout: 120
|
timeout: 120
|
||||||
playbooks:
|
playbooks:
|
||||||
create: ../../../../tests/cloud_playbooks/create-packet.yml
|
create: ../../../../tests/cloud_playbooks/create-kubevirt.yml
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -22,6 +22,6 @@ provisioner:
|
|||||||
hosts:
|
hosts:
|
||||||
bastion-01:
|
bastion-01:
|
||||||
playbooks:
|
playbooks:
|
||||||
create: ../../../../tests/cloud_playbooks/create-packet.yml
|
create: ../../../../tests/cloud_playbooks/create-kubevirt.yml
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -32,6 +32,6 @@ provisioner:
|
|||||||
name: foo
|
name: foo
|
||||||
comment: My test comment
|
comment: My test comment
|
||||||
playbooks:
|
playbooks:
|
||||||
create: ../../../../tests/cloud_playbooks/create-packet.yml
|
create: ../../../../tests/cloud_playbooks/create-kubevirt.yml
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ provisioner:
|
|||||||
callbacks_enabled: profile_tasks
|
callbacks_enabled: profile_tasks
|
||||||
timeout: 120
|
timeout: 120
|
||||||
playbooks:
|
playbooks:
|
||||||
create: ../../../../../tests/cloud_playbooks/create-packet.yml
|
create: ../../../../../tests/cloud_playbooks/create-kubevirt.yml
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ provisioner:
|
|||||||
all:
|
all:
|
||||||
become: true
|
become: true
|
||||||
playbooks:
|
playbooks:
|
||||||
create: ../../../../../tests/cloud_playbooks/create-packet.yml
|
create: ../../../../../tests/cloud_playbooks/create-kubevirt.yml
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -42,6 +42,6 @@ provisioner:
|
|||||||
callbacks_enabled: profile_tasks
|
callbacks_enabled: profile_tasks
|
||||||
timeout: 120
|
timeout: 120
|
||||||
playbooks:
|
playbooks:
|
||||||
create: ../../../../../tests/cloud_playbooks/create-packet.yml
|
create: ../../../../../tests/cloud_playbooks/create-kubevirt.yml
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ $(ANSIBLE_INVENTORY):
|
|||||||
mkdir $@
|
mkdir $@
|
||||||
|
|
||||||
create-packet: | $(ANSIBLE_INVENTORY)
|
create-packet: | $(ANSIBLE_INVENTORY)
|
||||||
ansible-playbook cloud_playbooks/create-packet.yml -c local \
|
ansible-playbook cloud_playbooks/create-kubevirt.yml -c local \
|
||||||
-e @"files/${CI_JOB_NAME}.yml"
|
-e @"files/${CI_JOB_NAME}.yml"
|
||||||
|
|
||||||
delete-packet: ;
|
delete-packet: ;
|
||||||
|
|||||||
Reference in New Issue
Block a user