forked from Freifunk-Troisdorf/site
tesing next build
This commit is contained in:
parent
96ffb86e6a
commit
be6e7fea21
@ -52,19 +52,23 @@ pipeline:
|
|||||||
- echo "${TARGET}" > gluon/output/${CI_COMMIT_BRANCH}/images/factory/${TARGET}
|
- echo "${TARGET}" > gluon/output/${CI_COMMIT_BRANCH}/images/factory/${TARGET}
|
||||||
- ls -alh gluon/output/${CI_COMMIT_BRANCH}/images/factory
|
- ls -alh gluon/output/${CI_COMMIT_BRANCH}/images/factory
|
||||||
|
|
||||||
publish:
|
upload:
|
||||||
image: woodpeckerci/plugin-gitea-release
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
base_url: https://git.freifunk-rhein-sieg.net
|
host: 46.4.138.183
|
||||||
files:
|
user: fwupload
|
||||||
- gluon/output/next/*
|
key:
|
||||||
api_key:
|
from_secret: ssh-key
|
||||||
from_secret: api_key
|
strip_components: 2
|
||||||
target: next
|
target: /srv/fwuploads-testing/troisdorf/testing/next/
|
||||||
prerelease: true
|
source: gluon/output/next/*
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: push
|
||||||
|
branch: next
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
TARGET:
|
TARGET:
|
||||||
- ramips-mt7621
|
- ramips-mt7621
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- prepare_next
|
@ -20,4 +20,4 @@ pipeline:
|
|||||||
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/experimental
|
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/experimental
|
||||||
when:
|
when:
|
||||||
branch: stable
|
branch: stable
|
||||||
event: tag
|
event: tag
|
20
.woodpecker/prepare_next.yml
Normal file
20
.woodpecker/prepare_next.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
platform: linux/arm64
|
||||||
|
|
||||||
|
skip_clone: true
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
prepare:
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host: 46.4.138.183
|
||||||
|
username: fwupload
|
||||||
|
key:
|
||||||
|
from_secret: ssh-key
|
||||||
|
port: 22
|
||||||
|
command_timeout: 120m
|
||||||
|
script:
|
||||||
|
- rm -rf /srv/fwuploads-testing/troisdorf/testing/*
|
||||||
|
- mkdir -p /srv/fwuploads-testing/troisdorf/testing/
|
||||||
|
when:
|
||||||
|
branch: next
|
Loading…
Reference in New Issue
Block a user