mirror of https://github.com/aredn/aredn.git
cci update default workflow (#816)
This commit is contained in:
parent
baf100deed
commit
99380f59f8
|
@ -6,8 +6,8 @@ version: 2.1
|
||||||
parameters:
|
parameters:
|
||||||
action:
|
action:
|
||||||
type: enum
|
type: enum
|
||||||
enum: [nightly_build, manual_build, release_build]
|
enum: [no_action, nightly_build, manual_build, release_build]
|
||||||
default: nightly_build
|
default: no_action
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
# JOBS
|
# JOBS
|
||||||
|
@ -137,7 +137,6 @@ jobs:
|
||||||
name: Move SUPPORTED_DEVICES.md
|
name: Move SUPPORTED_DEVICES.md
|
||||||
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'mv ~/SUPPORTED_DEVICES.md ${NIGHTLY_DIR}/SUPPORTED_DEVICES.md'"
|
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'mv ~/SUPPORTED_DEVICES.md ${NIGHTLY_DIR}/SUPPORTED_DEVICES.md'"
|
||||||
|
|
||||||
|
|
||||||
afs_collector:
|
afs_collector:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:2023.02.1
|
image: ubuntu-2004:2023.02.1
|
||||||
|
@ -146,10 +145,22 @@ jobs:
|
||||||
name: Run AFS collector
|
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'"
|
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'"
|
||||||
|
|
||||||
|
no_action:
|
||||||
|
machine:
|
||||||
|
image: ubuntu-2004:2023.02.1
|
||||||
|
steps:
|
||||||
|
- run: echo "No action needed"
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
# Workflows
|
# Workflows
|
||||||
######################################
|
######################################
|
||||||
workflows:
|
workflows:
|
||||||
|
no_action_default:
|
||||||
|
when:
|
||||||
|
equal: [ no_action, << pipeline.parameters.action >> ]
|
||||||
|
jobs:
|
||||||
|
- no_action
|
||||||
|
|
||||||
nightly_build:
|
nightly_build:
|
||||||
when:
|
when:
|
||||||
equal: [ nightly_build, << pipeline.parameters.action >> ]
|
equal: [ nightly_build, << pipeline.parameters.action >> ]
|
||||||
|
|
Loading…
Reference in New Issue