forked from Kinovarobotics/ros2_kortex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
63 lines (61 loc) · 2.32 KB
/
bitbucket-pipelines.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
image: docker:git
pipelines:
pull-requests:
'**':
- step:
name: Formatting (pre-commit) (PR)
services:
- docker
script:
- apk add --update py3-pip gcc python3 python3-dev musl-dev clang
- pip3 install pre-commit
- pre-commit run -a
- step:
name: Industrial CI (PR)
services:
- docker
script:
- apk add --update bash coreutils tar
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci .industrial_ci -b master
- .industrial_ci/bitbucket.sh ROS_DISTRO=foxy DOCKER_IMAGE=moveit/moveit2:foxy-source BEFORE_INSTALL_TARGET_DEPENDENCIES_EMBED="set +u && source ~/ws_moveit/install/setup.bash && set - u"
branches:
"master":
- step:
name: Formatting (pre-commit) (Master)
services:
- docker
script:
- apk add --update py3-pip gcc python3 python3-dev musl-dev clang
- pip3 install pre-commit
- pre-commit run -a
- step:
name: Industrial CI (Master)
services:
- docker
script:
- apk add --update bash coreutils tar
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci .industrial_ci -b master
- .industrial_ci/bitbucket.sh ROS_DISTRO=foxy DOCKER_IMAGE=moveit/moveit2:foxy-source BEFORE_INSTALL_TARGET_DEPENDENCIES_EMBED="set +u && source ~/ws_moveit/install/setup.bash && set - u"
custom:
"Build and Test":
- step:
name: Industrial CI (Manual Trigger)
services:
- docker
script:
- apk add --update bash coreutils tar
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci .industrial_ci -b master
- .industrial_ci/bitbucket.sh ROS_DISTRO=foxy DOCKER_IMAGE=moveit/moveit2:foxy-source BEFORE_INSTALL_TARGET_DEPENDENCIES_EMBED="set +u && source ~/ws_moveit/install/setup.bash && set - u"
"Formatting (pre-commit) (Manual Trigger)":
- step:
name: Formatting (pre-commit)
services:
- docker
script:
- apk add --update py3-pip gcc python3 python3-dev musl-dev clang
- pip3 install pre-commit
- pre-commit run -a
definitions:
services:
docker:
memory: 2048