forked from telstra/open-kilda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
64 lines (61 loc) · 2.27 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
64
image: maven:3-jdk-8
pipelines:
default:
- step:
script:
- echo "Ignore builds for random branches"
branches:
dev*:
- step:
caches:
- maven
script:
- echo "this is a DEV branch"
- base/hacks/ensure.buildtools.sh # ensure make and other build stuff is available
- make unit
mvp1rc:
- step:
caches:
- maven
script:
- echo "this is the MVP1RC branch"
- apt-get update
- apt-get install -y --no-install-recommends apt-utils
- apt-get install -y make patch rsync
- make -C services/src/projectfloodlight # several modules depend on this
- mvn -f services/src install # install the parent pom
- mvn -f services/wfm assembly:assembly # test WFM
# - pip install -r bitbucket-python-pipeline-requirements.txt
rc:
- step:
caches:
- maven
script:
- echo "this is the RC branch"
# - apt-get update && apt-get install -y apt-utils software-properties-common python-software-properties
# - git submodule update --init --recursive
# - add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu yakkety main"
# - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
# - apt-get update
# - echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
# - apt-get install -y oracle-java8-installer
# - export JAVA_VER=8
# - export JAVA_HOME=/usr/lib/jvm/java-8-oracle
# - apt-get install -y maven python python-pip
# - pip install --upgrade pip
# - pip install -r bitbucket-python-pipeline-requirements.txt
# - make build-base
# - make build-latest
#- make build-base
#- git fetch
#- git checkout -b master
#- git merge rc
#- git push -v --tags origin master:master
master:
- step:
caches:
- maven
script:
- echo "this is the master branch"
options:
docker: true