Fist test with branches

This commit is contained in:
stebifan 2019-08-18 22:26:04 +02:00
parent 048607875c
commit bd1837ebf6

View File

@ -20,267 +20,285 @@ steps:
image: hoffmannhosting/gluon-builder image: hoffmannhosting/gluon-builder
commands: commands:
- cd gluon - cd gluon
- make update - make update
environment: environment:
input_hood: tdf input_hood: tdf
input_version: v2018.2.2-1 input_version: v2018.2.2-1
GLUON_SITEDIR: /drone/src/site GLUON_SITEDIR: /drone/src/site
GLUON_BRANCH: stable
GLUON_TARGET: ar71xx-generic GLUON_TARGET: ar71xx-generic
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
FORCE_UNSAFE_CONFIGURE: 1 FORCE_UNSAFE_CONFIGURE: 1
- name: build-ar71xx-generic - name: build-ar71xx-generic
image: hoffmannhosting/gluon-builder image: hoffmannhosting/gluon-builder
commands: commands:
- cd gluon - cd gluon
- make -j16 - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
- make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
- make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_hood: tdf input_hood: tdf
input_version: v2018.2.2-1 input_version: v2018.2.2-1
GLUON_SITEDIR: /drone/src/site GLUON_SITEDIR: /drone/src/site
GLUON_BRANCH: stable
GLUON_TARGET: ar71xx-generic GLUON_TARGET: ar71xx-generic
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
FORCE_UNSAFE_CONFIGURE: 1 FORCE_UNSAFE_CONFIGURE: 1
- name: build-ar71xx-tiny #- name: build-ar71xx-tiny
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: ar71xx-tiny # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: ar71xx-tiny
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-ar71xx-nand #- name: build-ar71xx-nand
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: ar71xx-nand # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: ar71xx-nand
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-brcm2708-bcm2708 #- name: build-brcm2708-bcm2708
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: brcm2708-bcm2708 # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: brcm2708-bcm2708
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-brcm2708-bcm2709 #- name: build-brcm2708-bcm2709
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: brcm2708-bcm2709 # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: brcm2708-bcm2709
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-mpc85xx-generic #- name: build-mpc85xx-generic
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: mpc85xx-generic # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: mpc85xx-generic
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-x86-generic #- name: build-x86-generic
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: x86-generic # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: x86-generic
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-x86-geode #- name: build-x86-geode
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: x86-geode # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: x86-geode
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-x86-64 #- name: build-x86-64
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: x86-64 # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: x86-64
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-ipq40xx #- name: build-ipq40xx
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: ipq40xx # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: ipq40xx
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-ramips-mt7620 #- name: build-ramips-mt7620
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: ramips-mt7620 # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: ramips-mt7620
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-ramips-mt7621 #- name: build-ramips-mt7621
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: ramips-mt7621 # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: ramips-mt7621
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-ramips-mt76x8 #- name: build-ramips-mt76x8
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: ramips-mt76x8 # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: ramips-mt76x8
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
#
- name: build-ramips-rt305x #- name: build-ramips-rt305x
image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
commands: # commands:
- cd gluon # - cd gluon
- make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
environment: # - make -j16 GLUON_BRANCH=beta GLUON_RELEASE=$input_hood-beta-$input_version GLUON_OUTPUTDIR=output/beta
input_hood: tdf # - make -j16 GLUON_BRANCH=experimental GLUON_RELEASE=$input_hood-experimantal-$input_version GLUON_OUTPUTDIR=output/experimental
input_version: v2018.2.2-1 # environment:
GLUON_SITEDIR: /drone/src/site # input_hood: tdf
GLUON_BRANCH: stable # input_version: v2018.2.2-1
GLUON_TARGET: ramips-rt305x # GLUON_SITEDIR: /drone/src/site
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version # GLUON_TARGET: ramips-rt305x
FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
# #
#- name: build-sunxi-cortexa7 #- name: build-sunxi-cortexa7
# image: hoffmannhosting/gluon-builder # image: hoffmannhosting/gluon-builder
# commands: # commands:
# - cd gluon # - cd gluon
# - make -j16 # - make -j16 GLUON_BRANCH=stable GLUON_RELEASE=$input_hood-stable-$input_version GLUON_OUTPUTDIR=output/stable
# environment: # environment:
# input_hood: tdf # input_hood: tdf
# input_version: v2018.2.2-1 # input_version: v2018.2.2-1
# GLUON_SITEDIR: /drone/src/site # GLUON_SITEDIR: /drone/src/site
# GLUON_BRANCH: stable
# GLUON_TARGET: sunxi-cortexa7 # GLUON_TARGET: sunxi-cortexa7
# GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
# FORCE_UNSAFE_CONFIGURE: 1 # FORCE_UNSAFE_CONFIGURE: 1
- name: make manifest - name: make manifest
image: hoffmannhosting/gluon-builder image: hoffmannhosting/gluon-builder
commands: commands:
- cd gluon - cd gluon
- make manifest - make manifest GLUON_BRANCH=stable GLUON_OUTPUTDIR=output/stable
- make manifest GLUON_BRANCH=beta GLUON_OUTPUTDIR=output/beta
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_hood: tdf input_hood: tdf
input_version: v2018.2.2-1 input_version: v2018.2.2-1
GLUON_SITEDIR: /drone/src/site GLUON_SITEDIR: /drone/src/site
GLUON_BRANCH: stable
GLUON_TARGET: ramips-rt305x GLUON_TARGET: ramips-rt305x
GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version
FORCE_UNSAFE_CONFIGURE: 1 FORCE_UNSAFE_CONFIGURE: 1
#
- name: backup-old-firmware #- name: backup-old-firmware
image: appleboy/drone-ssh # image: appleboy/drone-ssh
settings: # settings:
host: 46.4.138.183 # host: 46.4.138.183
username: fwupload # username: fwupload
key: # key:
from_secret: ssh-update # from_secret: ssh-update
port: 22 # port: 22
command_timeout: 120m # command_timeout: 120m
script: # script:
- ./rsync-backup-tdf.sh # - ./rsync-backup-tdf.sh
# - rm -rf /srv/fwuploads/troisdorf/tdf/* # - rm -rf /srv/fwuploads/troisdorf/tdf/*
#
- name: copy-firmware-to-update-server #- name: upload stable
image: appleboy/drone-scp # image: appleboy/drone-scp
settings: # settings:
host: 46.4.138.183 # host: 46.4.138.183
user: fwupload # user: fwupload
key: # key:
from_secret: ssh-update # from_secret: ssh-update
strip_components: 4 # strip_components: 4
target: /tmp # target: /srv/fwuploads/troisdorf/tdf/stable
source: /drone/src/gluon/output/* # source: /drone/src/gluon/output/stable/images/*
#
- name: slack #- name: upload beta
image: plugins/slack # image: appleboy/drone-scp
settings: # settings:
webhook: # host: 46.4.138.183
from_secret: slack_webhook # user: fwupload
channel: fftdf_firmware # key:
# from_secret: ssh-update
# strip_components: 4
# target: /srv/fwuploads/troisdorf/tdf/beta
# source: /drone/src/gluon/output/beta/images/*
#
# - name: upload experimental
# image: appleboy/drone-scp
# settings:
# host: 46.4.138.183
# user: fwupload
# key:
# from_secret: ssh-update
# strip_components: 4
# target: /srv/fwuploads/troisdorf/tdf/experimental
# source: /drone/src/gluon/output/experimental/images/*
#
#- name: slack
# image: plugins/slack
# settings:
# webhook:
# from_secret: slack_webhook
# channel: fftdf_firmware