5 Commits

Author SHA1 Message Date
Vladimir Kozhukalov
49c1174433 Update versions of all charts to 2025.1.0
Also update chart_version.sh script which
counts the number of commits since the BASE_VERSION
if BASE_VERSION tag is found. If the tag
doesn't exist it counts the number of commits since the
beginning. So when we use for example 2025.1.0 as
the BASE_VERSION but the tag 2025.1.0 is not yet created
the version of the e.g. nova chart will be calculated as
like 2025.1.563+<sha> and then when we create tag the nova version
will be 2025.1.0+<sha> which is undesired.

Lets use BASE_VERSION-<sha> if the tag is not found.

Change-Id: I032e8269ab17b490898d190adaec5c282e96fa88
2025-04-16 12:32:26 -05:00
Ruslan Aliev
3f09cbee16 Further improvements to chart_version.sh
* added -euo pipefail to fail accordingly
 * removed unnecessary ";"
 * placed variables into quotes

Change-Id: Iaeb639fe9af4a4b609033b05ef64a8180ee1738f
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2025-03-26 13:32:54 -05:00
Ruslan Aliev
d3e8d6e541 Fix chart_version.sh script
wc -l sometimes produces leading spaces [1], so it's necessary
to trim them to maintain expected output format.

[1] https://unix.stackexchange.com/questions/205906/extra-space-with-counted-line-number/205910#205910

Change-Id: Ic95c44fa56051ef94319e663bbc533f77dbc3d19
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2025-03-25 10:19:49 -05:00
Vladimir Kozhukalov
bf36e40f22 Align chart_version.sh with openstack-helm-infra
This change makes it possible to use identical
chart_version.sh script in both git repos
openstack-helm and openstack-helm-infra.

This is to prepare for the upcoming merger with
openstack-helm-infra and to reduce the number
of merge conflicts.

Change-Id: I18414cb0e45c0b595ba332363ef089bfbf37c5c0
2025-03-14 16:44:25 -05:00
Vladimir Kozhukalov
450f355bc7 Append metadata suffix when building charts
Change-Id: I04332e9f18a5f4c5973aae51dbd746f4e1eadc7c
2024-12-21 11:48:01 -06:00