gluon-ci/.drone.yml

30 lines
639 B
YAML
Raw Normal View History

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
commands:
2019-08-15 17:54:38 +00:00
- cd gluon
2019-08-15 18:00:18 +00:00
- mkdir test
- mkdir openwrt
- make update GLUON_SITEDIR=../site
- make -j5 GLUON_BRANCH=$branch GLUON_TARGET=ar71xx-generic GLUON_RELEASE=$input_hood-$branch-$input_version GLUON_SITEDIR=../site
2019-08-15 16:18:38 +00:00
environment:
2019-08-15 17:54:38 +00:00
branch: stable
input_hood: tdf
input_version: v2018.2.2-1