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-17 10:14:01 +00:00
|
|
|
|
2019-08-17 20:59:59 +00:00
|
|
|
- name: build-ar71xx-generic
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
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
|
|
|
|
|
|
|
|
- name: build-ar71xx-tiny
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: ar71xx-tiny
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-ar71xx-nand
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: ar71xx-nand
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-brcm2708-bcm2708
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: brcm2708-bcm2708
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-brcm2708-bcm2709
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j1 V=s
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: brcm2708-bcm2709
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-mpc85xx-generic
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: mpc85xx-generic
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-x86-generic
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: x86-generic
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-x86-geode
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: x86-geode
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-x86-64
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: x86-64
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-ipq40xx
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: ipq40xx
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-ramips-mt7620
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: ramips-mt7620
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-ramips-mt7621
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: ramips-mt7621
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
|
|
|
- name: build-ramips-mt76x8
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: ramips-mt76x8
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
2019-08-17 10:00:17 +00:00
|
|
|
- name: build-ramips-rt305x
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
|
|
|
- cd gluon
|
|
|
|
- make -j16
|
|
|
|
environment:
|
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
|
|
|
GLUON_BRANCH: stable
|
|
|
|
GLUON_TARGET: ramips-rt305x
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
2019-08-17 09:47:14 +00:00
|
|
|
#
|
|
|
|
#- name: build-sunxi-cortexa7
|
|
|
|
# image: hoffmannhosting/gluon-builder
|
|
|
|
# commands:
|
|
|
|
# - cd gluon
|
|
|
|
# - make -j16
|
|
|
|
# environment:
|
|
|
|
# input_hood: tdf
|
|
|
|
# input_version: v2018.2.2-1
|
|
|
|
# GLUON_SITEDIR: /drone/src/site
|
|
|
|
# GLUON_BRANCH: stable
|
|
|
|
# GLUON_TARGET: sunxi-cortexa7
|
|
|
|
# GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
|
|
|
# FORCE_UNSAFE_CONFIGURE: 1
|
|
|
|
|
2019-08-17 10:38:59 +00:00
|
|
|
- name: make manifest
|
|
|
|
image: hoffmannhosting/gluon-builder
|
|
|
|
commands:
|
2019-08-17 11:13:04 +00:00
|
|
|
- cd gluon
|
2019-08-17 10:38:59 +00:00
|
|
|
- make manifest
|
|
|
|
environment:
|
2019-08-17 11:51:43 +00:00
|
|
|
input_hood: tdf
|
|
|
|
input_version: v2018.2.2-1
|
|
|
|
GLUON_SITEDIR: /drone/src/site
|
2019-08-17 10:38:59 +00:00
|
|
|
GLUON_BRANCH: stable
|
2019-08-17 11:51:43 +00:00
|
|
|
GLUON_TARGET: ramips-rt305x
|
|
|
|
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
|
2019-08-17 11:54:30 +00:00
|
|
|
FORCE_UNSAFE_CONFIGURE: 1
|
2019-08-17 10:38:59 +00:00
|
|
|
|
2019-08-17 19:03:03 +00:00
|
|
|
- name: backup-old-firmware
|
|
|
|
image: appleboy/drone-ssh
|
2019-08-17 10:00:17 +00:00
|
|
|
settings:
|
|
|
|
host: 46.4.138.183
|
2019-08-17 19:03:03 +00:00
|
|
|
username: fwupload
|
2019-08-17 10:00:17 +00:00
|
|
|
key:
|
|
|
|
from_secret: ssh-update
|
2019-08-17 19:03:03 +00:00
|
|
|
port: 22
|
|
|
|
command_timeout: 120m
|
|
|
|
script:
|
|
|
|
- ./rsync-backup.sh
|
2019-08-17 20:59:59 +00:00
|
|
|
- rm -rf /srv/fwuploads/troisdorf/*
|
2019-08-17 10:00:17 +00:00
|
|
|
|
2019-08-17 19:03:03 +00:00
|
|
|
- name: copy-firmware-to-update-server
|
2019-08-17 18:35:16 +00:00
|
|
|
image: appleboy/drone-scp
|
2019-08-17 09:48:46 +00:00
|
|
|
settings:
|
|
|
|
host: 46.4.138.183
|
2019-08-17 19:03:03 +00:00
|
|
|
user: fwupload
|
2019-08-17 09:48:46 +00:00
|
|
|
key:
|
|
|
|
from_secret: ssh-update
|
2019-08-17 19:03:03 +00:00
|
|
|
strip_components: 4
|
|
|
|
target: /tmp
|
|
|
|
source: /drone/src/gluon/output/*
|
2019-08-17 20:59:59 +00:00
|
|
|
|
|
|
|
- name: slack
|
|
|
|
image: plugins/slack
|
|
|
|
settings:
|
|
|
|
webhook:
|
|
|
|
from_secret: slack_webhook
|
|
|
|
channel: fftdf_firmware
|