2019-08-15 16:18:38 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: gluon-build
|
|
|
|
|
2019-08-15 17:11:54 +00:00
|
|
|
clone:
|
2019-08-15 17:15:25 +00:00
|
|
|
depth: 50
|
2019-08-15 17:11:54 +00:00
|
|
|
|
2019-08-15 16:18:38 +00:00
|
|
|
steps:
|
2019-08-15 17:13:36 +00:00
|
|
|
- name: submodules
|
|
|
|
image: docker:git
|
|
|
|
commands:
|
2019-08-15 18:48:59 +00:00
|
|
|
- git submodule update --recursive --init
|
2019-08-15 17:54:38 +00:00
|
|
|
|
|
|
|
- name: change site to tdf
|
|
|
|
image: docker:git
|
|
|
|
commands:
|
|
|
|
- cd site
|
2019-08-15 18:48:59 +00:00
|
|
|
- git checkout v2018.2-tdf
|
2019-08-15 17:15:25 +00:00
|
|
|
|
2019-08-15 16:18:38 +00:00
|
|
|
- name: build-ar71xx-generic
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
2019-08-15 18:51:21 +00:00
|
|
|
- cd gluon
|
2019-08-15 19:02:15 +00:00
|
|
|
- make update V=1
|
2019-08-15 18:48:59 +00:00
|
|
|
- make -j5 GLUON_BRANCH=$branch GLUON_TARGET=ar71xx-generic GLUON_RELEASE=$input_hood-$branch-$input_version
|
2019-08-15 16:18:38 +00:00
|
|
|
environment:
|
2019-08-15 17:54:38 +00:00
|
|
|
branch: stable
|
|
|
|
input_hood: tdf
|
2019-08-15 18:05:10 +00:00
|
|
|
input_version: v2018.2.2-1
|
2019-08-15 18:18:51 +00:00
|
|
|
GLUON_SITEDIR: /drone/src/site
|
2019-08-15 18:05:10 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: gluon
|
|
|
|
temp: {}
|