gluon-ci/.woodpecker.yml
Nils Stinnesbeck e1eba309b5
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
more changes
2023-05-19 18:12:09 +02:00

59 lines
1.2 KiB
YAML

workspace:
base: /build
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
pipeline:
site-multidomain:
image: docker:git
commands:
- cd site
- git checkout multidomain
make_update:
image: ${IMAGE}
pull: true
commands:
- pwd
- cd gluon
- make update
environment:
- input_version=v2022.1.4
- GLUON_SITEDIR=../site
- FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET}
- GLUON_DEPRECATED=1
patch-iw-to-iw-full:
image: ${IMAGE}
pull: true
commands:
- cd gluon/openwrt/package
- grep -rl +iw kernel/mac80211/Makefile | xargs sed -i s/+iw/+iw-full/g
- grep -r iw-full *
build-${TARGET}:
image: ${IMAGE}
pull: true
commands:
- cd gluon
- make -j6 GLUON_BRANCH=${BRANCH} GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
environment:
- input_version=v2022.1.4
- GLUON_SITEDIR=../site
- FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET}
- GLUON_DEPRECATED=1
matrix:
TARGET:
- ath79-generic
BRANCH:
- stable
IMAGE:
- git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest