From 2c16a309411a00e3ca879edc7cd859219ca1f5e7 Mon Sep 17 00:00:00 2001 From: dfunnell Date: Thu, 23 Sep 2021 03:07:41 -0400 Subject: [PATCH] Add basic pipeline --- .drone.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c76b160 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +kind: pipeline +name: basic-example +type: docker + +clone: + disable: true + +steps: +- name: skip_tls_clone + image: plugins/git + settings: + depth: 10 + skip_verify: true + +- name: test + image: busybox + commands: + - echo "this is a dummy test step" + +- name: build + image: busybox + commands: + - echo "this is a dummy build step" + - echo "dummy artifact" > /tmp/runtime-volume/data.txt + volumes: + - name: runtime-volume + path: /tmp/runtime-volume + +- name: deploy + image: busybox + commands: + - echo "this is a dummy deploy step" + - cat /tmp/runtime-volume/data.txt + volumes: + - name: runtime-volume + path: /tmp/runtime-volume + +volumes: + - name: runtime-volume + temp: {} \ No newline at end of file