Compare commits

..

No commits in common. "3b50784d2d049c25d1233231b90b826e1d52e311" and "6e36e6eae881fb73ea63c3c1cafb372bc3516589" have entirely different histories.

View File

@ -1,38 +1,13 @@
global-variables: global-variables:
env: &env input_version: &input_version v2020.1
image: hoffmannhosting/gluon-builder
environment:
input_version: v2020.1
GLUON_SITEDIR: /drone/src/site
FORCE_UNSAFE_CONFIGURE: 1
gluon: &gluon
<<: *env
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
upload: &upload
image: appleboy/drone-scp
settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-update
strip_components: 6
when:
branch: master
kind: pipeline kind: pipeline
type: docker
name: gluon-build name: gluon-build
clone: clone:
depth: 50 depth: 50
steps: &steps steps:
- name: submodules - name: submodules
image: docker:git image: docker:git
commands: commands:
@ -45,149 +20,321 @@ steps: &steps
- git checkout multidomain - git checkout multidomain
- name: make update - name: make update
<<: *env image: hoffmannhosting/gluon-builder
commands: commands:
- cd gluon - cd gluon
- make update - make update
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ar71xx-generic GLUON_TARGET: ar71xx-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ath79-generic - name: build-ath79-generic
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ath79-generic GLUON_TARGET: ath79-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ar71xx-generic - name: build-ar71xx-generic
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ar71xx-generic GLUON_TARGET: ar71xx-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ar71xx-tiny - name: build-ar71xx-tiny
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ar71xx-tiny GLUON_TARGET: ar71xx-tiny
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ar71xx-nand - name: build-ar71xx-nand
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ar71xx-nand GLUON_TARGET: ar71xx-nand
FORCE_UNSAFE_CONFIGURE: 1
- name: build-brcm2708-bcm2708 - name: build-brcm2708-bcm2708
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: brcm2708-bcm2708 GLUON_TARGET: brcm2708-bcm2708
FORCE_UNSAFE_CONFIGURE: 1
- name: build-brcm2708-bcm2709 - name: build-brcm2708-bcm2709
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: brcm2708-bcm2709 GLUON_TARGET: brcm2708-bcm2709
FORCE_UNSAFE_CONFIGURE: 1
- name: build-mpc85xx-generic - name: build-mpc85xx-generic
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: mpc85xx-generic GLUON_TARGET: mpc85xx-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-mpc85xx-p1020 - name: build-mpc85xx-p1020
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: mpc85xx-p1020 GLUON_TARGET: mpc85xx-p1020
FORCE_UNSAFE_CONFIGURE: 1
- name: build-x86-generic - name: build-x86-generic
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: x86-generic GLUON_TARGET: x86-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-x86-geode - name: build-x86-geode
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: x86-geode GLUON_TARGET: x86-geode
FORCE_UNSAFE_CONFIGURE: 1
- name: build-x86-64 - name: build-x86-64
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: x86-64 GLUON_TARGET: x86-64
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ipq40xx-generic - name: build-ipq40xx-generic
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ipq40xx-generic GLUON_TARGET: ipq40xx-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: ipq806x-generic - name: ipq806x-generic
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ipq806x-generic GLUON_TARGET: ipq806x-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ramips-mt7620 - name: build-ramips-mt7620
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ramips-mt7620 GLUON_TARGET: ramips-mt7620
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ramips-mt7621 - name: build-ramips-mt7621
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ramips-mt7621 GLUON_TARGET: ramips-mt7621
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ramips-mt76x8 - name: build-ramips-mt76x8
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ramips-mt76x8 GLUON_TARGET: ramips-mt76x8
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ramips-rt305x - name: build-ramips-rt305x
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ramips-rt305x GLUON_TARGET: ramips-rt305x
FORCE_UNSAFE_CONFIGURE: 1
- name: lantiq-xway - name: lantiq-xway
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: lantiq-xway GLUON_TARGET: lantiq-xway
FORCE_UNSAFE_CONFIGURE: 1
- name: lantiq-xrx200 - name: lantiq-xrx200
<<: *gluon image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- make -j4 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
- make -j4 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
- make -j4 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
environment: environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: lantiq-xrx200 GLUON_TARGET: lantiq-xrx200
FORCE_UNSAFE_CONFIGURE: 1
- name: make manifest - name: make manifest
<<: *env image: hoffmannhosting/gluon-builder
commands: commands:
- cd gluon - cd gluon
- make manifest GLUON_BRANCH=stable GLUON_OUTPUTDIR=output/stable GLUON_RELEASE=$input_version-stable - make manifest GLUON_BRANCH=stable GLUON_OUTPUTDIR=output/stable GLUON_RELEASE=$input_version-stable
- make manifest GLUON_BRANCH=beta GLUON_OUTPUTDIR=output/beta GLUON_RELEASE=$input_version-beta - make manifest GLUON_BRANCH=beta GLUON_OUTPUTDIR=output/beta GLUON_RELEASE=$input_version-beta
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp - make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
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-multi.sh #- ./rsync-backup-multi.sh
# - rm -rf /srv/fwuploads/troisdorf/multi/* - rm -rf /srv/fwuploads/troisdorf/multi/*
# - mkdir /srv/fwuploads/troisdorf/multi/stable - mkdir /srv/fwuploads/troisdorf/multi/stable
# - mkdir /srv/fwuploads/troisdorf/multi/beta - mkdir /srv/fwuploads/troisdorf/multi/beta
# - mkdir /srv/fwuploads/troisdorf/multi/experimental - mkdir /srv/fwuploads/troisdorf/multi/experimental
# when:
# branch: master
- name: upload stable - name: upload stable
<<: *upload image: appleboy/drone-scp
settings: settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-update
strip_components: 6
target: /srv/fwuploads/troisdorf/multi/stable target: /srv/fwuploads/troisdorf/multi/stable
source: /drone/src/gluon/output/stable/images/* source: /drone/src/gluon/output/stable/images/*
- name: upload beta - name: upload beta
<<: *upload image: appleboy/drone-scp
settings: settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-update
strip_components: 6
target: /srv/fwuploads/troisdorf/multi/beta target: /srv/fwuploads/troisdorf/multi/beta
source: /drone/src/gluon/output/beta/images/* source: /drone/src/gluon/output/beta/images/*
- name: upload experimental - name: upload experimental
<<: *upload image: appleboy/drone-scp
settings: settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-update
strip_components: 6
target: /srv/fwuploads/troisdorf/multi/experimental target: /srv/fwuploads/troisdorf/multi/experimental
source: /drone/src/gluon/output/experimental/images/* source: /drone/src/gluon/output/experimental/images/*
@ -197,3 +344,4 @@ steps: &steps
webhook: webhook:
from_secret: slack_webhook from_secret: slack_webhook
channel: fftdf_firmware channel: fftdf_firmware