tesing next build

This commit is contained in:
Stefan Hoffmann 2023-05-25 21:12:17 +02:00
parent 96ffb86e6a
commit be6e7fea21
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD
3 changed files with 36 additions and 12 deletions

View File

@ -52,19 +52,23 @@ pipeline:
- echo "${TARGET}" > gluon/output/${CI_COMMIT_BRANCH}/images/factory/${TARGET}
- ls -alh gluon/output/${CI_COMMIT_BRANCH}/images/factory
publish:
image: woodpeckerci/plugin-gitea-release
upload:
image: appleboy/drone-scp
settings:
base_url: https://git.freifunk-rhein-sieg.net
files:
- gluon/output/next/*
api_key:
from_secret: api_key
target: next
prerelease: true
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-key
strip_components: 2
target: /srv/fwuploads-testing/troisdorf/testing/next/
source: gluon/output/next/*
when:
event: tag
event: push
branch: next
matrix:
TARGET:
- ramips-mt7621
- ramips-mt7621
depends_on:
- prepare_next

View File

@ -20,4 +20,4 @@ pipeline:
- mkdir -p /srv/fwuploads-testing/troisdorf/multi/next/experimental
when:
branch: stable
event: tag
event: tag

View 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