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:
Max Gautier
2025-03-20 10:19:42 +01:00
parent 4f3b214ef5
commit 862aec4dc6
10 changed files with 21 additions and 21 deletions

View File

@@ -90,6 +90,6 @@ include:
- .gitlab-ci/build.yml
- .gitlab-ci/lint.yml
- .gitlab-ci/terraform.yml
- .gitlab-ci/packet.yml
- .gitlab-ci/kubevirt.yml
- .gitlab-ci/vagrant.yml
- .gitlab-ci/molecule.yml

View File

@@ -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:

View File

@@ -14,6 +14,6 @@ provisioner:
callbacks_enabled: profile_tasks
timeout: 120
playbooks:
create: ../../../../tests/cloud_playbooks/create-packet.yml
create: ../../../../tests/cloud_playbooks/create-kubevirt.yml
verifier:
name: testinfra

View File

@@ -22,6 +22,6 @@ provisioner:
hosts:
bastion-01:
playbooks:
create: ../../../../tests/cloud_playbooks/create-packet.yml
create: ../../../../tests/cloud_playbooks/create-kubevirt.yml
verifier:
name: testinfra

View File

@@ -32,6 +32,6 @@ provisioner:
name: foo
comment: My test comment
playbooks:
create: ../../../../tests/cloud_playbooks/create-packet.yml
create: ../../../../tests/cloud_playbooks/create-kubevirt.yml
verifier:
name: testinfra

View File

@@ -34,6 +34,6 @@ provisioner:
callbacks_enabled: profile_tasks
timeout: 120
playbooks:
create: ../../../../../tests/cloud_playbooks/create-packet.yml
create: ../../../../../tests/cloud_playbooks/create-kubevirt.yml
verifier:
name: testinfra

View File

@@ -26,6 +26,6 @@ provisioner:
all:
become: true
playbooks:
create: ../../../../../tests/cloud_playbooks/create-packet.yml
create: ../../../../../tests/cloud_playbooks/create-kubevirt.yml
verifier:
name: testinfra

View File

@@ -42,6 +42,6 @@ provisioner:
callbacks_enabled: profile_tasks
timeout: 120
playbooks:
create: ../../../../../tests/cloud_playbooks/create-packet.yml
create: ../../../../../tests/cloud_playbooks/create-kubevirt.yml
verifier:
name: testinfra

View File

@@ -8,7 +8,7 @@ $(ANSIBLE_INVENTORY):
mkdir $@
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"
delete-packet: ;