Update debian packages for pkg-versioning

The Debian packaging meta_data file has been changed to reflect all the
latest git commits under the directory, pointed as usable, and to
improve pkg-versioning addressing the first commit as start point to
build packages.

This ensures that any new code submissions under those
directories will increment the versions.

The commit SHA b2f895c371 was chosen to be the BASE_SRCREV of the
portieris-helm's metadata because is the commit that points to the
start of "portieris-helm" directory. The PKG_GITREVCOUNT is set to
true to count git revisions relative to portieris-helm's folder.
(portieris-helm version updated from .stx.4 to .stx.13)

The previous commit SHA chosen to be the BASE_SRCREV of the
python3-k8sapp-portieris's metadata points to the first commit of the
repository. Instead of using this commit SHA, 0677d5def2 was chosen to
be the BASE_SRCREV because is the commit that introduces the package
to the project.
(python3-k8sapp-portieris version was modified from .stx.51 to .stx.52)

The previous commit SHA chosen to be the BASE_SRCREV of the
stx-portieris-helm's metadata points to the first commit of the
repository. Instead of using this commit SHA,b2f895c371 was chosen to
be the BASE_SRCREV of the metadata because is the commit that points
to the start of "stx-portieris-helm" directory. The commit SHA
d0c56528d2 was chosen to be the FILES_GITREVCOUNT of this package
because is the commit that adds the "helm-charts" directory of the
repository referenced in the "src_files".

It is added both GITREVCOUNT and FILES_GITREVCOUNT to calculate the
relevant git commits of "src_path" and "src_files" to this package's
revision.
(stx-portieris-helm version was modified from .stx.51 to .stx.52)

stx_patch is added to revision section to maintain the upversioning of
python3-k8sapp-portieris and stx-portieris-helm packages.

Test Plan:
PASS: Verify packages versions are updated as expected
PASS: build-pkgs -c -p portieris-helm
PASS: build-pkgs -c -p python3-k8sapp-portieris
PASS: build-pkgs -c -p stx-portieris-helm

Story: 2010550
Task: 47499

Signed-off-by: Manoel Benedito Neto <Manoel.BeneditoNeto@windriver.com>
Change-Id: I827955199b38674dae8ca8cb7c9dd7c8e8caa21d
This commit is contained in:
Manoel Benedito Neto 2023-02-24 08:56:48 -03:00
parent 3bfc502572
commit 744ce465ce
3 changed files with 9 additions and 2 deletions

View File

@ -12,3 +12,6 @@ src_files:
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true
GITREVCOUNT:
SRC_DIR: ${MY_REPO}/stx/portieris-armada-app/portieris-helm/files
BASE_SRCREV: b2f895c371539899f7c9543c9c5dba8a897a1be3

View File

@ -4,6 +4,7 @@ debver: 1.0-1
src_path: k8sapp_portieris
revision:
dist: $STX_DIST
stx_patch: 10
GITREVCOUNT:
SRC_DIR: ${MY_REPO}/stx/portieris-armada-app
BASE_SRCREV: b6f2024cc2c31f7562a31aebc46f0bc490bde6f6
BASE_SRCREV: 0677d5def2b04195ff02f191702555f2d8bca96d

View File

@ -6,6 +6,9 @@ src_files:
- ${MY_REPO}/stx/helm-charts/psp-rolebinding/psp-rolebinding/helm-charts
revision:
dist: $STX_DIST
stx_patch: 3
FILES_GITREVCOUNT:
- d0c56528d291dacd739c47774359a3bbb3e1c1b4
GITREVCOUNT:
SRC_DIR: ${MY_REPO}/stx/portieris-armada-app
BASE_SRCREV: b6f2024cc2c31f7562a31aebc46f0bc490bde6f6
BASE_SRCREV: b2f895c371539899f7c9543c9c5dba8a897a1be3