From 4bc42115a6c39062292867e0ebedbf22eae81517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Vin=C3=ADcius=20Silva=20da=20Cruz?= Date: Thu, 23 Feb 2023 14:51:34 -0500 Subject: [PATCH] Update debian package versions to use git commits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Debian packaging has been changed to reflect all the git commits under the directory, and not just the commits to the metadata folder. Package builder concatenates the number of revisions added since the one defined in the BASE_SRCREV to the name of the .deb file generated. Thus, any new submission to the code in these directories increment this revision counter in the filename. Test Plan: PASS: Created new code submissions to package ceph and verify that the version in the package name was incremented. PASS: Created new code submissions to package parted and verify that the version in the package name was incremented. PASS: Created new code submissions to package trident-installer and verify that the version in the package name was incremented. Story: 2010550 Task: 47490 Signed-by: Pedro Vinícius Silva da Cruz Change-Id: I16f834fd77f0abafaed39a0d4e6cd78d35fa4b98 --- ceph/ceph/debian/meta_data.yaml | 4 +++- filesystem/parted/debian/meta_data.yaml | 4 +++- storage-drivers/trident-installer/debian/meta_data.yaml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ceph/ceph/debian/meta_data.yaml b/ceph/ceph/debian/meta_data.yaml index 36b683100..56a6712ae 100644 --- a/ceph/ceph/debian/meta_data.yaml +++ b/ceph/ceph/debian/meta_data.yaml @@ -130,4 +130,6 @@ dl_files: sha256sum: 23e1465d4aef16349bfb500a5bc7b8d08138b085716c0f2c18d708ea3f326449 revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + BASE_SRCREV: 83065c529895eedd7491662908eb27e7e4beb1ae + SRC_DIR: ${MY_REPO}/stx/integ/ceph/ceph diff --git a/filesystem/parted/debian/meta_data.yaml b/filesystem/parted/debian/meta_data.yaml index 6990cf685..6ecd20f84 100644 --- a/filesystem/parted/debian/meta_data.yaml +++ b/filesystem/parted/debian/meta_data.yaml @@ -7,4 +7,6 @@ dl_path: sha256sum: 66acf6072f919fecd8c664619b8ab778a98d585774447f06093f51dc73f355cd revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + BASE_SRCREV: 0e7fef247acaf65fb254ff2af80ec23ea3287288 + SRC_DIR: ${MY_REPO}/stx/integ/filesystem/parted diff --git a/storage-drivers/trident-installer/debian/meta_data.yaml b/storage-drivers/trident-installer/debian/meta_data.yaml index 24e76f3d5..0c45105c0 100644 --- a/storage-drivers/trident-installer/debian/meta_data.yaml +++ b/storage-drivers/trident-installer/debian/meta_data.yaml @@ -8,4 +8,6 @@ dl_path: sha256sum: e6b3ea4a3f947b42b91c32df8b9cc0287d6756a364688ea1ddb35cc244339d37 revision: dist: $STX_DIST - PKG_GITREVCOUNT: true + GITREVCOUNT: + BASE_SRCREV: 87c27d1be85179a07b6ecb7117d9deeb5bc8ea97 + SRC_DIR: ${MY_REPO}/stx/integ/storage-drivers/trident-installer