Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
69da18a640 | ||
|
10260340ea | ||
|
0a205348ea | ||
49e52ebede | |||
67ae941b89 | |||
f2027439c3 |
@ -37,10 +37,9 @@ pipeline:
|
|||||||
<<: *default
|
<<: *default
|
||||||
commands:
|
commands:
|
||||||
- cd gluon
|
- cd gluon
|
||||||
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
|
- make -j1 V=s GLUON_AUTOUPDATER_BRANCH=${BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
|
||||||
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=beta GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
|
|
||||||
|
|
||||||
upload-stable:
|
upload:
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: 46.4.138.183
|
host: 46.4.138.183
|
||||||
@ -49,20 +48,7 @@ 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/stable/*
|
source: gluon/output/${BRANCH}/*
|
||||||
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
|
||||||
|
|
||||||
@ -91,6 +77,10 @@ matrix:
|
|||||||
- x86-generic
|
- x86-generic
|
||||||
- x86-geode
|
- x86-geode
|
||||||
- x86-legacy
|
- x86-legacy
|
||||||
|
BRANCH:
|
||||||
|
- stable
|
||||||
|
- beta
|
||||||
|
- experimental
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- prepare
|
- prepare
|
@ -11,6 +11,7 @@ variables:
|
|||||||
- FORCE_UNSAFE_CONFIGURE=1
|
- FORCE_UNSAFE_CONFIGURE=1
|
||||||
- GLUON_TARGET=${TARGET}
|
- GLUON_TARGET=${TARGET}
|
||||||
- GLUON_DEPRECATED=1
|
- GLUON_DEPRECATED=1
|
||||||
|
- GLUON_AUTOUPDATER_BRANCH=next
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: next
|
branch: next
|
||||||
@ -45,6 +46,12 @@ pipeline:
|
|||||||
- cd gluon
|
- cd gluon
|
||||||
- make -j$(nproc) GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/next
|
- 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:
|
list_images:
|
||||||
<<: *default
|
<<: *default
|
||||||
commands:
|
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