Skip to content

Commit 07e4af0

Browse files
committed
aws sync script update
1 parent 6571e2b commit 07e4af0

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

bioconda-backup/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,10 @@ Support full scan update or update from last repo check
2828
## run
2929

3030
node index.js --help
31+
32+
33+
## example
34+
35+
backup conda (quay.io) containers to aws since last run
36+
37+
node index.js --aws --conda --updated

bioconda-backup/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,15 +425,15 @@ async function doTheStuff(container, tag, quay, scan_options) {
425425
try {
426426
if(scan_options.security) {
427427
if(!scan_options.dry) {
428-
await getScanReport(container, tag, quay);
428+
await getScanReport(container, tag, quay);
429429
} else {
430430
console.log('[security] should scan for report', container, tag)
431431
}
432432
}
433433
} catch(err) {
434434
is_error = true
435435
console.error('[docker] error', container, err.message)
436-
errors.push(`[docker][security] ${container}: ${err.message}`)
436+
// errors.push(`[docker][security] ${container}: ${err.message}`)
437437
}
438438
try {
439439
if(scan_options.backup || scan_options.aws) {
@@ -442,7 +442,7 @@ async function doTheStuff(container, tag, quay, scan_options) {
442442
} catch(err) {
443443
is_error = true
444444
console.error('[docker] error', container, err.message)
445-
errors.push(`[docker][backup] ${container}: ${err.message}`)
445+
// errors.push(`[docker][backup] ${container}: ${err.message}`)
446446
}
447447
if (is_error) {
448448
docker_errors++;

0 commit comments

Comments
 (0)