Skip to content

Commit

Permalink
Integrate the ci-framework in install_yamls/devsetup
Browse files Browse the repository at this point in the history
The ci-framework will extend the existing Makefile capabilities in order
to add more external VM, support other "infra backend" than CRC/libvirt,
and add "hooks" support in order to inject code between the run steps.

Run steps, as defined by the needs, are as follow:
- bootstrap infrastructure (for now, crc/libvirt), with one or more
  external VM
- build packages/operators/container images
- deploy openstack
- run tests/validations/others

The hooks will allow to act on the deploy between those steps,
empowering people to run tests, validations, or even side-load content
at the end or beginning of each of the steps.

The ci-framework will call most of the existing Makefile(s) targets,
this is why we need it to be cloned in a know location, on demand.

The two added targets allow to prepare the environment to leverage the
framework - more targets, prefixed by `cifmw_`, will be added depending
on the needs.
  • Loading branch information
cjeanner committed Mar 13, 2023
1 parent 915deeb commit 2044896
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ out
pull-secret.txt
kuttl-test-*.json
kubeconfig
devsetup/ci-framework
8 changes: 8 additions & 0 deletions devsetup/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,11 @@ edpm_play: ## Deploy EDPM node using openstackansibleee resource
.PHONY: edpm_play_cleanup
edpm_play_cleanup: ## Cleanup EDPM openstackansibleee resource
-oc delete openstackansibleee deploy-external-dataplane-compute

.PHONY: cifmw_prepare
cifmw_prepare: ## Clone the ci-framework repository in the ci-framework directory. That location is ignored from git.
git clone https://github.com/openstack-k8s-operators/ci-framework ci-framework

.PHONY: cifmw_cleanup
cifmw_cleanup: ## Clean ci-framework git clone
rm -rf ci-framework

0 comments on commit 2044896

Please sign in to comment.