Compare commits
14 Commits
experiment
...
multidomai
Author | SHA1 | Date | |
---|---|---|---|
|
c8e3aea27b | ||
|
7686a0f681 | ||
97ac04456d | |||
236b0a9fb6 | |||
1193ee94c0 | |||
87c4842159 | |||
|
e0f4c82a9c | ||
|
099f1586e3 | ||
|
c920cda16d | ||
|
b17d8e7cf9 | ||
|
2afd6e0c74 | ||
|
e8e4b9a6b5 | ||
|
f3fd7f7de6 | ||
|
ab09b43228 |
41
.drone.yml
41
.drone.yml
@ -10,7 +10,10 @@ global-variables:
|
|||||||
<<: *env
|
<<: *env
|
||||||
commands:
|
commands:
|
||||||
- cd gluon
|
- cd gluon
|
||||||
- make -j6 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
- 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
|
||||||
|
|
||||||
upload: &upload
|
upload: &upload
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
@ -21,7 +24,7 @@ global-variables:
|
|||||||
from_secret: ssh-update
|
from_secret: ssh-update
|
||||||
strip_components: 6
|
strip_components: 6
|
||||||
when:
|
when:
|
||||||
branch: experimental
|
branch: multidomain
|
||||||
|
|
||||||
patch: &patch
|
patch: &patch
|
||||||
<<: *env
|
<<: *env
|
||||||
@ -47,7 +50,7 @@ steps: &steps
|
|||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- cd site
|
- cd site
|
||||||
- git checkout multidomain-experimental
|
- git checkout multidomain
|
||||||
|
|
||||||
- name: make update
|
- name: make update
|
||||||
<<: *env
|
<<: *env
|
||||||
@ -159,7 +162,10 @@ steps: &steps
|
|||||||
<<: *env
|
<<: *env
|
||||||
commands:
|
commands:
|
||||||
- cd gluon
|
- cd gluon
|
||||||
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
|
- 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
|
||||||
|
|
||||||
- name: backup-old-firmware
|
- name: backup-old-firmware
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
@ -172,16 +178,31 @@ steps: &steps
|
|||||||
command_timeout: 120m
|
command_timeout: 120m
|
||||||
script:
|
script:
|
||||||
#- ./rsync-backup-multi.sh
|
#- ./rsync-backup-multi.sh
|
||||||
- rm -rf /srv/fwuploads/troisdorf/multi/experimental
|
- rm -rf /srv/fwuploads/troisdorf/multi/stable
|
||||||
- mkdir /srv/fwuploads/troisdorf/multi/experimental
|
- rm -rf /srv/fwuploads/troisdorf/multi/beta
|
||||||
|
- mkdir /srv/fwuploads/troisdorf/multi/stable
|
||||||
|
- mkdir /srv/fwuploads/troisdorf/multi/beta
|
||||||
when:
|
when:
|
||||||
branch: experimental
|
branch: multidomain
|
||||||
|
|
||||||
- name: upload experimental
|
- name: upload stable
|
||||||
<<: *upload
|
<<: *upload
|
||||||
settings:
|
settings:
|
||||||
target: /srv/fwuploads/troisdorf/multi/experimental
|
target: /srv/fwuploads/troisdorf/multi/stable
|
||||||
source: /drone/src/gluon/output/experimental/images/*
|
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/*
|
||||||
|
|
||||||
- name: slack
|
- name: slack
|
||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
|
2
gluon
2
gluon
@ -1 +1 @@
|
|||||||
Subproject commit 43954dd1652b44ed0618c98e44fad05dae3fa25a
|
Subproject commit 90d0e33c619cef9e0af928ef4d6477f6c1bdc0de
|
Loading…
Reference in New Issue
Block a user