Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

worker scripts

Zheng Luo edited this page Mar 14, 2018 · 3 revisions

Usage

- type: shell_script
  name: foobar
  script: /worker-script/foobar.sh
  interval: 3600
  another_options: values

Scripts

rsync.sh

archlinux-cn.sh

Sync from Archlinux-CN.

  • path: store path of packages
  • username: username of sync.repo.archlinuxcn.org
  • password: password of sync.repo.archlinuxcn.org

awss3.sh

Sync from AWS S3 storage.

  • source: S3 URL. e.g. s3://static-rust-lang-org/rustup
  • path: store path of files

bandersnatch.sh

Sync from PyPI.

  • path: store path of packages
  • master: upstream. e.g. https://pypi.python.org/

anaconda.py

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 with https://: Sync a repo at URL v to {path}/{k}. Example: cloud/soumith/osx-64: https://conda.anaconda.org/soumith/osx-64/
Clone this wiki locally