more stuff
This commit is contained in:
parent
1ce75f03ca
commit
bc76eea0b1
@ -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
|
||||
|
@ -1,6 +1,4 @@
|
||||
---
|
||||
platform: linux/arm64
|
||||
|
||||
variables:
|
||||
- &default
|
||||
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
|
||||
@ -52,20 +50,6 @@ 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
|
||||
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user