Compare commits
22 Commits
Author | SHA1 | Date | |
---|---|---|---|
f7d57434a8 | |||
6ef7eeb987 | |||
c2af74cd78 | |||
121d16ecc2 | |||
518b4ae032 | |||
1cf42745bc | |||
7ba83cbfdf | |||
33db9e490c | |||
103ca88881 | |||
3b104f069c | |||
9165dccf86 | |||
d5eeb69b68 | |||
9926d7f9cd | |||
87ab6ef0b7 | |||
1cf4b5acd4 | |||
2718c5d0ac | |||
34225a082c | |||
67694ce78a | |||
9942996258 | |||
1fc7e9a344 | |||
60a659dd32 | |||
15eadd8765 |
@ -37,9 +37,10 @@ pipeline:
|
||||
<<: *default
|
||||
commands:
|
||||
- cd gluon
|
||||
- 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=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,10 +91,6 @@ matrix:
|
||||
- x86-generic
|
||||
- x86-geode
|
||||
- x86-legacy
|
||||
BRANCH:
|
||||
- stable
|
||||
- beta
|
||||
- experimental
|
||||
|
||||
depends_on:
|
||||
- prepare
|
@ -11,7 +11,6 @@ variables:
|
||||
- FORCE_UNSAFE_CONFIGURE=1
|
||||
- GLUON_TARGET=${TARGET}
|
||||
- GLUON_DEPRECATED=1
|
||||
- GLUON_AUTOUPDATER_BRANCH=next
|
||||
when:
|
||||
event: push
|
||||
branch: next
|
||||
@ -46,12 +45,6 @@ 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:
|
||||
|
39
.woodpecker/publish.yml
Normal file
39
.woodpecker/publish.yml
Normal file
@ -0,0 +1,39 @@
|
||||
---
|
||||
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"
|
5
release_state.json
Normal file
5
release_state.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"stable": "v2022.1.4",
|
||||
"beta": "v2022.1.4",
|
||||
"experimental": "v2022.1.4-z"
|
||||
}
|
Loading…
Reference in New Issue
Block a user