Compare commits

..

No commits in common. "16c862d69a0158cab8a655401a08e8fa5c9923a8" and "f85893dc1f6f649cc62185c0ea19c74e380e0b6b" have entirely different histories.

4 changed files with 85 additions and 85 deletions

View File

@ -1,84 +0,0 @@
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-${TARGET}:
<<: *default
commands:
- cd gluon
- make -j10 GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
show-images-${TARGET}:
<<: *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

84
.woodpecker/build.yml Normal file
View File

@ -0,0 +1,84 @@
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-${TARGET}:
# <<: *default
# commands:
# - cd gluon
# - make -j10 GLUON_AUTOUPDATER_BRANCH=stable GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-stable GLUON_OUTPUTDIR=output/stable
show-images-${TARGET}:
<<: *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: 0
target: /srv/fwuploads-testing/troisdorf/multi/incoming/stable
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

View File

@ -2,7 +2,7 @@ workspace:
base: /build base: /build
pipeline: pipeline:
cleanup: delete-old_move-new-firmware:
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: 46.4.138.183 host: 46.4.138.183