Compare commits
111 Commits
multidomai
...
actions
| Author | SHA1 | Date | |
|---|---|---|---|
| 484f4a2ffd | |||
| b18b58f215 | |||
| 7742d03c4b | |||
| 5c4c35bf84 | |||
| 82fbc93a2f | |||
| 331e529bf4 | |||
| 24281ddf49 | |||
| 7563bf6376 | |||
| a5ce0f3fcc | |||
| f953a2c1dd | |||
| 17df707a6f | |||
| 16c862d69a | |||
| e4c9082440 | |||
| f85893dc1f | |||
| 14e073c983 | |||
| 7bdc5af75f | |||
| 6c45890a45 | |||
| f148e259fd | |||
| 02f7c6b236 | |||
| 5180c10822 | |||
| 8278df5810 | |||
| 52dcd7f4ec | |||
| 4cdbb35af8 | |||
| 0b52f41b84 | |||
| 160c22ebb6 | |||
| ddb1eab51a | |||
| f56269749a | |||
| c5dfb0d437 | |||
| 8f4201ff7f | |||
| 2eb6b51379 | |||
| 57d58bcd61 | |||
| 4753d2e34c | |||
| 412025950a | |||
| 5d75e20e10 | |||
| 35ff97c847 | |||
| b185fe4442 | |||
| 5065a11d50 | |||
| 96bfbdb682 | |||
| 9d0ff76e9a | |||
| ab771b1343 | |||
| 2f55ce1139 | |||
| d7b3982b6d | |||
| 960cbb17bf | |||
| 5e2d75020c | |||
| 3a6778422e | |||
| aca41b527f | |||
| 72ee676826 | |||
| 5ee501d6f6 | |||
| c24cf0928f | |||
| 86fc359b95 | |||
| a7f7305e0c | |||
| 5cef4a8723 | |||
| 3d40af01d0 | |||
| 697b8e9007 | |||
| 56ba792c92 | |||
| b0ba11ce24 | |||
| aa4cdc562e | |||
| 5afb870ac2 | |||
| 8d3d838259 | |||
| 8539d41a91 | |||
| 0b7854a010 | |||
| c247c30a8a | |||
| 25a837bbe6 | |||
| 18e76308a4 | |||
| 70fc34414a | |||
| c30ad89704 | |||
| d2fa211236 | |||
| 8eea5774be | |||
| 8766bcf0bf | |||
| e1eba309b5 | |||
| af9ede2da1 | |||
| df04447353 | |||
| 2e3a9ab866 | |||
| d009311d28 | |||
| 308b2fa01b | |||
| 55a5d3cb52 | |||
| f047448ad6 | |||
| 891cfeebbf | |||
| d7d76e33ea | |||
| 9d7778bc5a | |||
| 11a2098824 | |||
| 9452473bf4 | |||
| 362bfc7c41 | |||
| e78681eebc | |||
| 2a1ab4d265 | |||
| 016a46c024 | |||
| 008a078045 | |||
| b9b693eebd | |||
| e01003282f | |||
| cab302cb28 | |||
| 4685a290ce | |||
| 01d2facbf0 | |||
| a06024976c | |||
| 7513354761 | |||
| d90370899e | |||
| a0833007d3 | |||
| 203b616750 | |||
| 5f27162cef | |||
| 36788cae15 | |||
| 275836d76b | |||
| 3f93bcc357 | |||
| b92e1040de | |||
| ca01dfe2f2 | |||
| b7a1afc99c | |||
| d66bbecbd3 | |||
| d91692e1f5 | |||
| 20e719d96d | |||
| 3383d84174 | |||
| f8ea8a4f8f | |||
| 3d0113ef39 | |||
| aa4a536f8c |
212
.drone.yml
212
.drone.yml
@ -1,212 +0,0 @@
|
||||
global-variables:
|
||||
env: &env
|
||||
image: hoffmannhosting/gluon-builder
|
||||
environment:
|
||||
input_version: v2020.2.2
|
||||
GLUON_SITEDIR: /drone/src/site
|
||||
FORCE_UNSAFE_CONFIGURE: 1
|
||||
|
||||
gluon: &gluon
|
||||
<<: *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
|
||||
|
||||
upload: &upload
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 46.4.138.183
|
||||
user: fwupload
|
||||
key:
|
||||
from_secret: ssh-update
|
||||
strip_components: 6
|
||||
when:
|
||||
branch: multidomain
|
||||
|
||||
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
|
||||
name: gluon-build
|
||||
|
||||
clone:
|
||||
depth: 50
|
||||
|
||||
steps: &steps
|
||||
- name: submodules
|
||||
image: docker:git
|
||||
commands:
|
||||
- git submodule update --recursive --init
|
||||
|
||||
- name: change site to multi
|
||||
image: docker:git
|
||||
commands:
|
||||
- cd site
|
||||
- git checkout multidomain
|
||||
|
||||
- name: make update
|
||||
<<: *env
|
||||
commands:
|
||||
- cd gluon
|
||||
- make update
|
||||
environment:
|
||||
GLUON_TARGET: ar71xx-generic
|
||||
|
||||
- name: patch iw to iw-full
|
||||
<<: *patch
|
||||
|
||||
- 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
|
||||
<<: *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
|
||||
|
||||
- name: backup-old-firmware
|
||||
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/stable
|
||||
- rm -rf /srv/fwuploads/troisdorf/multi/beta
|
||||
- mkdir /srv/fwuploads/troisdorf/multi/stable
|
||||
- mkdir /srv/fwuploads/troisdorf/multi/beta
|
||||
when:
|
||||
branch: multidomain
|
||||
|
||||
- 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/*
|
||||
|
||||
# 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/*
|
||||
|
||||
- name: slack
|
||||
image: plugins/slack
|
||||
settings:
|
||||
webhook:
|
||||
from_secret: slack_webhook
|
||||
channel: fftdf_firmware
|
||||
87
.woodpecker/build.yml
Normal file
87
.woodpecker/build.yml
Normal file
@ -0,0 +1,87 @@
|
||||
---
|
||||
platform: linux/arm64
|
||||
|
||||
variables:
|
||||
- &default
|
||||
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
|
||||
pull: true
|
||||
environment:
|
||||
- input_version=v2022.1.4
|
||||
- GLUON_SITEDIR=../site
|
||||
- FORCE_UNSAFE_CONFIGURE=1
|
||||
- GLUON_TARGET=${TARGET}
|
||||
- GLUON_DEPRECATED=1
|
||||
|
||||
workspace:
|
||||
base: /build
|
||||
|
||||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
settings:
|
||||
recursive: true
|
||||
|
||||
pipeline:
|
||||
make_update:
|
||||
<<: *default
|
||||
commands:
|
||||
- cd gluon
|
||||
- make update
|
||||
|
||||
patch-iw-to-iw-full:
|
||||
<<: *default
|
||||
commands:
|
||||
- sed -i 's/+iw /+iw-full /g' gluon/openwrt/package/kernel/mac80211/Makefile
|
||||
|
||||
build:
|
||||
<<: *default
|
||||
commands:
|
||||
- cd gluon
|
||||
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
|
||||
|
||||
list_images:
|
||||
<<: *default
|
||||
commands:
|
||||
- mkdir -p gluon/output/stable/images/factory
|
||||
- echo "${TARGET}" > gluon/output/stable/images/factory/${TARGET}
|
||||
- ls -alh gluon/output/stable/images/factory
|
||||
|
||||
upload:
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 46.4.138.183
|
||||
user: fwupload
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
strip_components: 2
|
||||
target: /srv/fwuploads-testing/troisdorf/multi/incoming/
|
||||
source: gluon/output/stable/*
|
||||
|
||||
matrix:
|
||||
TARGET:
|
||||
- ath79-generic
|
||||
- ath79-mikrotik
|
||||
- ath79-nand
|
||||
- bcm27xx-bcm2708
|
||||
- bcm27xx-bcm2709
|
||||
- ipq40xx-generic
|
||||
- ipq40xx-mikrotik
|
||||
- ipq806x-generic
|
||||
- lantiq-xrx200
|
||||
- lantiq-xway
|
||||
- mediatek-mt7622
|
||||
- mpc85xx-p1010
|
||||
- mpc85xx-p1020
|
||||
- ramips-mt7620
|
||||
- ramips-mt7621
|
||||
- ramips-mt76x8
|
||||
- realtek-rtl838x
|
||||
- rockchip-armv8
|
||||
- sunxi-cortexa7
|
||||
- x86-64
|
||||
- x86-generic
|
||||
- x86-geode
|
||||
- x86-legacy
|
||||
|
||||
depends_on:
|
||||
- prepare
|
||||
26
.woodpecker/cleanup.yml
Normal file
26
.woodpecker/cleanup.yml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
platform: linux/arm64
|
||||
|
||||
skip_clone: true
|
||||
|
||||
workspace:
|
||||
base: /build
|
||||
|
||||
pipeline:
|
||||
cleanup:
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 46.4.138.183
|
||||
username: fwupload
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
port: 22
|
||||
command_timeout: 120m
|
||||
script:
|
||||
- ls -alh /srv/fwuploads-testing/troisdorf/multi/incoming/stable
|
||||
- rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/
|
||||
- mkdir /srv/fwuploads-testing/troisdorf/multi/stable/
|
||||
- mv /srv/fwuploads-testing/troisdorf/multi/incoming/stable/* /srv/fwuploads-testing/troisdorf/multi/stable/
|
||||
|
||||
depends_on:
|
||||
- build
|
||||
18
.woodpecker/prepare.yml
Normal file
18
.woodpecker/prepare.yml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
platform: linux/arm64
|
||||
|
||||
skip_clone: true
|
||||
|
||||
pipeline:
|
||||
prepare:
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 46.4.138.183
|
||||
username: fwupload
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
port: 22
|
||||
command_timeout: 120m
|
||||
script:
|
||||
- rm -rf /srv/fwuploads-testing/troisdorf/multi/incoming/stable
|
||||
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/incoming/stable
|
||||
2
gluon
2
gluon
@ -1 +1 @@
|
||||
Subproject commit 90d0e33c619cef9e0af928ef4d6477f6c1bdc0de
|
||||
Subproject commit 1c76fcb58b83f5cda02d92b4658df8ccc9687a94
|
||||
2
site
2
site
@ -1 +1 @@
|
||||
Subproject commit 474b437a3f9235aa89f092e6b771eb13f8d48e3f
|
||||
Subproject commit a1bba934878d2317abd3219620a244dd328edca5
|
||||
Loading…
Reference in New Issue
Block a user