diff options
author | Georg Kunz <georg.kunz@ericsson.com> | 2016-12-10 16:35:49 +0100 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2016-12-13 11:18:58 +0100 |
commit | 28850f28aaa80cc71563f4c4698af70da6334f03 (patch) | |
tree | d6dc9b90c534a53e8112414f0334c5b80205b17c /build/Makefile | |
parent | c62b63e6f4b2560dcc673206faee74706fd9e7bc (diff) |
Basic CI integration for Gluon
This first iteration of OPNFV CI integration targets a daily
build of an installable RPM package based on the lastest
Gluon upstream master branch.
Change-Id: I6ad0b339284e58e566eb85a3bcf981b52ba372b8
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'build/Makefile')
-rw-r--r-- | build/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build/Makefile b/build/Makefile index 9e5e8dd..0ba8be8 100644 --- a/build/Makefile +++ b/build/Makefile @@ -1,8 +1,10 @@ +OPNFV_RELEASE=$(shell echo $(shell date -u +"%Y%m%d")) GLUON_REPO=https://github.com/openstack/gluon.git GLUON_BRANCH=master -GLUON_VER=0.0.1 +GLUON_VER=$(shell grep Version $(shell pwd)/rpm_specs/gluon.spec | head -n 1 | awk '{ print $$2 }') +GLUON_REL=$(shell grep 'define release' $(shell pwd)/rpm_specs/gluon.spec | head -n 1 | awk '{ print $$3 }')_$(OPNFV_RELEASE) GLUON_TAR=gluon.tar.gz -GLUON_RPM=noarch/gluon-$(GLUON_VER)-1.noarch.rpm +GLUON_RPM=noarch/gluon-$(GLUON_VER)-$(GLUON_REL).noarch.rpm .PHONY: all |