build/f_repos: Allow out-of-tree .git dir
[fuel.git] / build / config.mk
1 ##############################################################################
2 # Copyright (c) 2015,2016 Ericsson AB and others.
3 # stefan.k.berg@ericsson.com
4 # jonas.bjurel@ericsson.com
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 # fuel-main tag checked out from upstream `fuel-main` repo before patching it
12 FUEL_MAIN_TAG = 9.0.1
13 MOS_VERSION   = 9.0
14 OPENSTACK_VERSION = mitaka-9.0
15
16 # FIXME(alav): Disable remote tracking for now, stick to submodule commits
17 FUEL_TRACK_REMOTES =
18
19 ##############################################################################
20 # Fuel components pinning / remote tracking; use submodules from f_repos
21 ##############################################################################
22
23 # git submodule & patch locations for Fuel components
24 F_GIT_ROOT   := $(shell git rev-parse --show-toplevel)
25 F_GIT_DIR    := $(shell git rev-parse --git-dir)
26 F_SUBMOD_DIR := ${F_GIT_ROOT}/build/f_repos/sub
27 F_PATCH_DIR  := ${F_GIT_ROOT}/build/f_repos/patch
28 F_OPNFV_TAG  := ${FUEL_MAIN_TAG}-opnfv
29
30 # fuel-main repo location used by main Makefile ISO building, use submodule
31 FUEL_MAIN_REPO := ${F_SUBMOD_DIR}/fuel-main
32
33 export FUELLIB_REPO?=${F_SUBMOD_DIR}/fuel-library
34 export NAILGUN_REPO?=${F_SUBMOD_DIR}/fuel-web
35 export PYTHON_FUELCLIENT_REPO?=${F_SUBMOD_DIR}/python-fuelclient
36 export FUEL_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-agent
37 export FUEL_NAILGUN_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-nailgun-agent
38 export ASTUTE_REPO?=${F_SUBMOD_DIR}/fuel-astute
39 export OSTF_REPO?=${F_SUBMOD_DIR}/fuel-ostf
40 export FUEL_MIRROR_REPO?=${F_SUBMOD_DIR}/fuel-mirror
41 export FUELMENU_REPO?=${F_SUBMOD_DIR}/fuel-menu
42 export SHOTGUN_REPO?=${F_SUBMOD_DIR}/shotgun
43 export NETWORKCHECKER_REPO?=${F_SUBMOD_DIR}/network-checker
44 export FUELUPGRADE_REPO?=${F_SUBMOD_DIR}/fuel-upgrade
45 export FUEL_UI_REPO?=${F_SUBMOD_DIR}/fuel-ui
46
47 # OPNFV tags are automatically applied by `make -C f_repos patches-import`
48 export FUELLIB_COMMIT?=${F_OPNFV_TAG}
49 export NAILGUN_COMMIT?=${F_OPNFV_TAG}
50 export PYTHON_FUELCLIENT_COMMIT?=${F_OPNFV_TAG}
51 export FUEL_AGENT_COMMIT?=${F_OPNFV_TAG}
52 export FUEL_NAILGUN_AGENT_COMMIT?=${F_OPNFV_TAG}
53 export ASTUTE_COMMIT?=${F_OPNFV_TAG}
54 export OSTF_COMMIT?=${F_OPNFV_TAG}
55 export FUEL_MIRROR_COMMIT?=${F_OPNFV_TAG}
56 export FUELMENU_COMMIT?=${F_OPNFV_TAG}
57 export SHOTGUN_COMMIT?=${F_OPNFV_TAG}
58 export NETWORKCHECKER_COMMIT?=${F_OPNFV_TAG}
59 export FUELUPGRADE_COMMIT?=${F_OPNFV_TAG}
60 export FUEL_UI_COMMIT?=${F_OPNFV_TAG}
61
62 # for the patches applying purposes (empty git config in docker build container)
63 export GIT_COMMITTER_NAME?=Fuel OPNFV
64 export GIT_COMMITTER_EMAIL?=fuel@opnfv.org
65
66 DOCKER_REPO := http://get.docker.com/builds/Linux/x86_64
67 DOCKER_TAG := docker-latest