Browse Source

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)
pull/12037/head
Max Gautier 1 month ago
parent
commit
862aec4dc6
Failed to extract signature
10 changed files with 21 additions and 21 deletions
  1. 2
      .gitlab-ci.yml
  2. 26
      .gitlab-ci/kubevirt.yml
  3. 2
      roles/adduser/molecule/default/molecule.yml
  4. 2
      roles/bastion-ssh-config/molecule/default/molecule.yml
  5. 2
      roles/bootstrap-os/molecule/default/molecule.yml
  6. 2
      roles/container-engine/containerd/molecule/default/molecule.yml
  7. 2
      roles/container-engine/cri-dockerd/molecule/default/molecule.yml
  8. 2
      roles/container-engine/cri-o/molecule/default/molecule.yml
  9. 2
      tests/Makefile
  10. 0
      tests/cloud_playbooks/create-kubevirt.yml

2
.gitlab-ci.yml

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

.gitlab-ci/packet.yml → .gitlab-ci/kubevirt.yml

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

2
roles/adduser/molecule/default/molecule.yml

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

2
roles/bastion-ssh-config/molecule/default/molecule.yml

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

2
roles/bootstrap-os/molecule/default/molecule.yml

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

2
roles/container-engine/containerd/molecule/default/molecule.yml

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

2
roles/container-engine/cri-dockerd/molecule/default/molecule.yml

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

2
roles/container-engine/cri-o/molecule/default/molecule.yml

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

2
tests/Makefile

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

tests/cloud_playbooks/create-packet.yml → tests/cloud_playbooks/create-kubevirt.yml

Loading…
Cancel
Save