This commit is contained in:
parent
5d75e20e10
commit
412025950a
@ -21,40 +21,50 @@ 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
|
delete-old-firmware:
|
||||||
- touch test/${BRANCH}.test
|
image: appleboy/drone-ssh
|
||||||
- echo "hallo" > test/${BRANCH}.test
|
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
|
||||||
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user