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

--no-cache option for build command

parent 535ff423
No related branches found
No related tags found
No related merge requests found
Pipeline #100088 passed
......@@ -892,7 +892,7 @@ version = "0.3.2"
[[deps.PlanarLarvae]]
deps = ["DelimitedFiles", "HDF5", "JSON3", "LinearAlgebra", "MAT", "Meshes", "OrderedCollections", "SHA", "StaticArrays", "Statistics", "StatsBase", "StructTypes"]
git-tree-sha1 = "5b7020f80af940ba6ce9140aeece184456bca447"
repo-rev = "dev"
repo-rev = "main"
repo-url = "https://gitlab.pasteur.fr/nyx/planarlarvae.jl"
uuid = "c2615984-ef14-4d40-b148-916c85b43307"
version = "0.9.2"
......
......@@ -28,7 +28,7 @@ while ! [ -z "$1" ]; do
if [ "$1" = "--dev" -o "$1" = "--stable" ]; then
BUILD=$1; shift
elif [ "$1" = "--get-backend" -o "$1" = "--with-default-backend" ]; then
DOCKER_ARGS="--build-arg BACKEND=MaggotUBA/20230129 $DOCKER_ARGS"; shift
DOCKER_ARGS="--build-arg BACKEND=MaggotUBA/20230311 $DOCKER_ARGS"; shift
TARGET=backend
elif [ "$1" = "--with-backend" ]; then
DOCKER_ARGS="--build-arg BACKEND=$2 $DOCKER_ARGS"; shift 2
......@@ -36,6 +36,8 @@ TARGET=backend
elif [ "${1:0:15}" = "--with-backend=" ]; then
DOCKER_ARGS="--build-arg BACKEND=${1:15} $DOCKER_ARGS"; shift
TARGET=backend
elif [ "$1" = "--no-cache" ]; then
DOCKER_ARGS="--no-cache $DOCKER_ARGS"; shift
else
echo "argument not supported: $1"; shift
exit 1
......@@ -138,7 +140,7 @@ docker run $RUN_ARGS "$LARVATAGGER_IMAGE" train "/app/$backend" "/data/$data_rep
data_file=$1; shift
backend=MaggotUBA
tagger="20230129"
tagger="20230311"
while [ -n "$1" ]; do
if [ "${1:0:16}" = "--model-instance" ]; then
if [ "$1" = "--model-instance" ]; then
......
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