gluon-ci/.woodpecker.yml

43 lines
832 B
YAML
Raw Normal View History

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:
site-multidomain:
2020-02-21 19:50:17 +00:00
image: docker:git
commands:
2023-05-19 14:36:25 +00:00
- cd site
- git checkout multidomain
2023-05-19 15:58:17 +00:00
2023-05-19 14:45:05 +00:00
make_update:
2023-05-19 15:58:17 +00:00
image: ${IMAGE}
2023-05-19 15:48:02 +00:00
pull: true
2023-05-19 14:45:05 +00:00
commands:
- cd gluon
- make update
environment:
2023-05-19 15:24:47 +00:00
- input_version=v2022.1.4
2023-05-19 15:58:17 +00:00
- GLUON_SITEDIR=./site
2023-05-19 14:46:50 +00:00
- FORCE_UNSAFE_CONFIGURE=1
2023-05-19 15:43:52 +00:00
- GLUON_TARGET=${TARGET}
2023-05-19 15:28:02 +00:00
- GLUON_DEPRECATED=1
2023-05-19 15:43:52 +00:00
2023-05-19 15:58:17 +00:00
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 *
2023-05-19 15:43:52 +00:00
matrix:
TARGET:
- ath79-generic
2023-05-19 15:58:17 +00:00
IMAGE:
- git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest