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} - 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

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