From 8eea5774beb10d9cdef474e86fc36ca087bcb7e3 Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Fri, 19 May 2023 18:33:05 +0200 Subject: [PATCH] more changes --- .woodpecker.yml | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9eb667b..6cb22a2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,3 +1,14 @@ +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 @@ -15,44 +26,27 @@ pipeline: - git checkout multidomain make_update: - image: ${IMAGE} - pull: true + <<: *default 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 + <<: *default 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 + <<: *default 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