gluon-ci/.drone.yml

45 lines
963 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 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 19:44:22 +00:00
- name: make update
2019-08-15 16:18:38 +00:00
image: hoffmannhosting/gluon-builder
commands:
2019-08-15 18:51:21 +00:00
- cd gluon
2019-08-15 19:10:05 +00:00
- make update
2019-08-15 19:45:24 +00:00
environment:
input_hood: tdf
input_version: v2018.2.2-1
GLUON_SITEDIR: /drone/src/site
GLUON_BRANCH: stable
GLUON_TARGET: ar71xx-generic
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
FORCE_UNSAFE_CONFIGURE: 1
2019-08-15 19:44:22 +00:00
- name: build-ar71xx-generic
image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j16
2019-08-15 16:18:38 +00:00
environment:
2019-08-15 17:54:38 +00:00
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 19:16:03 +00:00
GLUON_BRANCH: stable
GLUON_TARGET: ar71xx-generic
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
FORCE_UNSAFE_CONFIGURE: 1