]> git.mxchange.org Git - friendica.git/commitdiff
Replace Drone with Woodpecker
authorPhilipp <admin@philipp.info>
Thu, 30 Dec 2021 13:04:10 +0000 (14:04 +0100)
committerPhilipp <admin@philipp.info>
Thu, 30 Dec 2021 13:04:10 +0000 (14:04 +0100)
.woodpecker/.continuous-deployment.yml
.woodpecker/.releaser.yml

index e2642f1fec25960b2df3b3b9c966b46a94778991..69886557e323850ed01cee05f00f12d812924305 100644 (file)
@@ -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:
index de0d6ba0e5498436c9a4797f026c9166a05b7435..da4dc5b2c3767826a27013e5ef7b49f04814d019 100644 (file)
@@ -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: