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: # make_update:
<<: *default # <<: *default
commands: # commands:
- cd gluon # - cd gluon
- make update # - 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/
patch-iw-to-iw-full: create_file:
<<: *default <<: *default
commands: commands:
- sed -i 's/+iw/+iw-full/g' gluon/openwrt/package/kernel/mac80211/Makefile - touch /test.test
build-${TARGET}: upload:
<<: *default image: appleboy/drone-scp
commands: settings:
- cd gluon host: 46.4.138.183
- make -j$(nproc) GLUON_BRANCH=${BRANCH} GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH} user: fwupload
key:
show-images-${TARGET}: from_secret: ssh-update
<<: *default strip_components: 6
commands: target: /tmp
- ls -alh source: /test.test
- ls -alh output/
- ls -alh gluon/output/
matrix: matrix:
TARGET: TARGET: