integration_test_config.toml (860B)
1 [[mirrors]] 2 method = "git" 3 from = "https://git.server.ky/slackcoder/mirror" 4 to = "/tmp/local-mirror/slackcoder/mirror" 5 description = "Mirror project" 6 staging-method = "temporary" 7 verify = "git verify-commit HEAD" 8 9 [[mirrors]] 10 method = "rsync" 11 from = "rsync://ftp.gnu.org/gnu/taler" 12 to = "/tmp/local-mirror/gnu/taler" 13 staging-method = "persistent" 14 verify = "find . -print0 -mindepth 1 -not -name '*.sig' | xargs -0L1 -d '{}' gpg2 --verify-files '{}'.sig" 15 16 [[mirrors]] 17 method = "github-assets" 18 from = "https://github.com/yt-dlp/yt-dlp" 19 to = "/tmp/local-mirror/yt-dlp" 20 staging-method = "persistent" 21 verify = """ 22 mapfile -d '' releases < <( find . -maxdepth 1 -mindepth 1 -type d -print0 ) 23 for release in "${releases[@]}"; do 24 (cd "$release"; 25 gpg2 --quiet --verify-files SHA2-256SUMS.sig && 26 sha256sum --quiet --check SHA2-256SUMS 27 ) || exit 1 28 done 29 """