Update README.md
This commit is contained in:
parent
42d5e2ad57
commit
c5b91d23c8
1 changed files with 29 additions and 0 deletions
29
README.md
29
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)
|
||||
|
|
Loading…
Reference in a new issue