This commit is contained in:
Stefan Hoffmann 2023-05-21 12:50:15 +02:00
parent 5cef4a8723
commit a7f7305e0c
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD

View File

@ -21,37 +21,53 @@ clone:
recursive: true recursive: true
pipeline: pipeline:
site-multidomain: # site-multidomain:
image: docker:git # image: docker:git
commands: # commands:
- cd site # - cd site
- git checkout 2022.x-multidomain # - git checkout 2022.x-multidomain
when: # when:
hostname: c02.fftdf.de # hostname: c02.fftdf.de
#
# 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 -j$(nproc) GLUON_BRANCH=${BRANCH} GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
#
# show-images-${TARGET}:
# <<: *default
# commands:
# - ls -alh
# - ls -alh output/
# - ls -alh gluon/output/
make_update: create_file:
<<: *default <<: *default
commands: commands:
- cd gluon - touch /test.test
- make update
patch-iw-to-iw-full: upload:
<<: *default image: appleboy/drone-scp
commands: settings:
- sed -i 's/+iw/+iw-full/g' gluon/openwrt/package/kernel/mac80211/Makefile host: 46.4.138.183
user: fwupload
build-${TARGET}: key:
<<: *default from_secret: ssh-update
commands: strip_components: 6
- cd gluon target: /tmp
- make -j$(nproc) GLUON_BRANCH=${BRANCH} GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH} source: /test.test
show-images-${TARGET}:
<<: *default
commands:
- ls -alh
- ls -alh output/
- ls -alh gluon/output/
matrix: matrix:
TARGET: TARGET: