From f0e5cd3f8131a1363555366c1812fb7ac76f60b3 Mon Sep 17 00:00:00 2001 From: Manoel Benedito Neto Date: Fri, 24 Feb 2023 08:54:56 -0300 Subject: [PATCH] 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 f045d574f3 was chosen to be the BASE_SRCREV of the python3-oidcauthtools's metadata because is the commit that creates the debian directory with build files structure for this package. (python3-oidcauthtools version updated from .stx.3 to .stx.9) The commit SHA f045d574f3 was chosen to be the BASE_SRCREV of the stx-oidc-auth-helm's metadata because is the commit that creates the debian directory with build files structure for this package. The commit SHA 638dc8f924 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-oidc-auth-helm version updated from .stx.9 to .stx.36) The commit SHA 12c005958c was chosen to be the BASE_SRCREV of the python3-k8sapp-oidc's metadata because is the commit that creates the debian directory with build files structure for this package. (python3-k8sapp-oidc version updated from .stx.3 to .stx.11) Test Plan: PASS: Verify package versions are updated as expected. PASS: build-pkgs -c -p python3-oidcauthtools PASS: build-pkgs -c -p python3-k8sapp-oidc PASS: build-pkgs -c -p stx-oidc-auth-helm Story: 2010550 Task: 47498 Signed-off-by: Manoel Benedito Neto Change-Id: I9f8da9bff27de2c7208df7fd9edf8196d8ab977b --- oidc-auth-tools/debian/meta_data.yaml | 2 ++ python3-k8sapp-oidc/debian/meta_data.yaml | 4 +++- stx-oidc-auth-helm/debian/meta_data.yaml | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/oidc-auth-tools/debian/meta_data.yaml b/oidc-auth-tools/debian/meta_data.yaml index c51950b..961c498 100644 --- a/oidc-auth-tools/debian/meta_data.yaml +++ b/oidc-auth-tools/debian/meta_data.yaml @@ -5,3 +5,5 @@ src_path: oidcauthtools revision: dist: $STX_DIST PKG_GITREVCOUNT: true + SRC_GITREVCOUNT: + SRC_BASE_SRCREV: f045d574f30a3fa5cb555fe805a7a16244091c79 diff --git a/python3-k8sapp-oidc/debian/meta_data.yaml b/python3-k8sapp-oidc/debian/meta_data.yaml index 4f6a3b5..6f952fb 100644 --- a/python3-k8sapp-oidc/debian/meta_data.yaml +++ b/python3-k8sapp-oidc/debian/meta_data.yaml @@ -4,4 +4,6 @@ debver: 1.0-1 src_path: k8sapp_oidc revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + SRC_DIR: ${MY_REPO}/stx/oidc-auth-armada-app + BASE_SRCREV: 12c005958c2a0da6114fa6de543488d88061f970 diff --git a/stx-oidc-auth-helm/debian/meta_data.yaml b/stx-oidc-auth-helm/debian/meta_data.yaml index 0643698..98afebb 100644 --- a/stx-oidc-auth-helm/debian/meta_data.yaml +++ b/stx-oidc-auth-helm/debian/meta_data.yaml @@ -11,4 +11,8 @@ dl_files: md5sum: bfbe56a46cf23c68d27c6a018a565d95 revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + FILES_GITREVCOUNT: + - 638dc8f9242b0b65afed7c54c6ddc5f60744ab97 + GITREVCOUNT: + SRC_DIR: ${MY_REPO}/stx/oidc-auth-armada-app + BASE_SRCREV: f045d574f30a3fa5cb555fe805a7a16244091c79