From 7bdc5af75fc4e819a2051fbc98cbbf465e71c38e Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Tue, 23 May 2023 09:42:20 +0200 Subject: [PATCH] added dependencies --- .woodpecker/build.yml | 3 +++ .woodpecker/prepare.yml | 12 ++++++++++++ .woodpecker/upload.yml | 3 +++ 3 files changed, 18 insertions(+) create mode 100644 .woodpecker/prepare.yml diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 8254d8c..60c9799 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -79,3 +79,6 @@ matrix: # - x86-generic # - x86-geode # - x86-legacy + +depends_on: + - prepare diff --git a/.woodpecker/prepare.yml b/.woodpecker/prepare.yml new file mode 100644 index 0000000..c35c87b --- /dev/null +++ b/.woodpecker/prepare.yml @@ -0,0 +1,12 @@ +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: + - mkdir -p /srv/fwuploads-testing/troisdorf/multi/incoming/stable diff --git a/.woodpecker/upload.yml b/.woodpecker/upload.yml index 7c5f149..5300c55 100644 --- a/.woodpecker/upload.yml +++ b/.woodpecker/upload.yml @@ -17,3 +17,6 @@ pipeline: - mkdir /srv/fwuploads-testing/troisdorf/multi/stable/ - mv /srv/fwuploads-testing/troisdorf/mutli/{incoming/stable/*,stable/} +depends_on: + - upload + - prepare