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
pipeline:
site-multidomain:
image: docker:git
commands:
- cd site
- git checkout 2022.x-multidomain
when:
hostname: c02.fftdf.de
# 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/+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
commands:
- cd gluon
- make update
- touch /test.test
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/
upload:
image: appleboy/drone-scp
settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-update
strip_components: 6
target: /tmp
source: /test.test
matrix:
TARGET: