You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2000,33 +1988,6 @@ heat_kuttl: kuttl_common_prep heat heat_deploy_prep ## runs kuttl tests for the
2000
1988
.PHONY: heat_kuttl_crc
2001
1989
heat_kuttl_crc: crc_storage heat_kuttl
2002
1990
2003
-
.PHONY: ansibleee_kuttl_run
2004
-
ansibleee_kuttl_run: ## runs kuttl tests for the openstack-ansibleee operator, assumes that everything needed for running the test was deployed beforehand.
2005
-
ANDIBLEEE_KUTTL_DIR=${ANSIBLEEE_KUTTL_DIR} kubectl-kuttl test --config ${ANSIBLEEE_KUTTL_CONF}${ANSIBLEEE_KUTTL_DIR} --namespace ${NAMESPACE}$(KUTTL_ARGS)
ansibleee_kuttl: input ansibleee_kuttl_prep ansibleee ## runs kuttl tests for the openstack-ansibleee operator. Installs openstack-ansibleee operator and cleans up previous deployments before running the tests, add cleanup after running the tests.
2024
-
$(eval$(call vars,$@,openstack-ansibleee))
2025
-
make wait
2026
-
make ansibleee_kuttl_run
2027
-
make ansibleee_cleanup
2028
-
bash scripts/restore-namespace.sh
2029
-
2030
1991
.PHONY: glance_kuttl_run
2031
1992
glance_kuttl_run: ## runs kuttl tests for the glance operator, assumes that everything needed for running the test was deployed beforehand.
2032
1993
GLANCE_KUTTL_DIR=${GLANCE_KUTTL_DIR} kubectl-kuttl test --config ${GLANCE_KUTTL_CONF}${GLANCE_KUTTL_DIR} --namespace ${NAMESPACE}$(KUTTL_ARGS)
openstack_kuttl_prep: 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.
2058
+
# Wait until OLM installs openstack CRDs
2059
+
timeout $(TIMEOUT) bash -c "while ! (oc get crd openstacks.operator.openstack.org); do sleep 1; done"
2060
+
make openstack_init
2061
+
$(eval$(call vars,$@,infra))
2062
+
make wait
2063
+
$(eval$(call vars,$@,openstack-baremetal))
2064
+
make wait
2065
+
$(eval$(call vars,$@,openstack))
2066
+
make wait
2067
+
2094
2068
.PHONY: openstack_kuttl_run
2095
2069
openstack_kuttl_run: ## runs kuttl tests for the openstack operator, assumes that everything needed for running the test was deployed beforehand.
2096
2070
set -e;\
@@ -2101,23 +2075,17 @@ openstack_kuttl_run: ## runs kuttl tests for the openstack operator, assumes tha
2101
2075
kubectl-kuttl test --config ${OPENSTACK_KUTTL_CONF}${OPENSTACK_KUTTL_DIR} --test $${test_dir};\
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.
2107
-
# Wait until OLM installs openstack CRDs
2108
-
timeout $(TIMEOUT) bash -c "while ! (oc get crd openstacks.operator.openstack.org); do sleep 1; done"
2109
-
make openstack_init
2110
-
$(eval$(call vars,$@,ansibleee))
2111
-
make wait
2112
-
$(eval$(call vars,$@,infra))
2113
-
make wait
2114
-
$(eval$(call vars,$@,openstack-baremetal))
2115
-
make wait
2116
-
$(eval$(call vars,$@,openstack))
2117
-
make wait
2086
+
openstack_kuttl: openstack_kuttl_prep
2118
2087
make openstack_kuttl_run
2119
-
make openstack_deploy_cleanup
2120
-
make openstack_cleanup
2088
+
make openstack_kuttl_cleanup
2121
2089
2122
2090
##@ CHAINSAW tests
2123
2091
@@ -2223,24 +2191,6 @@ heat_deploy_cleanup: ## cleans up the service instance, Does not affect the oper
0 commit comments