Introduce target platform ποΈ for CI deployments
What does this MR do and why?
This MR introduce platform selector (
In the past, we had one test platform for each infra provider: capd was tested on gitlab-runners, capo in Orange hosted Openstack and capm3 was tested on Equinix Metal with libvirt-metal. We naturally used the infra provider selector (
We are now introducing capm3 test on real baremetal servers and we see that we cannot longer do that. Even if a deployment platform it strongly linked to the infra provider, we need a platform selector.
So with this MR we have the possibility to select a target deployment platform firstly for capm3:
-
ποΈ virt-equinixtriggers capm3-virt test on Equinix Metal -
ποΈ real-bmhtriggers capm3 test on new real baremetal servers - without selector the default platform is used => it is equivalent to
ποΈ virt-equinix
Related reference(s)
Test coverage
CI configuration
Below you can choose test deployment variants to run in this MR's CI.
Click to open to CI configuration
Legend:
| Icon | Meaning | Available values |
|---|---|---|
| Infra Provider |
capd, capo, capm3
|
|
| Bootstrap Provider |
kubeadm (alias kadm), rke2, okd, ck8s
|
|
| Node OS |
ubuntu, suse, na, leapmicro
|
|
| Deployment Options |
light-deploy, dev-sources, ha, misc, maxsurge-0, logging, no-logging, cilium
|
|
| Pipeline Scenarios | Available scenario list and description | |
| Enabled units | Any available units name, by default apply to management and workload cluster. Can be prefixed by mgmt: or wkld: to be applied only to a specific cluster type |
-
π¬ previewβοΈ capdπ kadmπ§ ubuntu -
π¬ previewβοΈ capoπ rke2π§ suse -
π¬ previewβοΈ capm3π rke2π§ ubuntu -
βοΈ capdπ kadmπ οΈ light-deployπ§ ubuntu -
βοΈ capdπ rke2π οΈ light-deployπ§ suse -
βοΈ capoπ rke2π§ suse -
βοΈ capoπ rke2π§ leapmicro -
βοΈ capoπ kadmπ§ ubuntu -
βοΈ capoπ kadmπ§ ubuntuπ’ neuvector,mgmt:harbor -
βοΈ capoπ rke2π¬ rolling-updateπ οΈ haπ§ ubuntu -
βοΈ capoπ kadmπ¬ wkld-k8s-upgradeπ§ ubuntu -
βοΈ capoπ rke2π¬ rolling-update-no-wkldπ οΈ haπ§ suse -
βοΈ capoπ rke2π¬ sylva-upgrade-from-1.5.xπ οΈ haπ§ ubuntu -
βοΈ capoπ rke2π¬ sylva-upgrade-from-1.5.xπ οΈ ha,miscπ§ ubuntu -
βοΈ capoπ rke2π οΈ ha,miscπ§ ubuntu -
βοΈ capoπ rke2π οΈ ha,misc,openbaoπ§ suse -
βοΈ capoπ rke2π§ suseπ¬ upgrade-from-prev-tag -
βοΈ capm3π rke2π§ suseποΈ real-bmh -
βοΈ capm3π kadmπ§ ubuntuποΈ virt-equinix -
βοΈ capm3π ck8sπ§ ubuntu -
βοΈ capm3π kadmπ¬ rolling-update-no-wkldπ οΈ ha,miscπ§ ubuntu -
βοΈ capm3π rke2π¬ wkld-k8s-upgradeπ οΈ haπ§ suse -
βοΈ capm3π kadmπ¬ rolling-updateπ οΈ haπ§ ubuntu -
βοΈ capm3π rke2π¬ sylva-upgrade-from-1.5.xπ οΈ haπ§ suse -
βοΈ capm3π rke2π οΈ misc,haπ§ suse -
βοΈ capm3π rke2π¬ sylva-upgrade-from-1.5.xπ οΈ ha,miscπ§ suse -
βοΈ capm3π kadmπ¬ rolling-updateπ οΈ haπ§ suse -
βοΈ capm3π ck8sπ¬ rolling-updateπ οΈ haπ§ ubuntu -
βοΈ capm3π rke2|okdπ¬ no-updateπ§ ubuntu|na -
βοΈ capm3π rke2π§ suseπ¬ upgrade-from-release-1.5 -
βοΈ capm3π rke2π§ suseπ¬ upgrade-to-main
Global config for deployment pipelines
-
autorun pipelines -
allow failure on pipelines -
record sylvactl events
Notes:
- Enabling
autorunwill make deployment pipelines to be run automatically without human interaction - Disabling
allow failurewill make deployment pipelines mandatory for pipeline success. - if both
autorunandallow failureare disabled, deployment pipelines will need manual triggering but will be blocking the pipeline
Be aware: after configuration change, pipeline is not triggered automatically.
Please run it manually (by clicking the run pipeline button in Pipelines tab) or push new code.