summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-06-15 08:33:34 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-15 08:33:34 +0000
commit301ce6a92c82f65df08d75995d35316005e38ff9 (patch)
tree8aeb8b1377d64602c1739a4726161652a150093a /build/Makefile
parenta2ee8e7efc66be53645c8b1d7c43b7740bc999cd (diff)
parent093786068023914a3df555ded133abf8871c6d09 (diff)
Merge "Build local mirrors for stable/mitaka"
Diffstat (limited to 'build/Makefile')
-rw-r--r--build/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index fdfb23971..956183cc6 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -24,6 +24,10 @@ export ISOCACHE = $(shell pwd)/$(shell basename $(ISOSRC))
export PRODNO = "OPNFV_FUEL"
export REVSTATE = "P0000"
export USER ?= $(shell whoami)
+export BUILD_DATE = $(shell date --utc +%Y-%m-%d:%H:%M)
+export OPNFV_GIT_SHA = $(shell git rev-parse HEAD)
+# Store in /etc/fuel_build_id on fuel master
+export BUILD_ID := $(PRODNO)_$(BUILD_DATE)_$(OPNFV_GIT_SHA)
ifdef BUILD_FUEL_PLUGINS
$(warning Overriding plugin build selection to $(BUILD_FUEL_PLUGINS))