This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
101 lines (92 loc) · 2.07 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
platform: linux/amd64
clone:
default:
image: plugins/git
# when:
# branch: droneTesting
pipeline:
bazelTest:
group: test
pull: true
image: build.es.uni-due.de/bazel
secrets:
- docker_username
- docker_password
commands:
- bazel test test:all --remote_http_cache=http://build.es.uni-due.de:9090
when:
event: [push, pull_request, tag]
#branch: [drone]
privileged: true
# volumes:
# - /build/:/build/
bazelBuild:
group: build
pull: true
image: build.es.uni-due.de/bazel
secrets:
- docker_username
- docker_password
commands:
- OUTPUT_DIR=/build/ bash buildAll.sh ${DRONE_REPO_NAME}
when:
event: [push, pull_request, tag]
#branch: [drone]
privileged: true
volumes:
- /build/:/build/
bazelPublish:
pull: true
group: deploy
image: build.es.uni-due.de/bazel-artifactory-push:latest
secrets:
- docker_username
- docker_password
- artifactory
- artifactory_password
when:
event: [tag]
# branch: develop
privileged: true
volumes:
- /build/:/build/
doxygen:
pull: true
image: build.es.uni-due.de/doxygen
group: deploy
secrets:
- confluence_password
- confluence_doc_key
commands:
- doxygen doc/doxy.conf
- mkdir -p build/reports/
- zip -r build/reports/javadoc.jar html
- python /usr/share/pushJavadoc.py
secrets:
- docker_username
- docker_password
when:
event: [tag]
# branch: [develop]
volumes:
- /html:/html
- /latex:/latex
notify:
image: drillster/drone-email
host: mailout.uni-due.de
port: 465
username: adf694g
secrets:
- email_password
from: es-admin@uni-due.de
when:
status: [ changed, failure ]
hipchat:
image: jmccann/drone-hipchat
room: ${DRONE_REPO_NAME}
url: https://hipchat.es.uni-due.de
notify: false
secrets: [ hipchat_auth_token ]
when:
status: [ failure, success ]
# branch: droneTesting