From effc4f7494b001ee68e9492f11d135e0deceadf2 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Tue, 18 Aug 2020 07:50:53 +0800 Subject: [PATCH] [Julia] skip failed_resources for 5 days until next try --- dockerfiles/julia/Dockerfile | 2 +- julia.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfiles/julia/Dockerfile b/dockerfiles/julia/Dockerfile index a08a96e..d1ac9ec 100644 --- a/dockerfiles/julia/Dockerfile +++ b/dockerfiles/julia/Dockerfile @@ -11,7 +11,7 @@ LABEL maintainer="Johnny Chen " ENV JULIA_DEPOT_PATH="/opt/julia" RUN adduser --uid 2000 tunasync && \ - julia -e 'using Pkg; pkg"add StorageMirrorServer@0.1.4"' && \ + julia -e 'using Pkg; pkg"add StorageMirrorServer@0.1.5"' && \ chmod a+rx -R $JULIA_DEPOT_PATH # Julia doesn't not yet have a nice solution for centralized package system with preinstalled diff --git a/julia.sh b/julia.sh index d042f7e..352899f 100755 --- a/julia.sh +++ b/julia.sh @@ -15,4 +15,4 @@ REGISTRY="(\"$REGISTRY_NAME\", \"$REGISTRY_UUID\", \"$REGISTRY_UPSTREAM\")" # For more usage of `mirror_tarball`, please refer to # https://github.com/johnnychen94/StorageMirrorServer.jl/blob/master/examples/gen_static_full.example.jl -exec julia -e "using StorageMirrorServer; mirror_tarball($REGISTRY, $UPSTREAMS, \"$OUTPUT_DIR\")" +exec julia -e "using StorageMirrorServer; mirror_tarball($REGISTRY, $UPSTREAMS, \"$OUTPUT_DIR\", skip_duration=120)"