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 when: hostname: c02.fftdf.de workspace: base: /build clone: git: image: woodpeckerci/plugin-git settings: recursive: true pipeline: site-multidomain: image: docker:git commands: - cd site - git checkout 2022.x-multidomain when: hostname: c02.fftdf.de make_update: <<: *default commands: - cd gluon - make update patch-iw-to-iw-full: <<: *default commands: - sed -i 's/\b\+iw\b/+iw-full/g' gluon/openwrt/package/kernel/mac80211/Makefile build-${TARGET}: <<: *default commands: - cd gluon - make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH} #- make -j1 V=s GLUON_AUTOUPDATER_BRANCH=${BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH} 2>&1 | tee make.log send_logs: 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/${BRANCH}/logs/ source: gluon/make.log when: status: failure show-images-${TARGET}: <<: *default commands: - ls -alh - ls -alh output/ 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/${BRANCH}/ - mkdir /srv/fwuploads-testing/troisdorf/multi/${BRANCH}/ 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/${BRANCH}/ source: output/${BRANCH}/* matrix: TARGET: - ath79-generic BRANCH: - stable