Uplift to Fuel 10.0/Newton
[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 # This tag is NOT checked out, it only serves a cosmetic purpose of hinting
12 # what upstream Fuel components our submodules are bound to (while tracking
13 # remotes, ALL submodules will point to remote branch HEAD).
14 # NOTE: Pinning fuel-main or other submodules to a specific commit/tag is
15 # done ONLY via git submodules.
16 FUEL_MAIN_TAG = master
17 MOS_VERSION   = 10.0
18 OPENSTACK_VERSION = newton-10.0
19
20
21 ##############################################################################
22 # Fuel components pinning / remote tracking; use submodules from f_repos
23 ##############################################################################
24
25 # git submodule & patch locations for Fuel components
26 F_GIT_ROOT   := $(shell git rev-parse --show-toplevel)
27 F_GIT_DIR    := $(shell git rev-parse --git-dir)
28 F_SUBMOD_DIR := ${F_GIT_ROOT}/build/f_repos/sub
29 F_PATCH_DIR  := ${F_GIT_ROOT}/build/f_repos/patch
30 F_OPNFV_TAG  := ${FUEL_MAIN_TAG}-opnfv
31
32 # fuel-main repo location used by main Makefile ISO building, use submodule
33 FUEL_MAIN_REPO := ${F_SUBMOD_DIR}/fuel-main
34
35
36
37 # Settings for Fuel 10 BEGIN
38 #
39 # Currently it seems impossible to build Fuel 10 from upstream without
40 # hard coding specific repositories. The Fuel Ubuntu mirror seems to not
41 # have been fully populated.
42
43 export MIRROR_UBUNTU?=cz.archive.ubuntu.com
44 export MIRROR_UBUNTU_ROOT?=/ubuntu/
45 export MIRROR_MOS_UBUNTU?=mirror.seed-cz1.fuel-infra.org
46 export MIRROR_MOS_UBUNTU_ROOT?=/mos-repos/xenial//snapshots/master-2016-10-10-100022
47 export MIRROR_CENTOS?=http://mirror.seed-cz1.fuel-infra.org/pkgs/snapshots/centos-7.2.1511-2016-08-07-170016
48 export MIRROR_FUEL?=http://mirror.seed-cz1.fuel-infra.org//mos-repos/centos/mos-master-centos7//snapshots/os-2016-10-18-120021/x86_64
49 export MIRROR_MOS_UBUNTU_SUITE?=mos-master
50
51 # Settings for Fuel 10 END
52
53 export FUELLIB_REPO?=${F_SUBMOD_DIR}/fuel-library
54 export NAILGUN_REPO?=${F_SUBMOD_DIR}/fuel-web
55 export PYTHON_FUELCLIENT_REPO?=${F_SUBMOD_DIR}/python-fuelclient
56 export FUEL_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-agent
57 export FUEL_NAILGUN_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-nailgun-agent
58 export ASTUTE_REPO?=${F_SUBMOD_DIR}/fuel-astute
59 export OSTF_REPO?=${F_SUBMOD_DIR}/fuel-ostf
60 export FUELMENU_REPO?=${F_SUBMOD_DIR}/fuel-menu
61 export SHOTGUN_REPO?=${F_SUBMOD_DIR}/shotgun
62 export NETWORKCHECKER_REPO?=${F_SUBMOD_DIR}/network-checker
63 export FUEL_UI_REPO?=${F_SUBMOD_DIR}/fuel-ui
64
65 # OPNFV tags are automatically applied by `make -C f_repos patches-import`
66 export FUELLIB_COMMIT?=${F_OPNFV_TAG}
67 export NAILGUN_COMMIT?=${F_OPNFV_TAG}
68 export PYTHON_FUELCLIENT_COMMIT?=${F_OPNFV_TAG}
69 export FUEL_AGENT_COMMIT?=${F_OPNFV_TAG}
70 export FUEL_NAILGUN_AGENT_COMMIT?=${F_OPNFV_TAG}
71 export ASTUTE_COMMIT?=${F_OPNFV_TAG}
72 export OSTF_COMMIT?=${F_OPNFV_TAG}
73 export FUEL_MIRROR_COMMIT?=${F_OPNFV_TAG}
74 export FUELMENU_COMMIT?=${F_OPNFV_TAG}
75 export SHOTGUN_COMMIT?=${F_OPNFV_TAG}
76 export NETWORKCHECKER_COMMIT?=${F_OPNFV_TAG}
77 export FUELUPGRADE_COMMIT?=${F_OPNFV_TAG}
78 export FUEL_UI_COMMIT?=${F_OPNFV_TAG}
79
80 # for the patches applying purposes (empty git config in docker build container)
81 export GIT_COMMITTER_NAME?=Fuel OPNFV
82 export GIT_COMMITTER_EMAIL?=fuel@opnfv.org
83
84 DOCKER_REPO := http://get.docker.com/builds/Linux/x86_64
85 DOCKER_TAG := docker-latest