forked from apl-ocean-engineering/liboculus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
84 lines (75 loc) · 2.08 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
kind: pipeline
type: docker
name: build
platform:
os: linux
arch: amd64
steps:
## Run the fips "debug unittest" config
- name: build-fips-unittest
image: amarburg/lsdslam-dev-host:latest
commands:
- ./fips set config linux-make-unittest
- ./fips build
## Run the fips "release unittest" config
- name: build-fips-release
image: amarburg/lsdslam-dev-host:latest
commands:
- ./fips set config linux-make-release-unittest
- ./fips build
## Build with ROS melodic
# - name: build-ros-melodic
# image: amarburg/drone-ci-ros-melodic:latest
# commands:
# - wget -O- https://gitlab.com/amarburg/ros_drone_ci/-/raw/master/bootstrap.sh | /bin/bash
# environment:
# ROS_PACKAGES_TO_INSTALL: cv-bridge image-transport opencv-apps
# WSTOOL_RECURSIVE: true
## Build with ROS noetic
- name: build-ros-noetic
image: amarburg/drone-ci-ros-noetic:latest
commands:
- wget -O- https://gitlab.com/amarburg/ros_drone_ci/-/raw/master/bootstrap.sh | /bin/bash
environment:
ROS_PACKAGES_TO_INSTALL: cv-bridge image-transport opencv-apps
WSTOOL_RECURSIVE: true
## On success, trigger a rebuild of oculus_sonar_ros at gitlab
- name: trigger-gitlab-downstream
image: plugins/downstream
settings:
server: https://gitlab.drone.camhd.science
fork: true
token:
from_secret: gitlab_ci_token
repositories:
- apl-ocean-engineering/oculus_sonar_driver
when:
event:
exclude:
- pull_request
## ... and all of the serdp_* packages at github
# - name: trigger-github-downstream
# image: plugins/downstream
# settings:
# server: https://github.drone.camhd.science
# fork: true
# token:
# from_secret: github_drone_token
# repositories:
# - apl-ocean-engineering/serdp_recorder
# - apl-ocean-engineering/serdp_player
# - apl-ocean-engineering/serdp_common
# when:
# event:
# exclude:
# - pull_request
- name: slack
image: plugins/slack
settings:
webhook:
from_secret: slack_webhook
when:
status: [ success, failure ]
event:
exclude:
- pull_request