build pilot-xo9b: ensure is in branch before copy
This commit is contained in:
parent
076b31f6f6
commit
d523ec2efd
|
@ -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 \
|
||||
|
|
Reference in a new issue