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: - ls -alh gluon/output/stable/images/factory delete-old-firmware: image: appleboy/drone-ssh settings: host: 46.4.138.183 username: fwupload key: from_secret: ssh-key port: 22 command_timeout: 120m script: #- ./rsync-backup-multi.sh - rm -rf /srv/fwuploads-testing/troisdorf/multi/stable/ - mkdir /srv/fwuploads-testing/troisdorf/multi/stable/ 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/stable/ source: gluon/output/stable/* matrix: TARGET: - ar71xx-generic - ar71xx-nand - ar71xx-tiny - ath79-generic - brcm2708-bcm2708 - brcm2708-bcm2709 - ipq40xx-generic - ipq806x-generic - lantiq-xrx200 - lantiq-xway - mpc85xx-generic - mpc85xx-p1020 - ramips-mt7620 - ramips-mt7621 - ramips-mt76x8 - ramips-rt305x - x86-64 - x86-generic - x86-geode