From c5b91d23c890da903f2eeb075742a886e8241cd0 Mon Sep 17 00:00:00 2001 From: Ruan Bekker Date: Mon, 22 Apr 2019 20:05:10 +0200 Subject: [PATCH] Update README.md --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 52b0de8..216c6fd 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Contents of this page * [SSH Example](#ssh-example) * [SCP Example](#scp-example) * [Rsync Example](#rsync-example) + * [Parallel Builds](#parallel-builds) * [Full Pipeline Examples](#pipeline-examples) ## Drone CLI Setup @@ -393,6 +394,8 @@ Mentioned here: And that your repository is marked as trusted. +Note that this will run on the host where the drone agent is located. + ``` deploy: image: docker @@ -427,6 +430,32 @@ And that your repository is marked as trusted. event: [push] ``` +### Parallel Builds + +Running steps in parallel: + +``` + p1-a: + image: alpine + group: test + environment: + TAGS: foobar + commands: + - sleep 20 + - date + - echo done + + p1-b: + image: alpine + group: test + environment: + TAGS: foobar + commands: + - sleep 20 + - date + - echo done +``` + ### Example Pipelines - [myth/overflow drone pipeline](https://github.com/myth/overflow/blob/master/.drone.yml)