Skip to content

Commit

Permalink
Pass NEUTRON_KUTTL_DIR to kuttl neutron env
Browse files Browse the repository at this point in the history
The variable is now used by one of the tests that was recently added to
main with:

openstack-k8s-operators/neutron-operator#406

Without setting the variable, the test fails to execute the script and
fails.

Related: https://issues.redhat.com//browse/OSPRH-4296
  • Loading branch information
booxter committed Sep 24, 2024
1 parent a12d69f commit ae49608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,7 @@ cinder_kuttl: kuttl_common_prep cinder cinder_deploy_prep ## runs kuttl tests fo

.PHONY: neutron_kuttl_run
neutron_kuttl_run: ## runs kuttl tests for the neutron operator, assumes that everything needed for running the test was deployed beforehand.
kubectl-kuttl test --config ${NEUTRON_KUTTL_CONF} ${NEUTRON_KUTTL_DIR} --namespace ${NAMESPACE}
NEUTRON_KUTTL_DIR=${NEUTRON_KUTTL_DIR} kubectl-kuttl test --config ${NEUTRON_KUTTL_CONF} ${NEUTRON_KUTTL_DIR} --namespace ${NAMESPACE}

.PHONY: neutron_kuttl
neutron_kuttl: export NAMESPACE = ${NEUTRON_KUTTL_NAMESPACE}
Expand Down

0 comments on commit ae49608

Please sign in to comment.