forked from dru-io/Dru.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
48 lines (44 loc) · 1.31 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
pipeline:
restore_cache:
image: drillster/drone-volume-cache
restore: true
ttl: 7
mount:
- /drone/docker
- ./vendor
volumes:
- /tmp/cache:/cache
php:
image: plugins/docker
repo: fortis/druio-php
tags: [ 1, latest ]
dockerfile: docker/php/Dockerfile
storage_path: /drone/docker
secrets: [ docker_username, docker_password ]
nginx:
image: plugins/docker
repo: fortis/druio-nginx
tags: [ 1, latest ]
dockerfile: docker/nginx/Dockerfile
storage_path: /drone/docker
secrets: [ docker_username, docker_password ]
rebuild_cache:
image: drillster/drone-volume-cache
rebuild: true
mount:
- /drone/docker
- ./vendor
volumes:
- /tmp/cache:/cache
telegram:
image: appleboy/drone-telegram
token: 559655423:AAGFHWcS-kgyTRMqNa3ZcOTFvyfZEPJ4a8Y
to: -1001370646921
when:
status: [ success, failure ]
template: >
{{#success build.status}}
*success* `build #{{build.number}}` <{{build.link}}|{{repo.name}}#{{truncate build.commit 8}}> ({{build.branch}}) by {{build.author}}.
{{else}}
*failed* `build #{{build.number}}` <{{build.link}}|{{repo.name}}#{{truncate build.commit 8}}> ({{build.branch}}) by {{build.author}}. Fix me man.
{{/success}}