testing woodpecker

This commit is contained in:
Nils Stinnesbeck 2023-05-19 16:36:25 +02:00
parent 01d2facbf0
commit 4685a290ce
Signed by: nils
GPG Key ID: C52E07422A136076

View File

@ -33,26 +33,20 @@ global-variables:
- grep -rl +iw kernel/mac80211/Makefile | xargs sed -i s/+iw/+iw-full/g - grep -rl +iw kernel/mac80211/Makefile | xargs sed -i s/+iw/+iw-full/g
- grep -r iw-full * - grep -r iw-full *
kind: pipeline
type: docker
name: gluon-build
clone: clone:
depth: 50 git:
image: woodpeckerci/plugin-git
settings:
recursive: true
steps: &steps pipeline:
- name: submodules site-multidomain:
image: docker:git
commands:
- git submodule update --recursive --init
- name: change site to multi
image: docker:git image: docker:git
commands: commands:
- cd site - cd site
- git checkout multidomain - git checkout multidomain
- name: make update make_update:
<<: *env <<: *env
commands: commands:
- cd gluon - cd gluon
@ -60,142 +54,46 @@ steps: &steps
environment: environment:
GLUON_TARGET: ar71xx-generic GLUON_TARGET: ar71xx-generic
- name: patch iw to iw-full patch_iw:
<<: *patch <<: *patch
- name: build-ath79-generic make_manifest:
<<: *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
<<: *env <<: *env
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
# Don´t build Experimental. The Experimental Firmware is in another Branch
# - make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
- name: backup-old-firmware #steps: &steps
image: appleboy/drone-ssh #- name: backup-old-firmware
settings: # image: appleboy/drone-ssh
host: 46.4.138.183 # settings:
username: fwupload # host: 46.4.138.183
key: # username: fwupload
from_secret: ssh-update # key:
port: 22 # from_secret: ssh-update
command_timeout: 120m # port: 22
script: # command_timeout: 120m
#- ./rsync-backup-multi.sh # script:
- rm -rf /srv/fwuploads/troisdorf/multi/stable # #- ./rsync-backup-multi.sh
- rm -rf /srv/fwuploads/troisdorf/multi/beta # - rm -rf /srv/fwuploads/troisdorf/multi/stable
- mkdir /srv/fwuploads/troisdorf/multi/stable # - rm -rf /srv/fwuploads/troisdorf/multi/beta
- mkdir /srv/fwuploads/troisdorf/multi/beta # - mkdir /srv/fwuploads/troisdorf/multi/stable
when: # - mkdir /srv/fwuploads/troisdorf/multi/beta
branch: multidomain # when:
# branch: multidomain
- name: upload stable #- name: upload stable
<<: *upload # <<: *upload
settings: # settings:
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 # <<: *upload
settings: # settings:
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/*
# Don´t build Experimental. The Experimental Firmware is in another Branch # Don´t build Experimental. The Experimental Firmware is in another Branch
# - name: upload experimental # - name: upload experimental