Skip to content

Decouple CAPM3 from metal3-dev-env #1996

@adilGhaffarDev

Description

@adilGhaffarDev

User Story

Right now CAPM3 CI is heavily dependent on metal3-dev-env, from environment setup to BMHs creation all is done by metal3-dev-env. We should move it to CAPM3 and also simplify it. Use Kustomize to deploy ironic and BMO instead of cloning repos. Similar work is already done in capm3 clusterctl upgrade tests:

Detailed Description
The following tasks need to be done in order to accomplish this:
(Let's do them in order so it does not break the CI)

  • Launch management cluster:
    NOTE: Right now we are launching minikube cluster for Centos and kind for Ubuntu. In the case of kind cluster we deploy ironic in the container instead of inside the cluster. We should move away from kind and only use Minikube for both Ubuntu and Centos.

  • Create BMHs
    Right now dev-env is creating BMHs in the metal3 namespace which are used by all tests. We should create BMHs at the start of each test and destroy them in the cleanup of each test.

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.triage/acceptedIndicates an issue is ready to be actively worked on.

Projects

Status

CAPM3 WIP

Relationships

None yet

Development

No branches or pull requests

Issue actions