site/.woodpecker/build-stable.yml

96 lines
2.0 KiB
YAML
Raw Permalink Normal View History

2023-05-25 10:56:53 +00:00
---
platform: linux/arm64
variables:
- &default
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
pull: true
environment:
2023-05-25 11:34:45 +00:00
- input_version=${CI_COMMIT_TAG}
2023-05-25 10:56:53 +00:00
- GLUON_SITEDIR=..
- FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET}
- GLUON_DEPRECATED=1
workspace:
base: /build
clone:
2023-05-25 12:20:47 +00:00
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
2023-05-25 10:56:53 +00:00
pipeline:
make_update:
<<: *default
commands:
- cd gluon
- make update
patch-iw-to-iw-full:
<<: *default
commands:
- sed -i 's/+iw /+iw-full /g' gluon/openwrt/package/kernel/mac80211/Makefile
build:
<<: *default
commands:
- cd gluon
2023-07-14 18:21:20 +00:00
- 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
2023-05-25 12:14:31 +00:00
2023-07-14 18:21:20 +00:00
upload-stable:
2023-05-25 10:56:53 +00:00
image: appleboy/drone-scp
settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-key
strip_components: 2
2023-05-31 18:31:08 +00:00
target: /srv/fwuploads-tmp/troisdorf/multi/
2023-07-14 18:21:20 +00:00
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/*
2023-05-25 12:19:31 +00:00
when:
event: tag
2023-05-25 10:56:53 +00:00
matrix:
TARGET:
- ath79-generic
- ath79-mikrotik
- 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
depends_on:
2023-06-04 06:45:42 +00:00
- prepare