Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
69da18a640 | ||
|
10260340ea | ||
|
0a205348ea | ||
49e52ebede | |||
67ae941b89 | |||
f2027439c3 |
@ -37,10 +37,9 @@ pipeline:
|
||||
<<: *default
|
||||
commands:
|
||||
- cd gluon
|
||||
- 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
|
||||
- make -j1 V=s GLUON_AUTOUPDATER_BRANCH=${BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
|
||||
|
||||
upload-stable:
|
||||
upload:
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 46.4.138.183
|
||||
@ -49,20 +48,7 @@ pipeline:
|
||||
from_secret: ssh-key
|
||||
strip_components: 2
|
||||
target: /srv/fwuploads-tmp/troisdorf/multi/
|
||||
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/*
|
||||
source: gluon/output/${BRANCH}/*
|
||||
when:
|
||||
event: tag
|
||||
|
||||
@ -91,6 +77,10 @@ matrix:
|
||||
- x86-generic
|
||||
- x86-geode
|
||||
- x86-legacy
|
||||
BRANCH:
|
||||
- stable
|
||||
- beta
|
||||
- experimental
|
||||
|
||||
depends_on:
|
||||
- prepare
|
@ -11,6 +11,7 @@ variables:
|
||||
- FORCE_UNSAFE_CONFIGURE=1
|
||||
- GLUON_TARGET=${TARGET}
|
||||
- GLUON_DEPRECATED=1
|
||||
- GLUON_AUTOUPDATER_BRANCH=next
|
||||
when:
|
||||
event: push
|
||||
branch: next
|
||||
@ -45,6 +46,12 @@ pipeline:
|
||||
- cd gluon
|
||||
- make -j$(nproc) GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/next
|
||||
|
||||
manifest:
|
||||
<<: *default
|
||||
commands:
|
||||
- cd gluon
|
||||
- make manifest GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/next
|
||||
|
||||
list_images:
|
||||
<<: *default
|
||||
commands:
|
||||
|
@ -1,39 +0,0 @@
|
||||
---
|
||||
platform: linux/arm64
|
||||
|
||||
workspace:
|
||||
base: /build
|
||||
|
||||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
|
||||
pipeline:
|
||||
upload-version:
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 46.4.138.183
|
||||
user: fwupload
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
target: /srv/fwuploads-tmp/bin/
|
||||
source: release_state.json
|
||||
when:
|
||||
path: "release_state.json"
|
||||
|
||||
publish-firmware:
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 46.4.138.183
|
||||
username: fwupload
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
port: 22
|
||||
command_timeout: 120m
|
||||
script:
|
||||
- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b stable
|
||||
- /srv/fwuploads-tmp/bin/go-gluon-publish -s /srv/fwuploads-tmp/troisdorf/multi/ -t /srv/fwuploads/troisdorf/multi/ -b beta
|
||||
#- /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"
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"stable": "v2022.1.4",
|
||||
"beta": "v2022.1.4",
|
||||
"experimental": "v2022.1.4-z"
|
||||
}
|
Loading…
Reference in New Issue
Block a user