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 17:41:52 +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 17:44:54 +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
|
2019-08-15 18:05:10 +00:00
|
|
|
volumes:
|
|
|
|
- name: gluon
|
2019-08-15 18:07:54 +00:00
|
|
|
path: /gluon
|
2019-08-15 16:18:38 +00:00
|
|
|
commands:
|
2019-08-15 18:07:54 +00:00
|
|
|
- cd /gluon
|
2019-08-15 18:09:50 +00:00
|
|
|
- ls /drone/src/gluon
|
|
|
|
- make update GLUON_SITEDIR=/drone/src/gluon/site -C /drone/src/gluon
|
2019-08-15 18:07:54 +00:00
|
|
|
- make -j5 GLUON_BRANCH=$branch GLUON_TARGET=ar71xx-generic GLUON_RELEASE=$input_hood-$branch-$input_version GLUON_SITEDIR=/drone/src/gluon/site /drone/src/gluon
|
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
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: gluon
|
|
|
|
temp: {}
|