Browse Source

Add auto-versioning to starlingx/fault packages

This update changed the TIS_PATCH_VER to use the PKG_GITREVCOUNT
variable to auto-version the packages.

Adds an upper constraint to fm-rest-api to pass zuul.

Story: 2006740
Task: 39842

Change-Id: I4a180f1395ff9764ecc9d617a514e265db670b9c
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
changes/19/731219/3
Teresa Ho 1 year ago
parent
commit
679475b06f
  1. 2
      fm-api/centos/build_srpm.data
  2. 2
      fm-common/centos/build_srpm.data
  3. 2
      fm-doc/centos/build_srpm.data
  4. 2
      fm-mgr/centos/build_srpm.data
  5. 2
      fm-rest-api/centos/build_srpm.data
  6. 3
      fm-rest-api/fm/tox.ini
  7. 2
      python-fmclient/centos/build_srpm.data
  8. 2
      snmp-audittrail/centos/build_srpm.data
  9. 2
      snmp-ext/centos/build_srpm.data

2
fm-api/centos/build_srpm.data

@ -1,4 +1,4 @@
SRC_DIR="."
EXCLUDE_FILES_FROM_TAR="centos"
TIS_PATCH_VER=14
TIS_PATCH_VER=PKG_GITREVCOUNT

2
fm-common/centos/build_srpm.data

@ -1,2 +1,2 @@
SRC_DIR="sources"
TIS_PATCH_VER=9
TIS_PATCH_VER=PKG_GITREVCOUNT

2
fm-doc/centos/build_srpm.data

@ -1,2 +1,2 @@
SRC_DIR="fm_doc"
TIS_PATCH_VER=16
TIS_PATCH_VER=PKG_GITREVCOUNT

2
fm-mgr/centos/build_srpm.data

@ -1,2 +1,2 @@
SRC_DIR="sources"
TIS_PATCH_VER=6
TIS_PATCH_VER=PKG_GITREVCOUNT

2
fm-rest-api/centos/build_srpm.data

@ -1,2 +1,2 @@
SRC_DIR="fm"
TIS_PATCH_VER=3
TIS_PATCH_VER=PKG_GITREVCOUNT

3
fm-rest-api/fm/tox.ini

@ -10,7 +10,8 @@ setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
deps = -r{toxinidir}/test-requirements.txt
deps = -chttps://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt
-r{toxinidir}/test-requirements.txt
-e{[tox]stxdir}/config/tsconfig/tsconfig
-e{[tox]stxdir}/config/sysinv/cgts-client/cgts-client
-e{[tox]stxdir}/fault/fm-api

2
python-fmclient/centos/build_srpm.data

@ -1,2 +1,2 @@
SRC_DIR="fmclient"
TIS_PATCH_VER=4
TIS_PATCH_VER=PKG_GITREVCOUNT

2
snmp-audittrail/centos/build_srpm.data

@ -1,2 +1,2 @@
SRC_DIR="sources"
TIS_PATCH_VER=4
TIS_PATCH_VER=PKG_GITREVCOUNT

2
snmp-ext/centos/build_srpm.data

@ -1,2 +1,2 @@
SRC_DIR="sources"
TIS_PATCH_VER=2
TIS_PATCH_VER=PKG_GITREVCOUNT
Loading…
Cancel
Save