Compare commits
11 Commits
multidomai
...
experiment
Author | SHA1 | Date | |
---|---|---|---|
0a091d740a | |||
3ce8da9d25 | |||
5b0be8afc6 | |||
|
c07a8f7018 | ||
|
3d4de9e1d6 | ||
|
e69e1ad08a | ||
|
7709fcc70e | ||
|
4457aa829e | ||
|
13c0eeb5a5 | ||
|
9b24993003 | ||
|
f3bf83c71c |
41
.drone.yml
41
.drone.yml
@ -10,10 +10,7 @@ global-variables:
|
||||
<<: *env
|
||||
commands:
|
||||
- cd gluon
|
||||
- make -j6 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
|
||||
- make -j6 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
|
||||
# Don´t build Experimental. The Experimental Firmware is in another Branch
|
||||
# - make -j6 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
||||
- make -j6 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
||||
|
||||
upload: &upload
|
||||
image: appleboy/drone-scp
|
||||
@ -24,7 +21,7 @@ global-variables:
|
||||
from_secret: ssh-update
|
||||
strip_components: 6
|
||||
when:
|
||||
branch: multidomain
|
||||
branch: experimental
|
||||
|
||||
patch: &patch
|
||||
<<: *env
|
||||
@ -50,7 +47,7 @@ steps: &steps
|
||||
image: docker:git
|
||||
commands:
|
||||
- cd site
|
||||
- git checkout multidomain
|
||||
- git checkout multidomain-experimental
|
||||
|
||||
- name: make update
|
||||
<<: *env
|
||||
@ -162,10 +159,7 @@ steps: &steps
|
||||
<<: *env
|
||||
commands:
|
||||
- cd gluon
|
||||
- make manifest GLUON_BRANCH=stable GLUON_OUTPUTDIR=output/stable GLUON_RELEASE=$input_version-stable
|
||||
- make manifest GLUON_BRANCH=beta GLUON_OUTPUTDIR=output/beta GLUON_RELEASE=$input_version-beta
|
||||
# Don´t build Experimental. The Experimental Firmware is in another Branch
|
||||
# - 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
|
||||
image: appleboy/drone-ssh
|
||||
@ -178,31 +172,16 @@ steps: &steps
|
||||
command_timeout: 120m
|
||||
script:
|
||||
#- ./rsync-backup-multi.sh
|
||||
- rm -rf /srv/fwuploads/troisdorf/multi/stable
|
||||
- rm -rf /srv/fwuploads/troisdorf/multi/beta
|
||||
- mkdir /srv/fwuploads/troisdorf/multi/stable
|
||||
- mkdir /srv/fwuploads/troisdorf/multi/beta
|
||||
- rm -rf /srv/fwuploads/troisdorf/multi/experimental
|
||||
- mkdir /srv/fwuploads/troisdorf/multi/experimental
|
||||
when:
|
||||
branch: multidomain
|
||||
branch: experimental
|
||||
|
||||
- name: upload stable
|
||||
- name: upload experimental
|
||||
<<: *upload
|
||||
settings:
|
||||
target: /srv/fwuploads/troisdorf/multi/stable
|
||||
source: /drone/src/gluon/output/stable/images/*
|
||||
|
||||
- name: upload beta
|
||||
<<: *upload
|
||||
settings:
|
||||
target: /srv/fwuploads/troisdorf/multi/beta
|
||||
source: /drone/src/gluon/output/beta/images/*
|
||||
|
||||
# Don´t build Experimental. The Experimental Firmware is in another Branch
|
||||
# - name: upload experimental
|
||||
# <<: *upload
|
||||
# settings:
|
||||
# target: /srv/fwuploads/troisdorf/multi/experimental
|
||||
# source: /drone/src/gluon/output/experimental/images/*
|
||||
target: /srv/fwuploads/troisdorf/multi/experimental
|
||||
source: /drone/src/gluon/output/experimental/images/*
|
||||
|
||||
- name: slack
|
||||
image: plugins/slack
|
||||
|
2
gluon
2
gluon
@ -1 +1 @@
|
||||
Subproject commit 90d0e33c619cef9e0af928ef4d6477f6c1bdc0de
|
||||
Subproject commit 43954dd1652b44ed0618c98e44fad05dae3fa25a
|
Loading…
Reference in New Issue
Block a user