2021-11-23 20:42:01 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Login
|
2021-12-10 17:01:45 +01:00
|
|
|
scripts/docker/login.sh
|
2021-11-23 20:42:01 +01:00
|
|
|
|
|
|
|
# Run tests
|
2022-04-21 19:15:06 +02:00
|
|
|
docker-compose -f docker-compose.ci.yml down --remove-orphans
|
2021-11-23 20:42:01 +01:00
|
|
|
docker-compose -f docker-compose.ci.yml pull
|
2022-04-21 19:21:14 +02:00
|
|
|
docker-compose -f docker-compose.ci.yml build --pull
|
2022-04-21 19:15:06 +02:00
|
|
|
trap "docker-compose -f docker-compose.ci.yml down --remove-orphans" INT TERM
|
2022-04-21 19:19:47 +02:00
|
|
|
docker-compose -f docker-compose.ci.yml run --rm -T photoprism make all test install migrate
|
|
|
|
docker-compose -f docker-compose.ci.yml down --remove-orphans
|