Skip to content

Commit

Permalink
Merge branch 'openstack-k8s-operators:main' into cell-deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
auniyal61 authored Dec 9, 2024
2 parents 832bf37 + 418bd2b commit 00be5c8
Show file tree
Hide file tree
Showing 19 changed files with 91 additions and 304 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ repos:
entry: make
args: ['bundle', 'VERSION=0.0.1']
pass_filenames: false
- id: make-crd-schema-check
name: make-crd-schema-check
language: system
entry: make
args: ['crd-schema-check']
pass_filenames: false

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand Down
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
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
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -420,3 +420,11 @@ kuttl-test-cleanup:
else \
echo "Namespce already cleaned up. Nothing to do"; \
fi

CRD_SCHEMA_CHECKER_VERSION ?= release-4.16
BRANCH ?= main

PHONY: crd-schema-check
crd-schema-check: manifests
INSTALL_DIR=$(LOCALBIN) CRD_SCHEMA_CHECKER_VERSION=$(CRD_SCHEMA_CHECKER_VERSION) hack/build-crd-schema-checker.sh
INSTALL_DIR=$(LOCALBIN) BASE_REF="$${PULL_BASE_SHA:-$(BRANCH)}" hack/crd-schema-checker.sh
10 changes: 5 additions & 5 deletions api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require (
github.com/google/go-cmp v0.6.0
github.com/openstack-k8s-operators/lib-common/modules/common v0.5.1-0.20241113144931-ff1fd2dcd04a
github.com/robfig/cron/v3 v3.0.1
k8s.io/api v0.29.10
k8s.io/apimachinery v0.29.10
k8s.io/api v0.29.11
k8s.io/apimachinery v0.29.11
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
sigs.k8s.io/controller-runtime v0.17.6
)
Expand Down Expand Up @@ -56,9 +56,9 @@ require (
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.29.10 // indirect
k8s.io/client-go v0.29.10 // indirect
k8s.io/component-base v0.29.10 // indirect
k8s.io/apiextensions-apiserver v0.29.11 // indirect
k8s.io/client-go v0.29.11 // indirect
k8s.io/component-base v0.29.11 // indirect
k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
Expand Down
20 changes: 10 additions & 10 deletions api/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,16 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/api v0.29.10 h1:Fao3HOxccbGRC1HZtXD+Y41xJhP0tEToVo5W7EEUBm0=
k8s.io/api v0.29.10/go.mod h1:rF0sRh64w1hMNAVGh4YYniSxODyHye3GLmymAbWBDvY=
k8s.io/apiextensions-apiserver v0.29.10 h1:2k2AHrWgs4S+07HrOjEdcyrQ/UqYlvBi6uon1fox1KE=
k8s.io/apiextensions-apiserver v0.29.10/go.mod h1:3rrJC52bW5frHf10N3JvaDpl++hgrzD9Gs6IZpKWMoc=
k8s.io/apimachinery v0.29.10 h1:57OLNqOJUgp5KlRRY3JOBFOTTa5Rt/LVkmKiiN2cvaQ=
k8s.io/apimachinery v0.29.10/go.mod h1:i3FJVwhvSp/6n8Fl4K97PJEP8C+MM+aoDq4+ZJBf70Y=
k8s.io/client-go v0.29.10 h1:hPmG1pmKslRhmCIzVd90sA58B0sJwNwduNgXFWsFqhI=
k8s.io/client-go v0.29.10/go.mod h1:gnMCQiRXGL9K0VtlW8gTkhzptGrHm2BJ4qBbujNemc4=
k8s.io/component-base v0.29.10 h1:YQrQ/bpzGPGqIPEPaBzxjH0/1DJOI+yZPZNbbz7ZCBY=
k8s.io/component-base v0.29.10/go.mod h1:IbwsBob2DnYiAONsSHIuYenchqcDycbHSLHrXshuLgM=
k8s.io/api v0.29.11 h1:6FwDo33f1WX5Yu0RQTX9YAd3wth8Ik0B4SXQKsoQfbk=
k8s.io/api v0.29.11/go.mod h1:3TDAW1OpFbz/Yx5r0W06b6eiAfHEwtH61VYDzpTU4Ng=
k8s.io/apiextensions-apiserver v0.29.11 h1:ytJJQ8EK0GzPa80tnPkfDoBGoNPMwqfaSWwg4FKmbEU=
k8s.io/apiextensions-apiserver v0.29.11/go.mod h1:eqKsza/nErdFNltXoVZmRt9vX99ooDLDMTcIcOG0ueg=
k8s.io/apimachinery v0.29.11 h1:55+6ue9advpA7T0sX2ZJDHCLKuiFfrAAR/39VQN9KEQ=
k8s.io/apimachinery v0.29.11/go.mod h1:i3FJVwhvSp/6n8Fl4K97PJEP8C+MM+aoDq4+ZJBf70Y=
k8s.io/client-go v0.29.11 h1:mBX7Ub0uqpLMwWz3J/AGS/xKOZsjr349qZ1vxVoL1l8=
k8s.io/client-go v0.29.11/go.mod h1:WOEoi/eLg2YEg3/yEd7YK3CNScYkM8AEScQadxUnaTE=
k8s.io/component-base v0.29.11 h1:H3GJIyDNPrscvXGP6wx+9gApcwwmrUd0YtCGp5BcHBA=
k8s.io/component-base v0.29.11/go.mod h1:0qu1WStER4wu5o8RMRndZUWPVcPH1XBy/QQiDcD6lew=
k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw=
k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag=
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.

Loading

0 comments on commit 00be5c8

Please sign in to comment.