summaryrefslogtreecommitdiffstats
path: root/build/config.mk
blob: 6297a271e7e03456b6ab8cfc0df628fd8b823c1d (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
73
74
75
76
77
78
79
80
81
82
83
84
85
##############################################################################
# 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


##############################################################################
# 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



# Settings for Fuel 10 BEGIN
#
# Currently it seems impossible to build Fuel 10 from upstream without
# hard coding specific repositories. The Fuel Ubuntu mirror seems to not
# have been fully populated.

export MIRROR_UBUNTU?=cz.archive.ubuntu.com
export MIRROR_UBUNTU_ROOT?=/ubuntu/
export MIRROR_MOS_UBUNTU?=mirror.seed-cz1.fuel-infra.org
export MIRROR_MOS_UBUNTU_ROOT?=/mos-repos/xenial//snapshots/master-2016-10-10-100022
export MIRROR_CENTOS?=http://mirror.seed-cz1.fuel-infra.org/pkgs/snapshots/centos-7.2.1511-2016-08-07-170016
export MIRROR_FUEL?=http://mirror.seed-cz1.fuel-infra.org//mos-repos/centos/mos-master-centos7//snapshots/os-2016-10-18-120021/x86_64
export MIRROR_MOS_UBUNTU_SUITE?=mos-master

# Settings for Fuel 10 END

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