2023-05-23 07:14:33 +00:00
|
|
|
variables:
|
|
|
|
- &default
|
|
|
|
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
|
|
|
|
pull: true
|
|
|
|
environment:
|
|
|
|
- input_version=v2022.1.4
|
|
|
|
- GLUON_SITEDIR=../site
|
|
|
|
- FORCE_UNSAFE_CONFIGURE=1
|
|
|
|
- GLUON_TARGET=${TARGET}
|
|
|
|
- GLUON_DEPRECATED=1
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
base: /build
|
|
|
|
|
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
settings:
|
|
|
|
recursive: true
|
|
|
|
|
|
|
|
pipeline:
|
2023-05-23 07:51:58 +00:00
|
|
|
make_update:
|
|
|
|
<<: *default
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make update
|
2023-05-23 07:14:33 +00:00
|
|
|
|
2023-05-23 07:51:58 +00:00
|
|
|
patch-iw-to-iw-full:
|
|
|
|
<<: *default
|
|
|
|
commands:
|
|
|
|
- sed -i 's/+iw /+iw-full /g' gluon/openwrt/package/kernel/mac80211/Makefile
|
|
|
|
|
|
|
|
build-${TARGET}:
|
|
|
|
<<: *default
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j10 GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
|
2023-05-23 07:14:33 +00:00
|
|
|
|
|
|
|
show-images-${TARGET}:
|
|
|
|
<<: *default
|
|
|
|
commands:
|
2023-05-23 07:20:02 +00:00
|
|
|
- mkdir -p gluon/output/stable/images/factory
|
2023-05-23 07:21:06 +00:00
|
|
|
- echo "${TARGET}" > gluon/output/stable/images/factory/${TARGET}
|
2023-05-23 07:14:33 +00:00
|
|
|
- ls -alh gluon/output/stable/images/factory
|
|
|
|
|
2023-05-23 07:29:33 +00:00
|
|
|
upload:
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
|
|
|
host: 46.4.138.183
|
|
|
|
user: fwupload
|
|
|
|
key:
|
|
|
|
from_secret: ssh-key
|
2023-05-23 07:57:07 +00:00
|
|
|
strip_components: 2
|
|
|
|
target: /srv/fwuploads-testing/troisdorf/multi/incoming/
|
2023-05-23 07:29:33 +00:00
|
|
|
source: gluon/output/stable/*
|
|
|
|
|
2023-05-23 07:14:33 +00:00
|
|
|
matrix:
|
|
|
|
TARGET:
|
|
|
|
- ath79-generic
|
2023-05-23 07:21:06 +00:00
|
|
|
- ath79-mikrotik
|
2023-05-23 07:51:58 +00:00
|
|
|
- ath79-nand
|
|
|
|
- bcm27xx-bcm2708
|
|
|
|
- bcm27xx-bcm2709
|
|
|
|
- ipq40xx-generic
|
|
|
|
- ipq40xx-mikrotik
|
|
|
|
- ipq806x-generic
|
|
|
|
- lantiq-xrx200
|
|
|
|
- lantiq-xway
|
|
|
|
- mediatek-mt7622
|
|
|
|
- mpc85xx-p1010
|
|
|
|
- mpc85xx-p1020
|
|
|
|
- ramips-mt7620
|
|
|
|
- ramips-mt7621
|
|
|
|
- ramips-mt76x8
|
|
|
|
- realtek-rtl838x
|
|
|
|
- rockchip-armv8
|
|
|
|
- sunxi-cortexa7
|
|
|
|
- x86-64
|
|
|
|
- x86-generic
|
|
|
|
- x86-geode
|
|
|
|
- x86-legacy
|
2023-05-23 07:42:20 +00:00
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- prepare
|