This commit is contained in:
parent
5d75e20e10
commit
412025950a
@ -21,40 +21,50 @@ clone:
|
||||
recursive: true
|
||||
|
||||
pipeline:
|
||||
# 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}
|
||||
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/
|
||||
- mkdir test
|
||||
- touch test/${BRANCH}.test
|
||||
- echo "hallo" > test/${BRANCH}.test
|
||||
- ls -alh
|
||||
- ls -alh output/
|
||||
|
||||
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:
|
||||
image: appleboy/drone-scp
|
||||
@ -64,12 +74,11 @@ pipeline:
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
strip_components: 0
|
||||
target: test/
|
||||
source: test/*
|
||||
target: /srv/fwuploads-testing/troisdorf/multi/${BRANCH}/
|
||||
source: output/${BRANCH}/*
|
||||
|
||||
matrix:
|
||||
TARGET:
|
||||
- ath79-generic
|
||||
- x86-64
|
||||
BRANCH:
|
||||
- stable
|
||||
|
Loading…
Reference in New Issue
Block a user