From 9a8c1fd68f11d13c530a385d29e5fc3d3c08f106 Mon Sep 17 00:00:00 2001 From: dman776 Date: Wed, 19 Jan 2022 22:56:35 -0600 Subject: [PATCH] build: add AFS collector step to pipeline (#204) --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 162833bd..978c02fa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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