more stuff

This commit is contained in:
Nils Stinnesbeck 2023-06-05 20:38:19 +02:00
parent 1ce75f03ca
commit bc76eea0b1
Signed by: nils
GPG Key ID: C52E07422A136076
4 changed files with 2 additions and 75 deletions

View File

@ -1,6 +1,4 @@
---
platform: linux/arm64
variables:
- &default
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
@ -39,19 +37,6 @@ pipeline:
- cd gluon
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${BRANCH} GLUON_OUTPUTDIR=output/${BRANCH}
upload:
image: appleboy/drone-scp
settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-key
strip_components: 2
target: /srv/fwuploads-tmp/troisdorf/multi/
source: gluon/output/${BRANCH}/*
when:
event: tag
matrix:
TARGET:
- ath79-generic
@ -83,4 +68,4 @@ matrix:
- experimental
depends_on:
- prepare
- prepare

View File

@ -1,6 +1,4 @@
---
platform: linux/arm64
variables:
- &default
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
@ -52,23 +50,9 @@ pipeline:
- echo "${TARGET}" > gluon/output/${CI_COMMIT_BRANCH}/images/factory/${TARGET}
- ls -alh gluon/output/${CI_COMMIT_BRANCH}/images/factory
upload:
image: appleboy/drone-scp
settings:
host: 46.4.138.183
user: fwupload
key:
from_secret: ssh-key
strip_components: 2
target: /srv/fwuploads-tmp/troisdorf/testing/
source: gluon/output/next/*
when:
event: push
branch: next
matrix:
TARGET:
- ramips-mt7621
depends_on:
- prepare_next
- prepare_next

View File

@ -1,22 +0,0 @@
---
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-tmp/troisdorf/multi/*
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/stable
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/beta
- mkdir -p /srv/fwuploads-tmp/troisdorf/multi/experimental
when:
event: tag

View File

@ -1,20 +0,0 @@
---
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-tmp/troisdorf/testing/*
- mkdir -p /srv/fwuploads-tmp/troisdorf/testing/
when:
branch: next