Merge "Adding Quagga to build"
[apex.git] / build / variables.sh
1 #!/bin/sh
2 ##############################################################################
3 # Copyright (c) 2015 Tim Rozet (Red Hat), Dan Radez (Red Hat) and others.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 BUILD_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
12 BUILD_DIR="$(dirname ${BUILD_ROOT})/.build"
13 QUAGGA_RPMS_DIR=${BUILD_DIR}/quagga_build_dir
14 CACHE_DIR="$(dirname ${BUILD_ROOT})/.cache"
15 CACHE_HISTORY=".cache_history"
16 PATCHES_DIR="${BUILD_ROOT}/patches"
17
18 rdo_images_uri=http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean
19 onos_release_uri=https://downloads.onosproject.org/nightly/
20 onos_release_file=onos-1.8.0-rc6.tar.gz
21 onos_jdk_uri=http://artifacts.opnfv.org/apex/colorado
22 onos_ovs_uri=http://artifacts.opnfv.org/apex/colorado
23 onos_ovs_pkg=package_ovs_rpm3.tar.gz
24 if [ -z ${GS_PATHNAME+x} ]; then
25     GS_PATHNAME=/colorado
26 fi
27 dpdk_uri_base=http://artifacts.opnfv.org/ovsnfv$GS_PATHNAME
28 dpdk_rpms=(
29 'ovs4opnfv-e8acab14-dpdk-16.04.0-1.el7.centos.x86_64.rpm'
30 'ovs4opnfv-e8acab14-dpdk-devel-16.04.0-1.el7.centos.x86_64.rpm'
31 'ovs4opnfv-e8acab14-dpdk-examples-16.04.0-1.el7.centos.x86_64.rpm'
32 'ovs4opnfv-e8acab14-dpdk-tools-16.04.0-1.el7.centos.x86_64.rpm'
33 'ovs4opnfv-e8acab14-openvswitch-2.5.90-0.12032.gitc61e93d6.1.el7.centos.x86_64.rpm'
34 )
35
36 tacker_repo="http://github.com/openstack/tacker"
37 tacker_branch="stable/newton"
38 tacker_commit=$(git ls-remote ${tacker_repo} ${tacker_branch} | awk '{print substr($1,1,7)}')
39 tacker_pkg=openstack-tacker-2016.2-1.git${tacker_commit}.noarch.rpm
40
41 tackerclient_repo="http://github.com/openstack/python-tackerclient"
42 tackerclient_branch="stable/newton"
43 tackerclient_commit=$(git ls-remote ${tackerclient_repo} ${tackerclient_branch} | awk '{print substr($1,1,7)}')
44 tackerclient_pkg=python-tackerclient-2016.2-1.git${tackerclient_commit}.noarch.rpm
45
46 congress_repo="http://github.com/openstack/congress"
47 congress_branch="stable/newton"
48 congress_commit=$(git ls-remote ${congress_repo} ${congress_branch} | awk '{print substr($1,1,7)}')
49 congress_pkg=openstack-congress-2016.2-1.git${congress_commit}$(rpm -E %dist).noarch.rpm
50
51 netvpp_repo="https://github.com/openstack/networking-vpp"
52 netvpp_branch="master"
53 netvpp_commit=$(git ls-remote ${netvpp_repo} ${netvpp_branch} | awk '{print substr($1,1,7)}')
54 netvpp_pkg=python-networking-vpp-0.0.1-1.git${NETVPP_COMMIT}$(rpm -E %dist).noarch.rpm