testing beta and stable

This commit is contained in:
Stefan Hoffmann 2023-07-14 20:21:20 +02:00
parent 9165dccf86
commit 3b104f069c
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD
2 changed files with 24 additions and 8 deletions

View File

@ -37,9 +37,10 @@ pipeline:
<<: *default
commands:
- 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
settings:
host: 46.4.138.183
@ -48,7 +49,20 @@ pipeline:
from_secret: ssh-key
strip_components: 2
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:
event: tag
@ -77,8 +91,6 @@ matrix:
- x86-generic
- x86-geode
- x86-legacy
BRANCH:
- stable
depends_on:
- prepare

View File

@ -32,7 +32,11 @@ pipeline:
command_timeout: 120m
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 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 beta -d
#- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b experimental -d
when:
path: "release_state.json"
event: "push"
depends_on:
- build_stable