forked from kaspernissen/docs.humio.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
54 lines (49 loc) · 1.09 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
49
50
51
52
53
54
pipeline:
make:
image: golang
commands:
- make clean deps
hugo:
image: plugins/hugo
validate: true
docker-build-master:
image: plugins/docker
secrets: [ docker_username, docker_password ]
repo: humio/docs
tags:
- latest
- ${DRONE_BRANCH}-${DRONE_BUILD_NUMBER}
when:
branch: master
docker-build-preview:
image: plugins/docker
secrets: [ docker_username, docker_password ]
repo: humio/docs
tags:
- ${DRONE_BRANCH/\//-}-${DRONE_BUILD_NUMBER}
when:
branch: master
deploy-master:
image: e20co/drone-marathon
server: http://marathon.mesos:8080
marathonfile: marathon.json
environment:
- MARATHON_ID=docs
values:
- marathon_id
- drone_branch
- drone_build_number
when:
branch: master
deploy-preview:
image: e20co/drone-marathon
server: http://marathon.mesos:8080
marathonfile: marathon.json
environment:
- MARATHON_ID=docs-preview
values:
- marathon_id
- drone_branch
- drone_build_number
when:
branch: preview