From 7552c26370d38ef5dd182682a0d3bf096661fe0e Mon Sep 17 00:00:00 2001 From: Swati Date: Mon, 27 Jun 2016 17:53:53 +0530 Subject: OPNFV KVM4NFV CICD: Scripts for creating Rpms & Debians for Kernel, Qemu This patch contains the files for generating rpms & debians for both kernel & qemu changes, as part of kvmfornfv project development. The scripts will be triggered to build kernel-rpm & qemu-rpm packages inside centos docker, and kernel-debian & qemu-debian packages inside ubuntu docker, as part of the CICD process. After the new builds are ready, they will be deployed on the pharos testbed for verification. Later, these will be consumed/triggered by verify/daily Releng JJBs. Reference: https://wiki.opnfv.org/display/kvm/KVM4NFV+CICD+Jobs Change-Id: Ie8e8108566790a6c8db2fef1c9b5799a41732b44 Signed-off-by: Swati Sharma --- ci/build_rpm/mkversion | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 ci/build_rpm/mkversion (limited to 'ci/build_rpm/mkversion') diff --git a/ci/build_rpm/mkversion b/ci/build_rpm/mkversion new file mode 100755 index 000000000..9668da7e0 --- /dev/null +++ b/ci/build_rpm/mkversion @@ -0,0 +1,10 @@ +if [ ! -f .version ] +then + touch .version + chmod 777 .version + echo 1 > .version + echo 1 +else + expr 0`cat .version` + 1 + expr 0`cat .version` + 1 > .version +fi -- cgit 1.2.3-korg