gluon-ci/.drone.yml
2019-08-15 20:50:26 +02:00

36 lines
677 B
YAML

kind: pipeline
name: gluon-build
clone:
depth: 50
steps:
- name: submodules
image: docker:git
commands:
- git submodule update --recursive --init
- name: change site to tdf
image: docker:git
commands:
- cd site
- git checkout v2018.2-tdf
- name: build-ar71xx-generic
image: hoffmannhosting/gluon-builder
volumes:
- name: gluon
path: /gluon
commands:
- cd /gluon
- make update
- make -j5 GLUON_BRANCH=$branch GLUON_TARGET=ar71xx-generic GLUON_RELEASE=$input_hood-$branch-$input_version
environment:
branch: stable
input_hood: tdf
input_version: v2018.2.2-1
GLUON_SITEDIR: /drone/src/site
volumes:
- name: gluon
temp: {}