f_repobuild: Use packetary to build partial mirror
[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 # List of space-separated Ubuntu architectures supported with current build
21 # Format: same as `dpkg-architecture -qDEB_HOST_ARCH`
22 # NOTE: Currently only amd64 is supported by Fuel@OPNFV. Armband adds arm64.
23 export UBUNTU_ARCH ?= amd64
24
25 ##############################################################################
26 # Fuel components pinning / remote tracking; use submodules from f_repos
27 ##############################################################################
28
29 # git submodule & patch locations for Fuel components
30 F_GIT_ROOT   := $(shell git rev-parse --show-toplevel)
31 F_GIT_DIR    := $(shell git rev-parse --git-dir)
32 F_SUBMOD_DIR := ${F_GIT_ROOT}/build/f_repos/sub
33 F_PATCH_DIR  := ${F_GIT_ROOT}/build/f_repos/patch
34 F_OPNFV_TAG  := ${FUEL_MAIN_TAG}-opnfv
35
36 # fuel-main repo location used by main Makefile ISO building, use submodule
37 FUEL_MAIN_REPO := ${F_SUBMOD_DIR}/fuel-main
38
39
40 export FUELLIB_REPO?=${F_SUBMOD_DIR}/fuel-library
41 export NAILGUN_REPO?=${F_SUBMOD_DIR}/fuel-web
42 export PYTHON_FUELCLIENT_REPO?=${F_SUBMOD_DIR}/python-fuelclient
43 export FUEL_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-agent
44 export FUEL_NAILGUN_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-nailgun-agent
45 export ASTUTE_REPO?=${F_SUBMOD_DIR}/fuel-astute
46 export OSTF_REPO?=${F_SUBMOD_DIR}/fuel-ostf
47 export FUELMENU_REPO?=${F_SUBMOD_DIR}/fuel-menu
48 export SHOTGUN_REPO?=${F_SUBMOD_DIR}/shotgun
49 export NETWORKCHECKER_REPO?=${F_SUBMOD_DIR}/network-checker
50 export FUEL_UI_REPO?=${F_SUBMOD_DIR}/fuel-ui
51
52 # OPNFV tags are automatically applied by `make -C f_repos patches-import`
53 export FUELLIB_COMMIT?=${F_OPNFV_TAG}
54 export NAILGUN_COMMIT?=${F_OPNFV_TAG}
55 export PYTHON_FUELCLIENT_COMMIT?=${F_OPNFV_TAG}
56 export FUEL_AGENT_COMMIT?=${F_OPNFV_TAG}
57 export FUEL_NAILGUN_AGENT_COMMIT?=${F_OPNFV_TAG}
58 export ASTUTE_COMMIT?=${F_OPNFV_TAG}
59 export OSTF_COMMIT?=${F_OPNFV_TAG}
60 export FUEL_MIRROR_COMMIT?=${F_OPNFV_TAG}
61 export FUELMENU_COMMIT?=${F_OPNFV_TAG}
62 export SHOTGUN_COMMIT?=${F_OPNFV_TAG}
63 export NETWORKCHECKER_COMMIT?=${F_OPNFV_TAG}
64 export FUELUPGRADE_COMMIT?=${F_OPNFV_TAG}
65 export FUEL_UI_COMMIT?=${F_OPNFV_TAG}
66
67 # for the patches applying purposes (empty git config in docker build container)
68 export GIT_COMMITTER_NAME?=Fuel OPNFV
69 export GIT_COMMITTER_EMAIL?=fuel@opnfv.org
70
71 DOCKER_REPO := http://get.docker.com/builds/Linux/x86_64
72 DOCKER_TAG := docker-latest