2023-05-19 16:33:05 +00:00
|
|
|
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
|
|
|
|
|
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:
|
2023-05-21 10:50:15 +00:00
|
|
|
create_file:
|
2023-05-19 16:33:05 +00:00
|
|
|
<<: *default
|
2023-05-19 15:58:17 +00:00
|
|
|
commands:
|
2023-05-21 10:54:06 +00:00
|
|
|
- touch /${TARGET}.test
|
2023-05-19 15:58:17 +00:00
|
|
|
|
2023-05-21 10:52:16 +00:00
|
|
|
# upload:
|
|
|
|
# image: appleboy/drone-scp
|
|
|
|
# settings:
|
|
|
|
# host: 46.4.138.183
|
|
|
|
# user: fwupload
|
|
|
|
# key:
|
|
|
|
# from_secret: ssh-key
|
|
|
|
# strip_components: 6
|
|
|
|
# target: /tmp
|
|
|
|
# source: /test.test
|
2023-05-19 16:08:22 +00:00
|
|
|
|
2023-05-19 15:43:52 +00:00
|
|
|
matrix:
|
|
|
|
TARGET:
|
|
|
|
- ath79-generic
|
2023-05-19 16:36:36 +00:00
|
|
|
- x86-64
|
2023-05-19 16:08:22 +00:00
|
|
|
BRANCH:
|
|
|
|
- stable
|