forked from Freifunk-Troisdorf/site
testing beta and stable
This commit is contained in:
parent
9165dccf86
commit
3b104f069c
@ -37,9 +37,10 @@ pipeline:
|
|||||||
<<: *default
|
<<: *default
|
||||||
commands:
|
commands:
|
||||||
- cd gluon
|
- cd gluon
|
||||||
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
|
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
|
||||||
|
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=beta GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
|
||||||
|
|
||||||
upload:
|
upload-stable:
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: 46.4.138.183
|
host: 46.4.138.183
|
||||||
@ -48,7 +49,20 @@ pipeline:
|
|||||||
from_secret: ssh-key
|
from_secret: ssh-key
|
||||||
strip_components: 2
|
strip_components: 2
|
||||||
target: /srv/fwuploads-tmp/troisdorf/multi/
|
target: /srv/fwuploads-tmp/troisdorf/multi/
|
||||||
source: gluon/output/${BRANCH}/*
|
source: gluon/output/stable/*
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
|
upload-beta:
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
host: 46.4.138.183
|
||||||
|
user: fwupload
|
||||||
|
key:
|
||||||
|
from_secret: ssh-key
|
||||||
|
strip_components: 2
|
||||||
|
target: /srv/fwuploads-tmp/troisdorf/multi/
|
||||||
|
source: gluon/output/beta/*
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
@ -77,8 +91,6 @@ matrix:
|
|||||||
- x86-generic
|
- x86-generic
|
||||||
- x86-geode
|
- x86-geode
|
||||||
- x86-legacy
|
- x86-legacy
|
||||||
BRANCH:
|
|
||||||
- stable
|
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- prepare
|
- prepare
|
@ -32,7 +32,11 @@ pipeline:
|
|||||||
command_timeout: 120m
|
command_timeout: 120m
|
||||||
script:
|
script:
|
||||||
- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b stable -d
|
- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b stable -d
|
||||||
- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b beta -d
|
#- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b beta -d
|
||||||
- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b experimental -d
|
#- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b experimental -d
|
||||||
when:
|
when:
|
||||||
path: "release_state.json"
|
path: "release_state.json"
|
||||||
|
event: "push"
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- build_stable
|
Loading…
Reference in New Issue
Block a user