Run tests using compose v2 (#178)

This commit is contained in:
Frederik Ring
2023-01-07 18:50:27 +01:00
committed by GitHub
parent 1cb4883458
commit 9b7af67a26
12 changed files with 47 additions and 47 deletions

View File

@@ -9,10 +9,10 @@ current_test=$(basename $(pwd))
mkdir -p local
docker-compose up -d
docker compose up -d
sleep 5
docker-compose exec backup backup
docker compose exec backup backup
tmp_dir=$(mktemp -d)
sudo tar --same-owner -xvf ./local/backup.tar.gz -C $tmp_dir
@@ -27,4 +27,4 @@ for file in $(sudo find $tmp_dir/backup/postgres); do
done
pass "All files and directories in backup preserved their ownership."
docker-compose down --volumes
docker compose down --volumes