Compare commits

...

10 Commits

Author SHA1 Message Date
47a63a831a
tidy up
All checks were successful
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
2023-05-30 21:05:53 +02:00
ceaa400f02
tidy up 2023-05-30 21:02:23 +02:00
74d20fabd4
Checkout gluon to v2022.1.4
Some checks failed
ci/woodpecker/push/prepare_next Pipeline failed
ci/woodpecker/push/next unknown status
2023-05-30 21:00:03 +02:00
6247974204
removed autoupdater in next
All checks were successful
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
2023-05-25 21:55:47 +02:00
daa9bf1b67
changed input_version for next 2023-05-25 21:55:12 +02:00
8d262c1b2f
bugfixin
Some checks failed
ci/woodpecker/push/prepare_next Pipeline was successful
ci/woodpecker/push/next Pipeline failed
2023-05-25 21:13:30 +02:00
be6e7fea21
tesing next build 2023-05-25 21:12:17 +02:00
96ffb86e6a
tag-testing
Some checks failed
ci/woodpecker/push/next Pipeline failed
ci/woodpecker/tag/next Pipeline failed
2023-05-25 21:00:44 +02:00
fe65d68c5c
testing next builds
Some checks failed
ci/woodpecker/push/next Pipeline failed
2023-05-25 20:55:58 +02:00
91eec1891c
added branches in build-matrix
Some checks are pending
ci/woodpecker/push/test Pipeline is pending
2023-05-25 20:22:02 +02:00
6 changed files with 56 additions and 51 deletions

View File

@ -11,8 +11,6 @@ variables:
- FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET}
- GLUON_DEPRECATED=1
when:
event: tag
workspace:
base: /build
@ -39,17 +37,7 @@ pipeline:
<<: *default
commands:
- cd gluon
- if [ -z $CI_COMMIT_TAG ]; then export input_version=dev; fi
- echo $input_version
- echo $CI_COMMIT_BRANCH
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${CI_COMMIT_BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/${CI_COMMIT_BRANCH}
list_images:
<<: *default
commands:
- mkdir -p gluon/output/${CI_COMMIT_BRANCH}/images/factory
- echo "${TARGET}" > gluon/output/${CI_COMMIT_BRANCH}/images/factory/${TARGET}
- ls -alh gluon/output/${CI_COMMIT_BRANCH}/images/factory
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
upload:
image: appleboy/drone-scp
@ -59,8 +47,8 @@ pipeline:
key:
from_secret: ssh-key
strip_components: 2
target: /srv/fwuploads-testing/troisdorf/multi/incoming/
source: gluon/output/${CI_COMMIT_BRANCH}/*
target: /srv/fwuploads-tmp/troisdorf/multi/${BRANCH}/
source: gluon/output/${BRANCH}/*
when:
event: tag
@ -89,6 +77,10 @@ matrix:
- x86-generic
- x86-geode
- x86-legacy
branch:
- stable
- beta
- experimental
depends_on:
- prepare

View File

@ -1,26 +0,0 @@
---
platform: linux/arm64
skip_clone: true
workspace:
base: /build
pipeline:
cleanup:
image: appleboy/drone-ssh
settings:
host: 46.4.138.183
username: fwupload
key:
from_secret: ssh-key
port: 22
command_timeout: 120m
script:
- ls -alh /srv/fwuploads-testing/troisdorf/multi/incoming/${CI_COMMIT_BRANCH}
- rm -rf /srv/fwuploads-testing/troisdorf/multi/${CI_COMMIT_BRANCH}/
- mkdir /srv/fwuploads-testing/troisdorf/multi/${CI_COMMIT_BRANCH}/
- mv /srv/fwuploads-testing/troisdorf/multi/incoming/${CI_COMMIT_BRANCH}/* /srv/fwuploads-testing/troisdorf/multi/${CI_COMMIT_BRANCH}/
depends_on:
- build

View File

@ -6,13 +6,14 @@ variables:
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
pull: true
environment:
- input_version=${CI_COMMIT_TAG}
- input_version=next
- GLUON_SITEDIR=..
- FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET}
- GLUON_DEPRECATED=1
when:
event: push
branch: next
workspace:
base: /build
@ -24,6 +25,7 @@ clone:
recursive: true
when:
event: push
branch: next
pipeline:
make_update:
@ -41,10 +43,7 @@ pipeline:
<<: *default
commands:
- cd gluon
- if [ -z $CI_COMMIT_TAG ]; then export input_version=dev; fi
- echo $input_version
- echo $CI_COMMIT_BRANCH
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${CI_COMMIT_BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/${CI_COMMIT_BRANCH}
- make -j$(nproc) GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/next
list_images:
<<: *default
@ -53,6 +52,23 @@ pipeline:
- echo "${TARGET}" > gluon/output/${CI_COMMIT_BRANCH}/images/factory/${TARGET}
- ls -alh gluon/output/${CI_COMMIT_BRANCH}/images/factory
upload:
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/testing/next/
source: gluon/output/next/*
when:
event: push
branch: next
matrix:
TARGET:
- ath79-generic
- ramips-mt7621
depends_on:
- prepare_next

View File

@ -14,7 +14,10 @@ pipeline:
port: 22
command_timeout: 120m
script:
- rm -rf /srv/fwuploads-testing/troisdorf/multi/incoming/${CI_COMMIT_BRANCH}
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/incoming/${CI_COMMIT_BRANCH}
- rm -rf /srv/fwuploads-tmp/troisdorf/multi/*
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/stable
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/beta
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/experimental
when:
branch: stable
event: tag

View File

@ -0,0 +1,20 @@
---
platform: linux/arm64
skip_clone: true
pipeline:
prepare:
image: appleboy/drone-ssh
settings:
host: 46.4.138.183
username: fwupload
key:
from_secret: ssh-key
port: 22
command_timeout: 120m
script:
- rm -rf /srv/fwuploads-tmp/troisdorf/testing/*
- mkdir -p /srv/fwuploads-tmp/troisdorf/testing/
when:
branch: next

2
gluon

@ -1 +1 @@
Subproject commit 1c76fcb58b83f5cda02d92b4658df8ccc9687a94
Subproject commit b9a621f68c909fc1de550ce165681ae14b75d915