root/build-tools
Bin Yang e01eb44f2c enable pbr version
Currently all flock packages have a common base version of 1.0 or 1.0.0
defined in specfiles. The build system creates tarballs and whl files
with the base version (without TIS_PATCH_VER) and the version is also
attached the generated RPM file (with TIS_PATCH_VER).

This patch addes PBR (OpenStack's Python Build Reasonableness) support,
which can generate the version by parsing semantically-versioned Git
tags and walking the Git history back to the last release tag.

A new variable named PBR_VERSION is supported in build_srpm.data. If its
is not set, the build system still uses TIS_PATCH_VER like before.
If PBR_VERSION=auto, the build system will generate the version by
PBR and create tarballs, whl files and RPM files with this version.
If PBR_VERSION is set manually, the build system will use it directly.

Story: 2006703
Task: 37014

Change-Id: Ic377e3ae3344b291d2d9c0d0fca8f681d1a007b5
Signed-off-by: Bin Yang <bin.yang@intel.com>
Signed-off-by: Yang, Bin <bin.yang@intel.com>
2020-06-08 16:54:14 +08:00
..
branching Branch and tag tools converted from wrgit to repo 2020-04-03 17:02:38 -04:00
build_guest build-tools: Convert wrsroot -> sysadmin 2019-06-14 14:48:25 -07:00
build_iso Fix potential infinite loop in build-iso 2020-05-08 00:24:21 +00:00
build_minimal_iso build-tools: Convert wrsroot -> sysadmin 2019-06-14 14:48:25 -07:00
build-docker-images Merge "Update stx-platformclients tag to stx.4.0-v1.2.0" 2020-05-21 15:31:40 +00:00
build-wheels Enable build of docker images, charts and wheels from a layered build 2020-04-08 13:58:41 -04:00
certificates StarlingX open source release updates 2018-06-01 07:45:23 -07:00
mirror_rebase StarlingX open source release updates 2018-06-01 07:45:23 -07:00
mk Uprev grub2 and shim 2018-06-27 13:04:02 -04:00
repo_files Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
signing StarlingX open source release updates 2018-06-01 07:45:23 -07:00
audit-pkgs StarlingX open source release updates 2018-06-01 07:45:23 -07:00
build-avoidance-utils.sh Build avoidance for all build-type values 2020-03-30 16:52:13 -04:00
build-guest Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
build-helm-charts.sh find_chartfile returns multiple erroneous files 2020-04-20 12:14:16 -04:00
build-img Shorten "addons/wr-cgcs/layers/cgcs" to just "stx" 2018-07-04 15:12:58 -04:00
build-iso Use private yum cache dir in build scripts 2020-03-19 10:21:00 -04:00
build-pkg-srpm StarlingX open source release updates 2018-06-01 07:45:23 -07:00
build-pkgs Use private yum cache dir in build scripts 2020-03-19 10:21:00 -04:00
build-pkgs-parallel Add a dependency checker to build-pkgs 2020-06-05 18:42:21 -04:00
build-pkgs-serial Add a dependency checker to build-pkgs 2020-06-05 18:42:21 -04:00
build-remote-cli.sh Support custom docker registries for remote cli 2020-03-18 16:29:49 +02:00
build-rpms Build Avoidance 2018-09-17 16:41:31 -04:00
build-rpms-parallel Add a dependency checker to build-pkgs 2020-06-05 18:42:21 -04:00
build-rpms-serial Add a dependency checker to build-pkgs 2020-06-05 18:42:21 -04:00
build-srpms Build Avoidance 2018-09-17 16:41:31 -04:00
build-srpms-common.sh Build avoidance fixes 2020-02-21 16:07:05 -05:00
build-srpms-parallel enable pbr version 2020-06-08 16:54:14 +08:00
build-srpms-serial enable pbr version 2020-06-08 16:54:14 +08:00
Cached_Data.txt StarlingX open source release updates 2018-06-01 07:45:23 -07:00
classify Build: Improved logging, error handling, and other small fixes 2018-08-29 16:31:09 -04:00
create_dependancy_cache.py Remove unused variables 2019-02-01 22:58:37 +00:00
create-cgcs-centos-repo StarlingX open source release updates 2018-06-01 07:45:23 -07:00
create-cgcs-tis-repo StarlingX open source release updates 2018-06-01 07:45:23 -07:00
create-yum-conf Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
default_build_srpm enable pbr version 2020-06-08 16:54:14 +08:00
find_klm StarlingX open source release updates 2018-06-01 07:45:23 -07:00
find_patched_srpms_needing_upgrade StarlingX open source release updates 2018-06-01 07:45:23 -07:00
git-repo-utils.sh Branch and tag tools converted from wrgit to repo 2020-04-03 17:02:38 -04:00
git-utils.sh Branch and tag tools converted from wrgit to repo 2020-04-03 17:02:38 -04:00
image-utils.sh Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
ip_report.py Python 3 compatibility: use print as a function. 2018-10-12 13:42:44 +00:00
make-installer-images.sh Add lz4 to squashfs img and clean unused rpm 2018-09-18 18:28:42 +08:00
mock_cfg_to_yum_conf.py Python 3 compatibility: use print as a function. 2018-10-12 13:42:44 +00:00
mockchain-parallel Update mockchain-parallel wrapper for mock-1.4.20 2019-10-21 13:26:42 -04:00
mockchain-parallel-1.3.4 Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
mockchain-parallel-1.4.16 Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
modify-build-cfg Update to build tools to support Build layering. 2020-02-07 16:36:40 -05:00
patch_rebase_1 Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
patch_rebase_2 Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
patch_rebase_3 Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
patch_rebase_4 Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
patch-iso Use private yum cache dir in build scripts 2020-03-19 10:21:00 -04:00
repo-utils.sh Branch and tag tools converted from wrgit to repo 2020-04-03 17:02:38 -04:00
sign_iso_formal.sh cleanup signing scripts 2018-09-07 14:44:37 -04:00
sign_patch_formal.sh cleanup signing scripts 2018-09-07 14:44:37 -04:00
sign-rpms Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
sign-secure-boot Build Avoidance 2018-09-17 16:41:31 -04:00
source_lookup.txt Drop smartpm reference from source_lookup.txt 2020-01-15 23:46:00 -05:00
spec-utils enable pbr version 2020-06-08 16:54:14 +08:00
srpm-utils enable pbr version 2020-06-08 16:54:14 +08:00
stxRpmUtils.py Correct build failure after mock updrade 2019-06-06 13:39:34 -04:00
sync_jenkins.sh Fix linters issues and enable tox/zuul linters job as gate 2018-09-05 22:42:11 +08:00
sync-jenkins StarlingX open source release updates 2018-06-01 07:45:23 -07:00
tis.macros StarlingX open source release updates 2018-06-01 07:45:23 -07:00
update-efiboot-image Prepare the build tools for code restucturing 2019-09-05 15:18:10 -04:00
update-pxe-network-installer Remove tpm from update-pxe-network-installer script 2020-05-14 09:22:19 +08:00
wheel-utils.sh Enable build of docker images, charts and wheels from a layered build 2020-04-08 13:58:41 -04:00
wrs_orig.txt StarlingX open source release updates 2018-06-01 07:45:23 -07:00