b0713268ec2c64eece1627c8f119cdc67a9360e7
[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 BUILD_UTILS="$(dirname ${BUILD_ROOT})/apex/build_utils.py"
18
19
20 rdo_images_uri=${RDO_IMAGES_URI:-http://artifacts.opnfv.org/apex/euphrates/rdo}
21
22 onos_release_uri=https://downloads.onosproject.org/release/
23 onos_release_file=onos-1.8.4.tar.gz
24 onos_jdk_uri=http://artifacts.opnfv.org/apex/colorado
25 onos_ovs_uri=http://artifacts.opnfv.org/apex/colorado
26 onos_ovs_pkg=package_ovs_rpm3.tar.gz
27 if [ -z ${GS_PATHNAME+x} ]; then
28     GS_PATHNAME=/colorado
29 fi
30 dpdk_uri_base=http://artifacts.opnfv.org/ovsnfv/danube
31 dpdk_rpms=(
32 'ovs4opnfv-e8acab14-dpdk-16.11-5.el7.centos.x86_64.rpm'
33 'ovs4opnfv-e8acab14-dpdk-devel-16.11-5.el7.centos.x86_64.rpm'
34 'ovs4opnfv-e8acab14-dpdk-examples-16.11-5.el7.centos.x86_64.rpm'
35 'ovs4opnfv-e8acab14-dpdk-tools-16.11-5.el7.centos.x86_64.rpm'
36 )
37
38 kvmfornfv_uri_base="http://artifacts.opnfv.org/kvmfornfv/danube"
39 kvmfornfv_kernel_rpm="kvmfornfv-4bfeded9-apex-kernel-4.4.50_rt62_centos.x86_64.rpm"
40
41 calipso_uri_base="https://git.opnfv.org/calipso/plain/app/install"
42 calipso_script="calipso-installer.py"
43
44 netvpp_repo="https://github.com/openstack/networking-vpp"
45 netvpp_branch="17.07"
46 netvpp_commit=$(git ls-remote ${netvpp_repo} ${netvpp_branch} | awk '{print substr($1,1,7)}')
47 netvpp_pkg=python-networking-vpp-17.07-1.git${NETVPP_COMMIT}$(rpm -E %dist).noarch.rpm
48
49 gluon_rpm=gluon-0.0.1-1_20170302.noarch.rpm
50
51 nosdn_vpp_rpms=(
52 'https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/vpp/17.07.01-release.x86_64/vpp-17.07.01-release.x86_64.rpm'
53 'https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/vpp-api-python/17.07.01-release.x86_64/vpp-api-python-17.07.01-release.x86_64.rpm'
54 'https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/vpp-lib/17.07.01-release.x86_64/vpp-lib-17.07.01-release.x86_64.rpm'
55 'https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/vpp-plugins/17.07.01-release.x86_64/vpp-plugins-17.07.01-release.x86_64.rpm'
56 )