2023-05-19 16:33:05 +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
|
|
|
|
|
2023-05-19 15:34:17 +00:00
|
|
|
workspace:
|
|
|
|
base: /build
|
2023-05-19 15:33:24 +00:00
|
|
|
|
2019-08-15 17:11:54 +00:00
|
|
|
clone:
|
2023-05-19 14:36:25 +00:00
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
settings:
|
|
|
|
recursive: true
|
2020-02-21 20:20:13 +00:00
|
|
|
|
2023-05-19 14:36:25 +00:00
|
|
|
pipeline:
|
2023-05-21 17:22:58 +00:00
|
|
|
make_update:
|
|
|
|
<<: *default
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make update
|
|
|
|
|
|
|
|
patch-iw-to-iw-full:
|
|
|
|
<<: *default
|
|
|
|
commands:
|
2023-05-22 22:36:52 +00:00
|
|
|
- sed -i 's/+iw /+iw-full /g' gluon/openwrt/package/kernel/mac80211/Makefile
|
2023-05-21 17:22:58 +00:00
|
|
|
|
|
|
|
build-${TARGET}:
|
|
|
|
<<: *default
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
2023-05-22 22:54:42 +00:00
|
|
|
- make -j10 GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
|
2023-05-21 10:54:53 +00:00
|
|
|
|
|
|
|
show-images-${TARGET}:
|
|
|
|
<<: *default
|
|
|
|
commands:
|
2023-05-22 22:39:33 +00:00
|
|
|
- ls -alh gluon/output/stable/images/factory
|
2023-05-21 17:11:59 +00:00
|
|
|
|
2023-05-21 17:22:58 +00:00
|
|
|
delete-old-firmware:
|
|
|
|
image: appleboy/drone-ssh
|
|
|
|
settings:
|
|
|
|
host: 46.4.138.183
|
|
|
|
username: fwupload
|
|
|
|
key:
|
|
|
|
from_secret: ssh-key
|
|
|
|
port: 22
|
|
|
|
command_timeout: 120m
|
|
|
|
script:
|
|
|
|
#- ./rsync-backup-multi.sh
|
2023-05-22 22:54:42 +00:00
|
|
|
- rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/
|
|
|
|
- mkdir /srv/fwuploads-testing/troisdorf/multi/stable/
|
2023-05-21 17:22:58 +00:00
|
|
|
|
2023-05-21 11:01:51 +00:00
|
|
|
upload:
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
|
|
|
host: 46.4.138.183
|
|
|
|
user: fwupload
|
|
|
|
key:
|
2023-05-21 11:03:24 +00:00
|
|
|
from_secret: ssh-key
|
2023-05-21 17:11:59 +00:00
|
|
|
strip_components: 0
|
2023-05-22 22:54:42 +00:00
|
|
|
target: /srv/fwuploads-testing/troisdorf/multi/stable/
|
|
|
|
source: gluon/output/stable/*
|
2023-05-21 11:01:51 +00:00
|
|
|
|
2023-05-19 15:43:52 +00:00
|
|
|
matrix:
|
|
|
|
TARGET:
|
2023-05-22 22:54:42 +00:00
|
|
|
- ath79-generic
|
2023-05-23 05:28:00 +00:00
|
|
|
- ath79-mikrotik
|
|
|
|
- ath79-nand
|
|
|
|
- bcm27xx-bcm2708
|
|
|
|
- bcm27xx-bcm2709
|
2023-05-22 22:54:42 +00:00
|
|
|
- ipq40xx-generic
|
2023-05-23 05:28:00 +00:00
|
|
|
- ipq40xx-mikrotik
|
2023-05-22 22:54:42 +00:00
|
|
|
- ipq806x-generic
|
|
|
|
- lantiq-xrx200
|
|
|
|
- lantiq-xway
|
2023-05-23 05:28:00 +00:00
|
|
|
- mediatek-mt7622
|
|
|
|
- mpc85xx-p1010
|
2023-05-22 22:54:42 +00:00
|
|
|
- mpc85xx-p1020
|
|
|
|
- ramips-mt7620
|
|
|
|
- ramips-mt7621
|
|
|
|
- ramips-mt76x8
|
2023-05-23 05:28:00 +00:00
|
|
|
- realtek-rtl838x
|
|
|
|
- rockchip-armv8
|
|
|
|
- sunxi-cortexa7
|
2023-05-22 22:54:42 +00:00
|
|
|
- x86-64
|
|
|
|
- x86-generic
|
|
|
|
- x86-geode
|
2023-05-23 05:28:00 +00:00
|
|
|
- x86-legacy
|