Skip to content

Commit 9cc9b85

Browse files
committed
makefile: add ceph+ironic test, fix with-ironic args
- Add `test-with-ceph-and-ironic` Makefile target - Ensure `test-with-ironic` target passes `TEST_ARGS` Signed-off-by: Roberto Alfieri <[email protected]>
1 parent fefc071 commit 9cc9b85

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ test-with-ceph: ## Launch test suite with ceph
4444
mkdir -p tests/logs
4545
ANSIBLE_CONFIG=$(TEST_CONFIG) ansible-playbook -v -i $(TEST_INVENTORY) -e @$(TEST_SECRETS) -e @$(TEST_VARS) $(TEST_ARGS) tests/playbooks/test_with_ceph.yaml 2>&1 | tee $(TEST_OUTFILE)
4646

47+
test-with-ceph-and-ironic: TEST_OUTFILE ?= tests/logs/test_with_ceph_and_ironic_out_$(shell date +%FT%T%Z).log
48+
test-with-ceph-and-ironic: ## Launch test suite with ceph and ironic
49+
mkdir -p tests/logs
50+
ANSIBLE_CONFIG=$(TEST_CONFIG) ansible-playbook -v -i $(TEST_INVENTORY) -e @$(TEST_SECRETS) -e @$(TEST_VARS) $(TEST_ARGS) tests/playbooks/test_with_ceph_and_ironic.yaml 2>&1 | tee $(TEST_OUTFILE)
51+
4752
test-tripleo-requirements: TEST_OUTFILE ?= tests/logs/test_tripleo_requirements_out_$(shell date +%FT%T%Z).log
4853
test-tripleo-requirements: ## Launch test suite related to the ceph migration
4954
mkdir -p tests/logs
@@ -88,7 +93,7 @@ test-rollback-only-with-ceph:
8893
test-with-ironic: TEST_OUTFILE ?= tests/logs/test_with_ironic_out_$(shell date +%FT%T%Z).log
8994
test-with-ironic: ## Launch test suite with Ironic
9095
mkdir -p tests/logs
91-
ANSIBLE_CONFIG=$(TEST_CONFIG) ansible-playbook -v -i $(TEST_INVENTORY) -e @$(TEST_SECRETS) -e @$(TEST_VARS) tests/playbooks/test_with_ironic.yaml 2>&1 | tee $(TEST_OUTFILE)
96+
ANSIBLE_CONFIG=$(TEST_CONFIG) ansible-playbook -v -i $(TEST_INVENTORY) -e @$(TEST_SECRETS) -e @$(TEST_VARS) $(TEST_ARGS) tests/playbooks/test_with_ironic.yaml 2>&1 | tee $(TEST_OUTFILE)
9297

9398
##@ DOCS
9499

0 commit comments

Comments
 (0)