mirror of https://github.com/aredn/aredn.git
build: add AFS collector step to pipeline (#204)
This commit is contained in:
parent
610cde651c
commit
9a8c1fd68f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue