aboutsummaryrefslogtreecommitdiffstats
path: root/build/config.mk
blob: 5448c5eb4ec6f6ad3e022c7321942c67a3aead21 (plain)
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
65
66
67
68
69
70
71
72
##############################################################################
# Copyright (c) 2015,2016 Ericsson AB and others.
# stefan.k.berg@ericsson.com
# jonas.bjurel@ericsson.com
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

# This tag is NOT checked out, it only serves a cosmetic purpose of hinting
# what upstream Fuel components our submodules are bound to (while tracking
# remotes, ALL submodules will point to remote branch HEAD).
# NOTE: Pinning fuel-main or other submodules to a specific commit/tag is
# done ONLY via git submodules.
FUEL_MAIN_TAG = master
MOS_VERSION   = 10.0
OPENSTACK_VERSION = newton-10.0

# List of space-separated Ubuntu architectures supported with current build
# Format: same as `dpkg-architecture -qDEB_HOST_ARCH`
# NOTE: Currently only amd64 is supported by Fuel@OPNFV. Armband adds arm64.
export UBUNTU_ARCH ?= amd64

##############################################################################
# Fuel components pinning / remote tracking; use submodules from f_repos
##############################################################################

# git submodule & patch locations for Fuel components
F_GIT_ROOT   := $(shell git rev-parse --show-toplevel)
F_GIT_DIR    := $(shell git rev-parse --git-dir)
F_SUBMOD_DIR := ${F_GIT_ROOT}/build/f_repos/sub
F_PATCH_DIR  := ${F_GIT_ROOT}/build/f_repos/patch
F_OPNFV_TAG  := ${FUEL_MAIN_TAG}-opnfv

# fuel-main repo location used by main Makefile ISO building, use submodule
FUEL_MAIN_REPO := ${F_SUBMOD_DIR}/fuel-main


export FUELLIB_REPO?=${F_SUBMOD_DIR}/fuel-library
export NAILGUN_REPO?=${F_SUBMOD_DIR}/fuel-web
export PYTHON_FUELCLIENT_REPO?=${F_SUBMOD_DIR}/python-fuelclient
export FUEL_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-agent
export FUEL_NAILGUN_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-nailgun-agent
export ASTUTE_REPO?=${F_SUBMOD_DIR}/fuel-astute
export OSTF_REPO?=${F_SUBMOD_DIR}/fuel-ostf
export FUELMENU_REPO?=${F_SUBMOD_DIR}/fuel-menu
export SHOTGUN_REPO?=${F_SUBMOD_DIR}/shotgun
export NETWORKCHECKER_REPO?=${F_SUBMOD_DIR}/network-checker
export FUEL_UI_REPO?=${F_SUBMOD_DIR}/fuel-ui

# OPNFV tags are automatically applied by `make -C f_repos patches-import`
export FUELLIB_COMMIT?=${F_OPNFV_TAG}
export NAILGUN_COMMIT?=${F_OPNFV_TAG}
export PYTHON_FUELCLIENT_COMMIT?=${F_OPNFV_TAG}
export FUEL_AGENT_COMMIT?=${F_OPNFV_TAG}
export FUEL_NAILGUN_AGENT_COMMIT?=${F_OPNFV_TAG}
export ASTUTE_COMMIT?=${F_OPNFV_TAG}
export OSTF_COMMIT?=${F_OPNFV_TAG}
export FUEL_MIRROR_COMMIT?=${F_OPNFV_TAG}
export FUELMENU_COMMIT?=${F_OPNFV_TAG}
export SHOTGUN_COMMIT?=${F_OPNFV_TAG}
export NETWORKCHECKER_COMMIT?=${F_OPNFV_TAG}
export FUELUPGRADE_COMMIT?=${F_OPNFV_TAG}
export FUEL_UI_COMMIT?=${F_OPNFV_TAG}

# for the patches applying purposes (empty git config in docker build container)
export GIT_COMMITTER_NAME?=Fuel OPNFV
export GIT_COMMITTER_EMAIL?=fuel@opnfv.org

DOCKER_REPO := http://get.docker.com/builds/Linux/x86_64
DOCKER_TAG := docker-latest