Skip to content
Snippets Groups Projects
Commit 52b3f67e authored by François  LAURENT's avatar François LAURENT
Browse files

build --with-backend MaggotUBA/20221228

parent a8d9a4f2
No related branches found
No related tags found
No related merge requests found
Pipeline #94952 passed
......@@ -46,6 +46,22 @@ RUN if [ "$BACKEND" = "MaggotUBA/20221005-1" ]; then \
&& rm -rf models/20221005 \
&& poetry install --only main \
&& poetry add "pynvml==11.4.1" \
&& rm -rf ~/.cache; \
elif [ "$BACKEND" = "MaggotUBA/20221228" ]; then \
cd $PROJECT_DIR \
&& julia -e "using Pkg; Pkg.add(url=\"https://gitlab.pasteur.fr/nyx/TaggingBackends\", rev=\"$BRANCH\")" \
&& git clone --depth 1 --no-tags --single-branch -b dev https://gitlab.pasteur.fr/nyx/MaggotUBA-adapter MaggotUBA \
&& cd MaggotUBA \
&& rm -rf .git \
&& poetry install --only main \
&& poetry add "pynvml==11.4.1" \
&& apt-get update \
&& apt-get install --no-install-recommends -y wget \
&& mkdir -p models \
&& cd models \
&& wget -O- https://gitlab.pasteur.fr/nyx/artefacts/-/raw/master/MaggotUBA/20221228.tar.gz?inline=false | tar zxv \
&& apt-get autoremove -y wget \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf ~/.cache; \
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment