mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-11-16 00:06:27 +00:00
Split itest make targets
This commit is contained in:
parent
1608d994de
commit
596b2891c2
13
Makefile
13
Makefile
@ -34,19 +34,28 @@ test:
|
|||||||
cargo test
|
cargo test
|
||||||
|
|
||||||
# Run bootstrapped integration test
|
# Run bootstrapped integration test
|
||||||
.PHONY: itest
|
.PHONY: itest-up
|
||||||
itest:
|
itest-up:
|
||||||
docker-compose -f docker-compose.yml \
|
docker-compose -f docker-compose.yml \
|
||||||
-f itest/docker-compose.itest.yml \
|
-f itest/docker-compose.itest.yml \
|
||||||
build
|
build
|
||||||
docker-compose -f docker-compose.yml \
|
docker-compose -f docker-compose.yml \
|
||||||
-f itest/docker-compose.itest.yml \
|
-f itest/docker-compose.itest.yml \
|
||||||
up -d vaultwarden ldap
|
up -d vaultwarden ldap
|
||||||
|
|
||||||
|
.PHONY: itest-run
|
||||||
|
itest-run:
|
||||||
docker-compose -f docker-compose.yml \
|
docker-compose -f docker-compose.yml \
|
||||||
-f itest/docker-compose.itest.yml \
|
-f itest/docker-compose.itest.yml \
|
||||||
run ldap_sync
|
run ldap_sync
|
||||||
|
|
||||||
|
.PHONY: itest-stop
|
||||||
|
itest-stop:
|
||||||
docker-compose stop
|
docker-compose stop
|
||||||
|
|
||||||
|
.PHONY: itest
|
||||||
|
itest: itest-up itest-run itest-stop
|
||||||
|
|
||||||
# Run bootstrapped integration test using env for config
|
# Run bootstrapped integration test using env for config
|
||||||
.PHONY: itest-env
|
.PHONY: itest-env
|
||||||
itest-env:
|
itest-env:
|
||||||
|
Loading…
Reference in New Issue
Block a user