From 833ecf5ad189d8df7c6d2567803a62bf90202ebc Mon Sep 17 00:00:00 2001 From: Stefan Date: Sat, 17 Aug 2019 22:59:59 +0200 Subject: [PATCH] First prod build --- .drone.yml | 373 +++++++++++++++++++++++++++-------------------------- 1 file changed, 190 insertions(+), 183 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0a62425..d8cde21 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,188 +30,188 @@ steps: GLUON_RELEASE: $input_hood-$GLUON_BRANCH-$input_version FORCE_UNSAFE_CONFIGURE: 1 -#- 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 -# +- 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 + - name: build-ramips-rt305x image: hoffmannhosting/gluon-builder commands: @@ -265,7 +265,7 @@ steps: command_timeout: 120m script: - ./rsync-backup.sh - # - rm -rf /srv/fwuploads/troisdorf/* + - rm -rf /srv/fwuploads/troisdorf/* - name: copy-firmware-to-update-server image: appleboy/drone-scp @@ -277,3 +277,10 @@ steps: strip_components: 4 target: /tmp source: /drone/src/gluon/output/* + +- name: slack + image: plugins/slack + settings: + webhook: + from_secret: slack_webhook + channel: fftdf_firmware \ No newline at end of file