mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-21 16:12:40 +02:00
Defining test sandbox in compose file allows testing against multi node swarm setup (#591)
* Defining test sandbox in compose file allows swapping with multi node swarm setup * Test cases can request a multi node swarm cluster * Docker healthchecks can be used for awaiting ready state * Compose profiles can be used
This commit is contained in:
0
test/services/.swarm
Normal file
0
test/services/.swarm
Normal file
@@ -6,8 +6,6 @@ cd $(dirname $0)
|
||||
. ../util.sh
|
||||
current_test=$(basename $(pwd))
|
||||
|
||||
docker swarm init
|
||||
|
||||
docker stack deploy --compose-file=docker-compose.yml test_stack
|
||||
|
||||
while [ -z $(docker ps -q -f name=backup) ]; do
|
||||
|
||||
Reference in New Issue
Block a user