From 8a25e7a35197256e1f2fee8674181836d7edfcd3 Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 30 Dec 2021 14:04:10 +0100 Subject: [PATCH] Replace Drone with Woodpecker --- .woodpecker/.continuous-deployment.yml | 13 +++++++++++++ .woodpecker/.releaser.yml | 15 +++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/.woodpecker/.continuous-deployment.yml b/.woodpecker/.continuous-deployment.yml index e2642f1fec..69886557e3 100644 --- a/.woodpecker/.continuous-deployment.yml +++ b/.woodpecker/.continuous-deployment.yml @@ -11,7 +11,20 @@ depends_on: platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca +skip_clone: true + pipeline: + clone: + image: alpine/git + commands: + - git clone $CI_REPO_LINK . + - git checkout $CI_COMMIT_BRANCH + - git fetch origin $CI_COMMIT_REF + - git merge $CI_COMMIT_SHA + when: + repo: friendica/friendica + branch: [ develop, '*-rc' ] + event: push restore_cache: image: meltwater/drone-cache:dev settings: diff --git a/.woodpecker/.releaser.yml b/.woodpecker/.releaser.yml index de0d6ba0e5..da4dc5b2c3 100644 --- a/.woodpecker/.releaser.yml +++ b/.woodpecker/.releaser.yml @@ -9,7 +9,20 @@ depends_on: platform: releaser/release # This prevents executing this pipeline at other servers than ci.friendi.ca +skip_clone: true + pipeline: + clone: + image: alpine/git + commands: + - git clone $CI_REPO_LINK . + - git checkout $CI_COMMIT_BRANCH + - git fetch origin $CI_COMMIT_REF + - git merge $CI_COMMIT_SHA + when: + repo: friendica/friendica + branch: stable + event: tag restore_cache: image: meltwater/drone-cache:dev settings: @@ -35,6 +48,8 @@ pipeline: repo: friendica/friendica branch: stable event: tag + volumes: + - /etc/hosts:/etc/hosts create_artifacts: image: debian commands: