Compare commits
11 Commits
multidomai
...
experiment
Author | SHA1 | Date | |
---|---|---|---|
0a091d740a | |||
3ce8da9d25 | |||
5b0be8afc6 | |||
|
c07a8f7018 | ||
|
3d4de9e1d6 | ||
|
e69e1ad08a | ||
|
7709fcc70e | ||
|
4457aa829e | ||
|
13c0eeb5a5 | ||
|
9b24993003 | ||
|
f3bf83c71c |
53
.drone.yml
53
.drone.yml
@ -2,7 +2,7 @@ global-variables:
|
||||
env: &env
|
||||
image: hoffmannhosting/gluon-builder
|
||||
environment:
|
||||
input_version: v2020.1.2
|
||||
input_version: v2020.2.2
|
||||
GLUON_SITEDIR: /drone/src/site
|
||||
FORCE_UNSAFE_CONFIGURE: 1
|
||||
|
||||
@ -10,10 +10,7 @@ global-variables:
|
||||
<<: *env
|
||||
commands:
|
||||
- cd gluon
|
||||
- make -j6 GLUON_BRANCH=stable GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
|
||||
- make -j6 GLUON_BRANCH=beta GLUON_RELEASE=$input_version-beta GLUON_OUTPUTDIR=output/beta
|
||||
# Don´t build Experimental. The Experimental Firmware is in another Branch
|
||||
# - make -j6 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
||||
- make -j6 GLUON_BRANCH=experimental GLUON_RELEASE=$input_version-exp GLUON_OUTPUTDIR=output/experimental
|
||||
|
||||
upload: &upload
|
||||
image: appleboy/drone-scp
|
||||
@ -24,7 +21,14 @@ global-variables:
|
||||
from_secret: ssh-update
|
||||
strip_components: 6
|
||||
when:
|
||||
branch: multidomain
|
||||
branch: experimental
|
||||
|
||||
patch: &patch
|
||||
<<: *env
|
||||
commands:
|
||||
- cd gluon/openwrt/package
|
||||
- grep -rl +iw kernel/mac80211/Makefile | xargs sed -i s/+iw/+iw-full/g
|
||||
- grep -r iw-full *
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
@ -43,7 +47,7 @@ steps: &steps
|
||||
image: docker:git
|
||||
commands:
|
||||
- cd site
|
||||
- git checkout multidomain
|
||||
- git checkout multidomain-experimental
|
||||
|
||||
- name: make update
|
||||
<<: *env
|
||||
@ -53,6 +57,9 @@ steps: &steps
|
||||
environment:
|
||||
GLUON_TARGET: ar71xx-generic
|
||||
|
||||
- name: patch iw to iw-full
|
||||
<<: *patch
|
||||
|
||||
- name: build-ath79-generic
|
||||
<<: *gluon
|
||||
environment:
|
||||
@ -152,10 +159,7 @@ steps: &steps
|
||||
<<: *env
|
||||
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
|
||||
# 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
|
||||
- make manifest GLUON_BRANCH=experimental GLUON_OUTPUTDIR=output/experimental GLUON_RELEASE=$input_version-exp
|
||||
|
||||
- name: backup-old-firmware
|
||||
image: appleboy/drone-ssh
|
||||
@ -168,31 +172,16 @@ steps: &steps
|
||||
command_timeout: 120m
|
||||
script:
|
||||
#- ./rsync-backup-multi.sh
|
||||
- rm -rf /srv/fwuploads/troisdorf/multi/stable
|
||||
- rm -rf /srv/fwuploads/troisdorf/multi/beta
|
||||
- mkdir /srv/fwuploads/troisdorf/multi/stable
|
||||
- mkdir /srv/fwuploads/troisdorf/multi/beta
|
||||
- rm -rf /srv/fwuploads/troisdorf/multi/experimental
|
||||
- mkdir /srv/fwuploads/troisdorf/multi/experimental
|
||||
when:
|
||||
branch: multidomain
|
||||
branch: experimental
|
||||
|
||||
- name: upload stable
|
||||
- name: upload experimental
|
||||
<<: *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/*
|
||||
|
||||
# Don´t build Experimental. The Experimental Firmware is in another Branch
|
||||
# - name: upload experimental
|
||||
# <<: *upload
|
||||
# settings:
|
||||
# target: /srv/fwuploads/troisdorf/multi/experimental
|
||||
# source: /drone/src/gluon/output/experimental/images/*
|
||||
target: /srv/fwuploads/troisdorf/multi/experimental
|
||||
source: /drone/src/gluon/output/experimental/images/*
|
||||
|
||||
- name: slack
|
||||
image: plugins/slack
|
||||
|
2
gluon
2
gluon
@ -1 +1 @@
|
||||
Subproject commit 447595f0bb0df2e877e8f14fda1ef629ec30265f
|
||||
Subproject commit 43954dd1652b44ed0618c98e44fad05dae3fa25a
|
2
site
2
site
@ -1 +1 @@
|
||||
Subproject commit d5822d6cab692a6a2d392736d3953de7d033fb7f
|
||||
Subproject commit 474b437a3f9235aa89f092e6b771eb13f8d48e3f
|
Loading…
Reference in New Issue
Block a user