From 596b2891c237be9299551dc6d2d0fc3edb08b94d Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 23 Sep 2024 16:56:30 -0700 Subject: [PATCH] Split itest make targets --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 08725ba..8687784 100644 --- a/Makefile +++ b/Makefile @@ -34,19 +34,28 @@ test: cargo test # Run bootstrapped integration test -.PHONY: itest -itest: +.PHONY: itest-up +itest-up: docker-compose -f docker-compose.yml \ -f itest/docker-compose.itest.yml \ build docker-compose -f docker-compose.yml \ -f itest/docker-compose.itest.yml \ up -d vaultwarden ldap + +.PHONY: itest-run +itest-run: docker-compose -f docker-compose.yml \ -f itest/docker-compose.itest.yml \ run ldap_sync + +.PHONY: itest-stop +itest-stop: docker-compose stop +.PHONY: itest +itest: itest-up itest-run itest-stop + # Run bootstrapped integration test using env for config .PHONY: itest-env itest-env: