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 9adb507643 - Show all commits

View File

@ -57,142 +57,142 @@ steps: &steps
environment: environment:
GLUON_TARGET: ath79-generic GLUON_TARGET: ath79-generic
- name: build-ar71xx-generic # - name: build-ar71xx-generic
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ar71xx-generic # GLUON_TARGET: ar71xx-generic
#
- name: build-ar71xx-tiny # - name: build-ar71xx-tiny
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ar71xx-tiny # GLUON_TARGET: ar71xx-tiny
#
- name: build-ar71xx-nand # - name: build-ar71xx-nand
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ar71xx-nand # GLUON_TARGET: ar71xx-nand
#
- name: build-brcm2708-bcm2708 # - name: build-brcm2708-bcm2708
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: brcm2708-bcm2708 # GLUON_TARGET: brcm2708-bcm2708
#
- name: build-brcm2708-bcm2709 # - name: build-brcm2708-bcm2709
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: brcm2708-bcm2709 # GLUON_TARGET: brcm2708-bcm2709
#
- name: build-mpc85xx-generic # - name: build-mpc85xx-generic
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: mpc85xx-generic # GLUON_TARGET: mpc85xx-generic
#
- name: build-mpc85xx-p1020 # - name: build-mpc85xx-p1020
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: mpc85xx-p1020 # GLUON_TARGET: mpc85xx-p1020
#
- name: build-x86-generic # - name: build-x86-generic
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: x86-generic # GLUON_TARGET: x86-generic
#
- name: build-x86-geode # - name: build-x86-geode
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: x86-geode # GLUON_TARGET: x86-geode
#
- name: build-x86-64 # - name: build-x86-64
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: x86-64 # GLUON_TARGET: x86-64
#
- name: build-ipq40xx-generic # - name: build-ipq40xx-generic
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ipq40xx-generic # GLUON_TARGET: ipq40xx-generic
#
- name: ipq806x-generic # - name: ipq806x-generic
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ipq806x-generic # GLUON_TARGET: ipq806x-generic
#
- name: build-ramips-mt7620 # - name: build-ramips-mt7620
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ramips-mt7620 # GLUON_TARGET: ramips-mt7620
#
- name: build-ramips-mt7621 # - name: build-ramips-mt7621
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ramips-mt7621 # GLUON_TARGET: ramips-mt7621
#
- name: build-ramips-mt76x8 # - name: build-ramips-mt76x8
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ramips-mt76x8 # GLUON_TARGET: ramips-mt76x8
#
- name: build-ramips-rt305x # - name: build-ramips-rt305x
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: ramips-rt305x # GLUON_TARGET: ramips-rt305x
#
- name: lantiq-xway # - name: lantiq-xway
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: lantiq-xway # GLUON_TARGET: lantiq-xway
#
- name: lantiq-xrx200 # - name: lantiq-xrx200
<<: *gluon # <<: *gluon
environment: # environment:
GLUON_TARGET: lantiq-xrx200 # GLUON_TARGET: lantiq-xrx200
#
- name: make manifest # - name: make manifest
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
#
# - name: backup-old-firmware ## - name: backup-old-firmware
# image: appleboy/drone-ssh ## image: appleboy/drone-ssh
## settings:
## host: 46.4.138.183
## username: fwupload
## key:
## from_secret: ssh-update
## port: 22
## command_timeout: 120m
## script:
## #- ./rsync-backup-multi.sh
## - rm -rf /srv/fwuploads/troisdorf/multi/*
## - mkdir /srv/fwuploads/troisdorf/multi/stable
## - mkdir /srv/fwuploads/troisdorf/multi/beta
## - mkdir /srv/fwuploads/troisdorf/multi/experimental
## when:
## branch: master
#
# - name: upload stable
# <<: *upload
# settings: # settings:
# host: 46.4.138.183 # target: /srv/fwuploads/troisdorf/multi/stable
# username: fwupload # source: /drone/src/gluon/output/stable/images/*
# key: #
# from_secret: ssh-update # - name: upload beta
# port: 22 # <<: *upload
# command_timeout: 120m # settings:
# script: # target: /srv/fwuploads/troisdorf/multi/beta
# #- ./rsync-backup-multi.sh # source: /drone/src/gluon/output/beta/images/*
# - rm -rf /srv/fwuploads/troisdorf/multi/* #
# - mkdir /srv/fwuploads/troisdorf/multi/stable # - name: upload experimental
# - mkdir /srv/fwuploads/troisdorf/multi/beta # <<: *upload
# - mkdir /srv/fwuploads/troisdorf/multi/experimental # settings:
# when: # target: /srv/fwuploads/troisdorf/multi/experimental
# branch: master # source: /drone/src/gluon/output/experimental/images/*
#
- name: upload stable # - name: slack
<<: *upload # image: plugins/slack
settings: # settings:
target: /srv/fwuploads/troisdorf/multi/stable # webhook:
source: /drone/src/gluon/output/stable/images/* # from_secret: slack_webhook
# channel: fftdf_firmware
- name: upload beta
<<: *upload
settings:
target: /srv/fwuploads/troisdorf/multi/beta
source: /drone/src/gluon/output/beta/images/*
- name: upload experimental
<<: *upload
settings:
target: /srv/fwuploads/troisdorf/multi/experimental
source: /drone/src/gluon/output/experimental/images/*
- name: slack
image: plugins/slack
settings:
webhook:
from_secret: slack_webhook
channel: fftdf_firmware