Compare commits
2 Commits
74d20fabd4
...
47a63a831a
Author | SHA1 | Date | |
---|---|---|---|
47a63a831a | |||
ceaa400f02 |
@ -39,13 +39,6 @@ pipeline:
|
||||
- cd gluon
|
||||
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
|
||||
|
||||
list_images:
|
||||
<<: *default
|
||||
commands:
|
||||
- mkdir -p gluon/output/${BRANCH}/images/factory
|
||||
- echo "${TARGET}" > gluon/output/${BRANCH}/images/factory/${TARGET}
|
||||
- ls -alh gluon/output/${BRANCH}/images/factory
|
||||
|
||||
upload:
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
@ -54,7 +47,7 @@ pipeline:
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
strip_components: 2
|
||||
target: /srv/fwuploads-testing/troisdorf/multi/next/
|
||||
target: /srv/fwuploads-tmp/troisdorf/multi/${BRANCH}/
|
||||
source: gluon/output/${BRANCH}/*
|
||||
when:
|
||||
event: tag
|
||||
|
@ -60,7 +60,7 @@ pipeline:
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
strip_components: 2
|
||||
target: /srv/fwuploads-testing/troisdorf/testing/next/
|
||||
target: /srv/fwuploads-tmp/troisdorf/testing/next/
|
||||
source: gluon/output/next/*
|
||||
when:
|
||||
event: push
|
||||
|
@ -14,10 +14,10 @@ pipeline:
|
||||
port: 22
|
||||
command_timeout: 120m
|
||||
script:
|
||||
- rm -rf /srv/fwuploads-testing/troisdorf/multi/next/*
|
||||
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/stable
|
||||
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/beta
|
||||
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/experimental
|
||||
- rm -rf /srv/fwuploads-tmp/troisdorf/multi/*
|
||||
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/stable
|
||||
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/beta
|
||||
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/experimental
|
||||
when:
|
||||
branch: stable
|
||||
event: tag
|
@ -14,7 +14,7 @@ pipeline:
|
||||
port: 22
|
||||
command_timeout: 120m
|
||||
script:
|
||||
- rm -rf /srv/fwuploads-testing/troisdorf/testing/*
|
||||
- mkdir -p /srv/fwuploads-testing/troisdorf/testing/
|
||||
- rm -rf /srv/fwuploads-tmp/troisdorf/testing/*
|
||||
- mkdir -p /srv/fwuploads-tmp/troisdorf/testing/
|
||||
when:
|
||||
branch: next
|
Loading…
Reference in New Issue
Block a user