build: add AFS collector step to pipeline (#204)

This commit is contained in:
dman776 2022-01-19 22:56:35 -06:00 committed by GitHub
parent 610cde651c
commit 9a8c1fd68f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -101,6 +101,14 @@ jobs:
name: Move README.md
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'mv ~/README.md ${NIGHTLY_DIR}/readme.md'"
afs_collector:
machine:
enabled: true
steps:
- run:
name: Run AFS collector
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c '${DOWNLOADS_DOCROOT}/afs/misc/collect.py --image-url http://downloads.arednmesh.org/{base}/{target} ${DOWNLOADS_DOCROOT} ${DOWNLOADS_DOCROOT}/afs/www'"
######################################
# Workflows
######################################
@ -141,3 +149,9 @@ workflows:
filters:
branches:
only: main
- afs_collector:
requires:
- process_artifacts_nightly
filters:
branches:
only: main