gluon-ci/.drone.yml
2019-08-15 20:05:10 +02:00

35 lines
695 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: /drone/src/gluon
commands:
- cd gluon
- make update GLUON_SITEDIR=../site
- make -j5 GLUON_BRANCH=$branch GLUON_TARGET=ar71xx-generic GLUON_RELEASE=$input_hood-$branch-$input_version GLUON_SITEDIR=../site
environment:
branch: stable
input_hood: tdf
input_version: v2018.2.2-1
volumes:
- name: gluon
temp: {}