This commit is contained in:
parent
297f84b8fc
commit
8849a9d2bb
302
.drone.yml
302
.drone.yml
@ -44,154 +44,154 @@ steps:
|
||||
- cd site
|
||||
- git checkout multidomain
|
||||
|
||||
- name: make update
|
||||
<<: *env
|
||||
commands:
|
||||
- cd gluon
|
||||
- make update
|
||||
environment:
|
||||
GLUON_TARGET: ar71xx-generic
|
||||
|
||||
- name: build-ath79-generic
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ath79-generic
|
||||
|
||||
- name: build-ar71xx-generic
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ar71xx-generic
|
||||
|
||||
- name: build-ar71xx-tiny
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ar71xx-tiny
|
||||
|
||||
- name: build-ar71xx-nand
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ar71xx-nand
|
||||
|
||||
- name: build-brcm2708-bcm2708
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: brcm2708-bcm2708
|
||||
|
||||
- name: build-brcm2708-bcm2709
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: brcm2708-bcm2709
|
||||
|
||||
- name: build-mpc85xx-generic
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: mpc85xx-generic
|
||||
|
||||
- name: build-mpc85xx-p1020
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: mpc85xx-p1020
|
||||
|
||||
- name: build-x86-generic
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: x86-generic
|
||||
|
||||
- name: build-x86-geode
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: x86-geode
|
||||
|
||||
- name: build-x86-64
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: x86-64
|
||||
|
||||
- name: build-ipq40xx-generic
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ipq40xx-generic
|
||||
|
||||
- name: ipq806x-generic
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ipq806x-generic
|
||||
|
||||
- name: build-ramips-mt7620
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ramips-mt7620
|
||||
|
||||
- name: build-ramips-mt7621
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ramips-mt7621
|
||||
|
||||
- name: build-ramips-mt76x8
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ramips-mt76x8
|
||||
|
||||
- name: build-ramips-rt305x
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: ramips-rt305x
|
||||
|
||||
- name: lantiq-xway
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: lantiq-xway
|
||||
|
||||
- name: lantiq-xrx200
|
||||
<<: *gluon
|
||||
environment:
|
||||
GLUON_TARGET: lantiq-xrx200
|
||||
|
||||
- name: make manifest
|
||||
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
|
||||
|
||||
- name: backup-old-firmware
|
||||
<<: *gluon
|
||||
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
|
||||
|
||||
- name: upload stable
|
||||
<<: *upload
|
||||
settings:
|
||||
target: /srv/fwuploads/troisdorf/multi/stable
|
||||
source: /drone/src/gluon/output/stable/images/*
|
||||
|
||||
- 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
|
||||
# - name: make update
|
||||
# <<: *env
|
||||
# commands:
|
||||
# - cd gluon
|
||||
# - make update
|
||||
# environment:
|
||||
# GLUON_TARGET: ar71xx-generic
|
||||
#
|
||||
# - name: build-ath79-generic
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ath79-generic
|
||||
#
|
||||
# - name: build-ar71xx-generic
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ar71xx-generic
|
||||
#
|
||||
# - name: build-ar71xx-tiny
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ar71xx-tiny
|
||||
#
|
||||
# - name: build-ar71xx-nand
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ar71xx-nand
|
||||
#
|
||||
# - name: build-brcm2708-bcm2708
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: brcm2708-bcm2708
|
||||
#
|
||||
# - name: build-brcm2708-bcm2709
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: brcm2708-bcm2709
|
||||
#
|
||||
# - name: build-mpc85xx-generic
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: mpc85xx-generic
|
||||
#
|
||||
# - name: build-mpc85xx-p1020
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: mpc85xx-p1020
|
||||
#
|
||||
# - name: build-x86-generic
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: x86-generic
|
||||
#
|
||||
# - name: build-x86-geode
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: x86-geode
|
||||
#
|
||||
# - name: build-x86-64
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: x86-64
|
||||
#
|
||||
# - name: build-ipq40xx-generic
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ipq40xx-generic
|
||||
#
|
||||
# - name: ipq806x-generic
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ipq806x-generic
|
||||
#
|
||||
# - name: build-ramips-mt7620
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ramips-mt7620
|
||||
#
|
||||
# - name: build-ramips-mt7621
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ramips-mt7621
|
||||
#
|
||||
# - name: build-ramips-mt76x8
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ramips-mt76x8
|
||||
#
|
||||
# - name: build-ramips-rt305x
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: ramips-rt305x
|
||||
#
|
||||
# - name: lantiq-xway
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: lantiq-xway
|
||||
#
|
||||
# - name: lantiq-xrx200
|
||||
# <<: *gluon
|
||||
# environment:
|
||||
# GLUON_TARGET: lantiq-xrx200
|
||||
#
|
||||
# - name: make manifest
|
||||
# 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
|
||||
#
|
||||
# - name: backup-old-firmware
|
||||
# <<: *gluon
|
||||
# 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
|
||||
#
|
||||
# - name: upload stable
|
||||
# <<: *upload
|
||||
# settings:
|
||||
# target: /srv/fwuploads/troisdorf/multi/stable
|
||||
# source: /drone/src/gluon/output/stable/images/*
|
||||
#
|
||||
# - 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
|
||||
|
Loading…
Reference in New Issue
Block a user