Testing Upload to FW Server
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Stefan Hoffmann 2023-05-21 19:22:58 +02:00
parent 5d75e20e10
commit 412025950a
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD

View File

@ -21,41 +21,51 @@ 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: patch-iw-to-iw-full:
# <<: *default <<: *default
# commands: commands:
# - sed -i 's/+iw/+iw-full/g' gluon/openwrt/package/kernel/mac80211/Makefile - sed -i 's/+iw/+iw-full/g' gluon/openwrt/package/kernel/mac80211/Makefile
#
# build-${TARGET}: build-${TARGET}:
# <<: *default <<: *default
# commands: commands:
# - cd gluon - cd gluon
# - make -j$(nproc) GLUON_BRANCH=${BRANCH} GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH} - make -j$(nproc) GLUON_BRANCH=${BRANCH} GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
show-images-${TARGET}: show-images-${TARGET}:
<<: *default <<: *default
commands: commands:
#- ls -alh - ls -alh
#- ls -alh output/ - ls -alh output/
#- ls -alh gluon/output/
- mkdir test
- touch test/${BRANCH}.test
- echo "hallo" > test/${BRANCH}.test
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: upload:
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
@ -64,12 +74,11 @@ pipeline:
key: key:
from_secret: ssh-key from_secret: ssh-key
strip_components: 0 strip_components: 0
target: test/ target: /srv/fwuploads-testing/troisdorf/multi/${BRANCH}/
source: test/* source: output/${BRANCH}/*
matrix: matrix:
TARGET: TARGET:
- ath79-generic
- x86-64 - x86-64
BRANCH: BRANCH:
- stable - stable