build pilot-xo9b: ensure is in branch before copy

This commit is contained in:
pedro 2024-01-09 10:54:06 +01:00
parent 076b31f6f6
commit d523ec2efd
1 changed files with 6 additions and 5 deletions

View File

@ -14,6 +14,12 @@ main() {
detach='-d'
fi
# ensure uses pilot-xo9b branch
(
cd ./IdHub
git checkout pilot-xo9b
)
postfix='pilot-xo9b'
local idhub1="idhub1__${postfix}"
local idhub2="idhub2__${postfix}"
@ -30,11 +36,6 @@ main() {
rm -f "${idhub2}/db.sqlite3"
fi
(
cd ./IdHub
git checkout pilot-xo9b
)
idhub_dc_f="docker-compose__${postfix}.yml"
docker compose -f ${idhub_dc_f} down -v || true
make idhub_build \