From d523ec2efda69f6fb91d59fc3206b0b363e73ad7 Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 9 Jan 2024 10:54:06 +0100 Subject: [PATCH] build pilot-xo9b: ensure is in branch before copy --- build__pilot-xo9b.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/build__pilot-xo9b.sh b/build__pilot-xo9b.sh index dd28497..b0d7b09 100755 --- a/build__pilot-xo9b.sh +++ b/build__pilot-xo9b.sh @@ -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 \