Skip to content

Commit

Permalink
Merge pull request #984 from dprince/openstack_wait_dynamic
Browse files Browse the repository at this point in the history
openstack_wait: call 'make openstack' dynamically
  • Loading branch information
openshift-merge-bot[bot] authored Dec 18, 2024
2 parents 5075cd2 + f75cf66 commit 36bd1b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,10 @@ openstack: openstack_prep operator_namespace ## installs the operator, also runs
oc apply -f ${OPERATOR_DIR}

.PHONY: openstack_wait
openstack_wait: openstack ## waits openstack CSV to succeed.
openstack_wait: ## waits openstack CSV to succeed.
$(eval $(call vars,$@,openstack))
# call make_openstack if it isn't already
bash -c '(oc get subscription -n openstack-operators openstack-operator || make openstack) || true'
timeout $(TIMEOUT) bash -c 'until $$(oc get csv -l operators.coreos.com/openstack-operator.openstack-operators -n ${OPERATOR_NAMESPACE} | grep -q Succeeded); do sleep 1; done'


Expand Down

0 comments on commit 36bd1b9

Please sign in to comment.