devel/anchors #1

Manually merged
stefan merged 19 commits from devel/anchors into multidomain 2020-04-13 20:10:44 +00:00
Showing only changes of commit 289027569f - Show all commits

View File

@ -1,5 +1,27 @@
global-variables:
input_version: &input_version v2020.1
env: &env
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
kind: pipeline
name: gluon-build
@ -20,276 +42,117 @@ steps:
- git checkout multidomain
- name: make update
image: hoffmannhosting/gluon-builder
<<: *env
commands:
- cd gluon
- make update
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ar71xx-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ath79-generic
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ath79-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ar71xx-generic
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ar71xx-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ar71xx-tiny
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ar71xx-tiny
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ar71xx-nand
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ar71xx-nand
FORCE_UNSAFE_CONFIGURE: 1
- name: build-brcm2708-bcm2708
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: brcm2708-bcm2708
FORCE_UNSAFE_CONFIGURE: 1
- name: build-brcm2708-bcm2709
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: brcm2708-bcm2709
FORCE_UNSAFE_CONFIGURE: 1
- name: build-mpc85xx-generic
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: mpc85xx-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-mpc85xx-p1020
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: mpc85xx-p1020
FORCE_UNSAFE_CONFIGURE: 1
- name: build-x86-generic
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: x86-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-x86-geode
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: x86-geode
FORCE_UNSAFE_CONFIGURE: 1
- name: build-x86-64
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: x86-64
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ipq40xx-generic
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ipq40xx-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: ipq806x-generic
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ipq806x-generic
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ramips-mt7620
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ramips-mt7620
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ramips-mt7621
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ramips-mt7621
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ramips-mt76x8
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ramips-mt76x8
FORCE_UNSAFE_CONFIGURE: 1
- name: build-ramips-rt305x
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: ramips-rt305x
FORCE_UNSAFE_CONFIGURE: 1
- name: lantiq-xway
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: lantiq-xway
FORCE_UNSAFE_CONFIGURE: 1
- name: lantiq-xrx200
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
<<: *gluon
environment:
input_version: *input_version
GLUON_SITEDIR: /drone/src/site
GLUON_TARGET: lantiq-xrx200
FORCE_UNSAFE_CONFIGURE: 1
- name: make manifest
image: hoffmannhosting/gluon-builder
commands:
- cd gluon
- 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=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
<<: *gluon
image: appleboy/drone-ssh
settings:
host: 46.4.138.183
@ -306,35 +169,20 @@ steps:
- mkdir /srv/fwuploads/troisdorf/multi/experimental
- name: upload stable
image: appleboy/drone-scp
<<: *upload
settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-update
strip_components: 6
target: /srv/fwuploads/troisdorf/multi/stable
source: /drone/src/gluon/output/stable/images/*
- name: upload beta
image: appleboy/drone-scp
<<: *upload
settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-update
strip_components: 6
target: /srv/fwuploads/troisdorf/multi/beta
source: /drone/src/gluon/output/beta/images/*
- name: upload experimental
image: appleboy/drone-scp
<<: *upload
settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-update
strip_components: 6
target: /srv/fwuploads/troisdorf/multi/experimental
source: /drone/src/gluon/output/experimental/images/*