This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.drone.yml
100 lines (91 loc) · 2.15 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
platform: linux/amd64
clone:
default:
image: plugins/git
pipeline:
# bazelTest:
# group: test
# pull: true
# image: build.es.uni-due.de/bazel
# secrets:
# - docker_username
# - docker_password
# commands:
# - ln -s /user.bazelrc user.bazelrc
# - bazel test test:all --copt="-DDEBUG=0" --config=native
# when:
# event: [push, pull_request, tag]
# #branch: [drone]
# privileged: true
bazelBuild:
group: build
pull: true
image: build.es.uni-due.de/bazel
secrets:
- docker_username
- docker_password
commands:
- OUTPUT_DIR=/build/ buildAll ${DRONE_REPO_NAME}
environment:
- DRONE_REPO_NAME=${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]
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: [push, pull_request, tag]
# branch: [develop]
# volumes:
# #- /:/doxy
# - /html:/html
# - /latex:/latex
notify:
image: drillster/drone-email
host: mailout.uni-due.de
port: 465
username: adf694g
secrets:
- email_password
from: [email protected]
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