You've already forked docker-volume-backup
mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-11-29 05:46:50 +02:00
Run tests using compose v2 (#178)
This commit is contained in:
@@ -12,10 +12,10 @@ export TEST_VERSION="${TEST_VERSION:-canary}-with-rsync"
|
||||
|
||||
docker build . -t offen/docker-volume-backup:$TEST_VERSION
|
||||
|
||||
docker-compose up -d
|
||||
docker compose up -d
|
||||
sleep 5
|
||||
|
||||
docker-compose exec backup backup
|
||||
docker compose exec backup backup
|
||||
|
||||
sleep 5
|
||||
|
||||
@@ -25,4 +25,4 @@ if [ ! -f "./local/app_data/offen.db" ]; then
|
||||
fail "Could not find expected file in untared archive."
|
||||
fi
|
||||
|
||||
docker-compose down --volumes
|
||||
docker compose down --volumes
|
||||
|
||||
Reference in New Issue
Block a user