Loading scripts/collect_tags.sh +1 −1 Original line number Diff line number Diff line Loading @@ -26,4 +26,4 @@ if [ $VALUES_YAML not eq "values.yaml"]; then cp ../charts/hypo/values.yaml ../charts/hypo/$VALUES_YAML fi cd .. && python3 scripts/helm_update.py $PKG_MANAGER $OSS_CLIENT $SONATA $TMF_API $PORTAL_CART $TELEMETRY_CLIENT $PEERING_API $REGISTRY_API $FABRIC_API $PORTAL --file=./charts/hypo/$VALUES_YAML cd .. && python3 scripts/helm_update_etsi.py $PKG_MANAGER $OSS_CLIENT $SONATA $TMF_API $PORTAL_CART $TELEMETRY_CLIENT $PEERING_API $REGISTRY_API $FABRIC_API $PORTAL --file=./charts/hypo/$VALUES_YAML scripts/helm_update.py +3 −9 Original line number Diff line number Diff line Loading @@ -32,20 +32,14 @@ def update_yaml_values(yaml_file, temp_file, microservices, image_name, new_tag) def increment_ver(current_version): """ Increment version in SemVer-like format: YYYY.M.D (e.g., 2025.9.1, 2025.9.2). If the current version matches this year+month, bump the day counter. Otherwise, reset to YYYY.M.1. Return the current version in YYYY.MM format. Example: 2025.09, 2025.12 """ now = datetime.now() year = now.year month = now.month day = now.day # Expected format: YYYY.M.D ver = f"{year}.{month}.{day}" return f"{ver}" return f"{year}.{month:02d}" def update_chart(chart_file): Loading scripts/helm_update_etsi.py +3 −9 Original line number Diff line number Diff line Loading @@ -33,20 +33,14 @@ def update_yaml_values(yaml_file, temp_file, microservices, image_name, new_tag) def increment_ver(current_version): """ Increment version in SemVer-like format: YYYY.M.D (e.g., 2025.9.1, 2025.9.2). If the current version matches this year+month, bump the day counter. Otherwise, reset to YYYY.M.1. Return the current version in YYYY.MM format. Example: 2025.09, 2025.12 """ now = datetime.now() year = now.year month = now.month day = now.day # Expected format: YYYY.M.D ver = f"{year}.{month}.{day}" return f"{ver}" return f"{year}.{month:02d}" def update_chart(chart_file): Loading Loading
scripts/collect_tags.sh +1 −1 Original line number Diff line number Diff line Loading @@ -26,4 +26,4 @@ if [ $VALUES_YAML not eq "values.yaml"]; then cp ../charts/hypo/values.yaml ../charts/hypo/$VALUES_YAML fi cd .. && python3 scripts/helm_update.py $PKG_MANAGER $OSS_CLIENT $SONATA $TMF_API $PORTAL_CART $TELEMETRY_CLIENT $PEERING_API $REGISTRY_API $FABRIC_API $PORTAL --file=./charts/hypo/$VALUES_YAML cd .. && python3 scripts/helm_update_etsi.py $PKG_MANAGER $OSS_CLIENT $SONATA $TMF_API $PORTAL_CART $TELEMETRY_CLIENT $PEERING_API $REGISTRY_API $FABRIC_API $PORTAL --file=./charts/hypo/$VALUES_YAML
scripts/helm_update.py +3 −9 Original line number Diff line number Diff line Loading @@ -32,20 +32,14 @@ def update_yaml_values(yaml_file, temp_file, microservices, image_name, new_tag) def increment_ver(current_version): """ Increment version in SemVer-like format: YYYY.M.D (e.g., 2025.9.1, 2025.9.2). If the current version matches this year+month, bump the day counter. Otherwise, reset to YYYY.M.1. Return the current version in YYYY.MM format. Example: 2025.09, 2025.12 """ now = datetime.now() year = now.year month = now.month day = now.day # Expected format: YYYY.M.D ver = f"{year}.{month}.{day}" return f"{ver}" return f"{year}.{month:02d}" def update_chart(chart_file): Loading
scripts/helm_update_etsi.py +3 −9 Original line number Diff line number Diff line Loading @@ -33,20 +33,14 @@ def update_yaml_values(yaml_file, temp_file, microservices, image_name, new_tag) def increment_ver(current_version): """ Increment version in SemVer-like format: YYYY.M.D (e.g., 2025.9.1, 2025.9.2). If the current version matches this year+month, bump the day counter. Otherwise, reset to YYYY.M.1. Return the current version in YYYY.MM format. Example: 2025.09, 2025.12 """ now = datetime.now() year = now.year month = now.month day = now.day # Expected format: YYYY.M.D ver = f"{year}.{month}.{day}" return f"{ver}" return f"{year}.{month:02d}" def update_chart(chart_file): Loading