forked from KITmedical/kacanopen
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbitbucket-pipelines.yml
41 lines (39 loc) · 1.17 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
aliases:
- &build_and_test
name: Build and test in Kinetic
image: osrf/ros:kinetic-desktop-full-xenial
script:
- apt update -y
- apt install git ssh -y
- git clone [email protected]:blue-ocean-robotics/bitbucket-ros.git
- source $BITBUCKET_CLONE_DIR/bitbucket-ros/prepare-workspace.bash
- source $BITBUCKET_CLONE_DIR/bitbucket-ros/build.bash
- source $BITBUCKET_CLONE_DIR/bitbucket-ros/test.bash
- source $BITBUCKET_CLONE_DIR/bitbucket-ros/copy-tests.bash
- &deploy
name: Deploy to xenial production
image: osrf/ros:kinetic-desktop-full-xenial
deployment: production
artifacts:
- "*.deb"
- "*.changes"
- "*.build"
script:
- apt update -y
- apt install git ssh -y
- git clone [email protected]:blue-ocean-robotics/bitbucket-ros.git
- source $BITBUCKET_CLONE_DIR/bitbucket-ros/binarize.bash
- source $BITBUCKET_CLONE_DIR/bitbucket-ros/upload-bor.bash
pipelines:
default:
- step:
<<: *build_and_test
- step:
<<: *deploy
trigger: manual
tags:
'*':
- step:
<<: *build_and_test
- step:
<<: *deploy