Updates documentation for Fraser release
[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 # Run virt-customize commands with a guest memory of 4G to avoid
20 # oom issues on some of the larger build steps
21 VIRT_CUSTOMIZE="virt-customize -m 4096"
22
23 rdo_images_uri=${RDO_IMAGES_URI:-https://images.rdoproject.org/pike/delorean/current-tripleo}
24
25 onos_release_uri=https://downloads.onosproject.org/release/
26 onos_release_file=onos-1.8.4.tar.gz
27 onos_jdk_uri=http://artifacts.opnfv.org/apex/colorado
28 onos_ovs_uri=http://artifacts.opnfv.org/apex/colorado
29 onos_ovs_pkg=package_ovs_rpm3.tar.gz
30 if [ -z ${GS_PATHNAME+x} ]; then
31     GS_PATHNAME=/colorado
32 fi
33 dpdk_uri_base=http://artifacts.opnfv.org/ovsnfv/danube
34 dpdk_rpms=(
35 'ovs4opnfv-e8acab14-dpdk-16.11-5.el7.centos.x86_64.rpm'
36 'ovs4opnfv-e8acab14-dpdk-devel-16.11-5.el7.centos.x86_64.rpm'
37 'ovs4opnfv-e8acab14-dpdk-examples-16.11-5.el7.centos.x86_64.rpm'
38 'ovs4opnfv-e8acab14-dpdk-tools-16.11-5.el7.centos.x86_64.rpm'
39 )
40
41 kvmfornfv_uri_base="http://artifacts.opnfv.org/kvmfornfv/danube"
42 kvmfornfv_kernel_rpm="kvmfornfv-4bfeded9-apex-kernel-4.4.50_rt62_centos.x86_64.rpm"
43
44 calipso_uri_base="https://git.opnfv.org/calipso/plain/app/install"
45 calipso_script="calipso-installer.py"
46
47 #netvpp_repo="https://github.com/openstack/networking-vpp"
48 netvpp_repo="https://github.com/fepan/networking-vpp"
49 netvpp_branch="test-fdio-fix"
50 netvpp_commit=$(git ls-remote ${netvpp_repo} ${netvpp_branch} | awk '{print substr($1,1,7)}')
51 netvpp_pkg=python-networking-vpp-18.04-1.git${NETVPP_COMMIT}$(rpm -E %dist).noarch.rpm
52
53 gluon_rpm=gluon-0.0.1-1_20170302.noarch.rpm
54
55 nosdn_vpp_rpms=(
56 'https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/vpp/18.01.1-release.x86_64/vpp-18.01.1-release.x86_64.rpm'
57 'https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/vpp-plugins/18.01.1-release.x86_64/vpp-plugins-18.01.1-release.x86_64.rpm'
58 'https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/vpp-lib/18.01.1-release.x86_64/vpp-lib-18.01.1-release.x86_64.rpm'
59 'https://nexus.fd.io/content/repositories/fd.io.centos7/io/fd/vpp/vpp-api-python/18.01.1-release.x86_64/vpp-api-python-18.01.1-release.x86_64.rpm'
60 )