This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
worker scripts
Zheng Luo edited this page Mar 14, 2018
·
3 revisions
- type: shell_script
name: foobar
script: /worker-script/foobar.sh
interval: 3600
another_options: values
-
path
: where downloaded files will be stored, e.g./mnt/abc
-
source
: upstream, e.g.rsync://foobar
-
ignore_vanish
: When specified, ignorefile has vanished
error from upstream. Read more at https://unix.stackexchange.com/questions/86879/suppress-rsync-warning-some-files-vanished-before-they-could-be-transferred . By default this is not enabled. Example:true
-
exclude_hidden
: When specified, ignore all hidden files (i.e. starting with.
). Used to fix broken partial files from upstream. By default this is not enabled. Example:true
Sync from Archlinux-CN.
-
path
: store path of packages -
username
: username ofsync.repo.archlinuxcn.org
-
password
: password ofsync.repo.archlinuxcn.org
Sync from AWS S3 storage.
-
source
: S3 URL. e.g.s3://static-rust-lang-org/rustup
-
path
: store path of files
Sync from PyPI.
-
path
: store path of packages -
master
: upstream. e.g.https://pypi.python.org/
Sync from anaconda upstream.
pkgs at: https://repo.continuum.io/pkgs/ cloud pkgs at: https://conda.anaconda.org/{name}/{arch}/
-
path
: base store path of packages -
thread_num
: number of working threads. Must be greater than number of upstream + 1! Otherwise deadlock may occur Default: 16 -
k
:v
that starts withhttps://
: Sync a repo at URLv
to{path}/{k}
. Example:cloud/soumith/osx-64: https://conda.anaconda.org/soumith/osx-64/