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:
|
||||
action:
|
||||
type: enum
|
||||
enum: [nightly_build, manual_build, release_build]
|
||||
default: nightly_build
|
||||
enum: [no_action, nightly_build, manual_build, release_build]
|
||||
default: no_action
|
||||
|
||||
######################################
|
||||
# JOBS
|
||||
|
@ -137,7 +137,6 @@ jobs:
|
|||
name: Move SUPPORTED_DEVICES.md
|
||||
command: ssh ${SSH_USER}@${SSH_HOST} "sh -c 'mv ~/SUPPORTED_DEVICES.md ${NIGHTLY_DIR}/SUPPORTED_DEVICES.md'"
|
||||
|
||||
|
||||
afs_collector:
|
||||
machine:
|
||||
image: ubuntu-2004:2023.02.1
|
||||
|
@ -146,10 +145,22 @@ jobs:
|
|||
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'"
|
||||
|
||||
no_action:
|
||||
machine:
|
||||
image: ubuntu-2004:2023.02.1
|
||||
steps:
|
||||
- run: echo "No action needed"
|
||||
|
||||
######################################
|
||||
# Workflows
|
||||
######################################
|
||||
workflows:
|
||||
no_action_default:
|
||||
when:
|
||||
equal: [ no_action, << pipeline.parameters.action >> ]
|
||||
jobs:
|
||||
- no_action
|
||||
|
||||
nightly_build:
|
||||
when:
|
||||
equal: [ nightly_build, << pipeline.parameters.action >> ]
|
||||
|
|
Loading…
Reference in New Issue