mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
Merge pull request #90 from johnnychen94/jc/skip_failed
[Julia] skip failed_resources for 5 days until the next try
This commit is contained in:
commit
98518db1ee
@ -11,7 +11,7 @@ LABEL maintainer="Johnny Chen <johnnychen94@hotmail.com>"
|
||||
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.6"' && \
|
||||
chmod a+rx -R $JULIA_DEPOT_PATH
|
||||
|
||||
# Julia doesn't not yet have a nice solution for centralized package system with preinstalled
|
||||
|
2
julia.sh
2
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)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user