Compare commits

..

6 Commits
stable ... next

Author SHA1 Message Date
Stefan Hoffmann
69da18a640 build debug
Some checks failed
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline failed
2024-05-19 19:25:48 +02:00
Stefan Hoffmann
10260340ea fix
Some checks failed
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline failed
2024-05-19 18:49:05 +02:00
Stefan Hoffmann
0a205348ea Testing
Some checks failed
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline failed
2024-05-19 18:30:13 +02:00
49e52ebede
Testing Manifest
Some checks failed
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline failed
2023-08-20 16:15:18 +02:00
67ae941b89
testing manifest generation
All checks were successful
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
2023-08-20 15:18:56 +02:00
f2027439c3
Added Manifest generation
Some checks failed
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline failed
2023-08-20 14:30:26 +02:00
4 changed files with 14 additions and 61 deletions

View File

@ -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

View File

@ -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:

View File

@ -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"

View File

@ -1,5 +0,0 @@
{
"stable": "v2022.1.4",
"beta": "v2022.1.4",
"experimental": "v2022.1.4-z"
}