gluon-ci/.woodpecker.yml
Stefan b0ba11ce24
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
show images in output
2023-05-21 11:52:11 +02:00

58 lines
1.1 KiB
YAML

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:
site-multidomain:
image: docker:git
commands:
- cd site
- git checkout 2022.x-multidomain
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-${TARGET}:
<<: *default
commands:
- cd gluon
- make -j$(nproc) GLUON_BRANCH=${BRANCH} GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
show-images-${TARGET}:
<<: *default
commands:
- ls -alh
- ls -alh output/
- ls -alh gluon/output/
matrix:
TARGET:
- ath79-generic
- x86-64
BRANCH:
- stable