Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cifmw kuttl job as parent job for reusability #902

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 4 additions & 31 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -1,47 +1,20 @@
---
- job:
name: nova-operator-base
description: |
This is the base job for all nova-operator tests that will deploy
openstack. the base job does not deploy openstack but it does use
the nova-operator-content-provider job to provide a registry with
built operators and installs them on a crc environment. Child jobs
should take this deployed crc and use the installed operators to
deploy openstack and then test it. This job will fetch the job
output directory so child jobs can just add additional logs to that
in there post-playbooks.
parent: cifmw-podified-multinode-edpm-base-crc
abstract: true
attempts: 1
dependencies: ["openstack-meta-content-provider"]
required-projects:
- github.com/openstack-k8s-operators/ci-framework
- github.com/openstack-k8s-operators/install_yamls
roles:
- zuul: github.com/openstack-k8s-operators/ci-framework
pre-run:
- ci/nova-operator-base/playbooks/pre-wrapper.yaml
post-run:
- ci/nova-operator-base/playbooks/collect-logs.yaml

- job:
name: nova-operator-kuttl
parent: nova-operator-base
SeanMooney marked this conversation as resolved.
Show resolved Hide resolved
parent: cifmw-multinode-kuttl-operator-target
dependencies: ["openstack-meta-content-provider"]
roles:
- zuul: github.com/openstack-k8s-operators/ci-framework
description: |
This job deploy a basic "Compute Starter Kit" topology
https://www.openstack.org/software/sample-configs#compute-starter-kit
that is the minium set of openstack services required to boot a vm.
pre-run:
- ci/nova-operator-kuttl/playbooks/deploy-deps.yaml
run:
- ci/nova-operator-kuttl/playbooks/run-kuttl.yaml
nodeset: centos-9-medium-crc-extracted-2-39-0-3xl
vars:
collection_namespace_override: "nova-kuttl-default"
operator_name: nova-operator
zuul_log_collection: true
post-run:
- ci/nova-operator-base/playbooks/collect-logs.yaml
extra-vars:
crc_ci_bootstrap_networking:
networks:
Expand Down
2 changes: 0 additions & 2 deletions ci/nova-operator-base/ansible.cfg

This file was deleted.

18 changes: 0 additions & 18 deletions ci/nova-operator-base/ci_fw_vars.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions ci/nova-operator-base/inventory.ini

This file was deleted.

33 changes: 0 additions & 33 deletions ci/nova-operator-base/playbooks/pre-wrapper.yaml

This file was deleted.

128 changes: 0 additions & 128 deletions ci/nova-operator-base/playbooks/pre.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions ci/nova-operator-kuttl/ansible.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions ci/nova-operator-kuttl/inventory.ini

This file was deleted.

17 changes: 0 additions & 17 deletions ci/nova-operator-kuttl/playbooks/deploy-deps.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions ci/nova-operator-kuttl/playbooks/run-kuttl.yaml

This file was deleted.