0.6.0 Cloning Changes

Overview

The clone section is removed from the pipeline and has its own section in the yaml. Please note this change is experimental and the naming could be adjusted in the future.

+clone:
+  git:
+    image: plugins/git
+    depth: 50

pipeline:
- clone:
-   image: plugins/git
-   depth: 50

Please note that if you are using a plugin to cache your git repository you will need to adjust your pipeline configuration accordingly

+clone:
+  from_cache:
+    image: drillster/drone-volume-cache
+    restore: true
+  git:
+    image: plugins/git
+    depth: 50

pipeline:
- restore-cache:
-   image: drillster/drone-volume-cache
-   restore: true

- clone:
-   image: plugins/git
-   depth: 50

Is there a mistake on this page? Please let us know or edit this page.