2023-05-23 07:14:33 +00:00
|
|
|
workspace:
|
|
|
|
base: /build
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
show-images-${TARGET}:
|
|
|
|
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
|
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- ls -alh gluon/output/stable/images/factory
|
|
|
|
|
2023-05-23 07:29:33 +00:00
|
|
|
delete-old_move-new-firmware:
|
2023-05-23 07:14:33 +00:00
|
|
|
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/multi/stable/
|
|
|
|
- mkdir /srv/fwuploads-testing/troisdorf/multi/stable/
|
2023-05-23 07:29:33 +00:00
|
|
|
- mv /srv/fwuploads-testing/troisdorf/mutli/{incoming/stable/*,stable/}
|
2023-05-23 07:14:33 +00:00
|
|
|
|