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