devel/anchors #1
@ -15,8 +15,6 @@ global-variables:
|
|||||||
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
||||||
|
|
||||||
upload: &upload
|
upload: &upload
|
||||||
when:
|
|
||||||
branch: master
|
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: 46.4.138.183
|
host: 46.4.138.183
|
||||||
@ -24,6 +22,8 @@ global-variables:
|
|||||||
key:
|
key:
|
||||||
from_secret: ssh-update
|
from_secret: ssh-update
|
||||||
strip_components: 6
|
strip_components: 6
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
@ -155,8 +155,6 @@ steps: &steps
|
|||||||
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
|
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
|
||||||
|
|
||||||
- name: backup-old-firmware
|
- name: backup-old-firmware
|
||||||
when:
|
|
||||||
branch: master
|
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: 46.4.138.183
|
host: 46.4.138.183
|
||||||
@ -171,6 +169,8 @@ steps: &steps
|
|||||||
- mkdir /srv/fwuploads/troisdorf/multi/stable
|
- mkdir /srv/fwuploads/troisdorf/multi/stable
|
||||||
- mkdir /srv/fwuploads/troisdorf/multi/beta
|
- mkdir /srv/fwuploads/troisdorf/multi/beta
|
||||||
- mkdir /srv/fwuploads/troisdorf/multi/experimental
|
- mkdir /srv/fwuploads/troisdorf/multi/experimental
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
|
||||||
- name: upload stable
|
- name: upload stable
|
||||||
<<: *upload
|
<<: *upload
|
||||||
|
Loading…
Reference in New Issue
Block a user