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

Update openstack_kuttl target to support initialization resource #981

Merged

Conversation

dprince
Copy link
Contributor

@dprince dprince commented Dec 16, 2024

Jira: OSPRH-11244

Makefile Outdated
@@ -2028,6 +2028,9 @@ openstack_kuttl_run: ## runs kuttl tests for the openstack operator, assumes tha
.PHONY: openstack_kuttl
openstack_kuttl: export NAMESPACE = ${OPENSTACK_KUTTL_NAMESPACE}
openstack_kuttl: input deploy_cleanup openstack openstack_deploy_prep ## runs kuttl tests for the openstack operator. Installs openstack operator and cleans up previous deployments before running the tests, cleans up after running the tests.
# Wait until OLM installs openstack CRDs
timeout $(TIMEOUT) bash -c "while ! (oc get crd | grep openstack.org); do sleep 1; done"
bash -c 'oc get crd openstacks.operator.openstack.org && make openstack_init'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't the call to make openstack_init be a problem here until [1] merges? openstack_init assumes that the new initialization sample config is available in the OpenStack operator repo [2]. I think that would throw an error until [1] merges.

[1] openstack-k8s-operators/openstack-operator#1185
[2]

install_yamls/Makefile

Lines 746 to 747 in b6028e3

oc create -f ${OPERATOR_BASE_DIR}/openstack-operator/config/samples/operator_v1beta1_openstack.yaml
oc wait openstack/openstack -n ${OPERATOR_NAMESPACE} --for condition=Ready --timeout=${TIMEOUT}

@dprince dprince force-pushed the openstack_kuttl_init branch from b52d480 to b1f931e Compare December 17, 2024 19:32
Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

openshift-ci bot commented Dec 17, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, dprince

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/9209b18657eb4403b10167dc72272717

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 56m 57s
install-yamls-crc-podified-edpm-baremetal RETRY_LIMIT in 21m 12s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 08s

@dprince
Copy link
Contributor Author

dprince commented Dec 17, 2024

recheck

@openshift-merge-bot openshift-merge-bot bot merged commit 5075cd2 into openstack-k8s-operators:main Dec 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants