Skip to content

Commit 51de3cb

Browse files
authored
Merge pull request #277 from jgehrcke/jp/v25.3.0-rc.1
Set version to 25.3.0-rc.1
2 parents 8d34f97 + a8f6645 commit 51de3cb

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

deployments/container/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ ifeq ($(IMAGE_NAME),)
2727
IMAGE_NAME := $(REGISTRY)/$(DRIVER_NAME)
2828
endif
2929

30+
# Note: this is sometimes a v-prefixed version string
31+
# (in case of proper releases) or sometimes a commit hash
32+
# (in case of regular CI builds) in which case VERSION
33+
# is not v-prefixed.
3034
IMAGE_VERSION := $(VERSION)
3135

3236
IMAGE_TAG ?= $(IMAGE_VERSION)-$(DIST)

deployments/helm/nvidia-dra-driver-gpu/Chart.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: v25.3.0
18+
19+
# Note(JP): no v prefix allowed
20+
version: 25.3.0-rc.1
1921

2022
# This is the version number of the application being deployed. This version number should be
2123
# incremented each time you make changes to the application. Versions are not expected to
2224
# follow Semantic Versioning. They should reflect the version the application is using.
2325
# It is recommended to use it with quotes.
24-
appVersion: "v25.3.0"
26+
27+
# Note(JP): this currently defines the default `tag` value in a k8s
28+
# image specification, and therefore must currently be v-prefixed.
29+
appVersion: "v25.3.0-rc.1"

deployments/helm/nvidia-dra-driver-gpu/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ imagePullSecrets: []
3939
image:
4040
repository: nvcr.io/nvidia/cloud-native/k8s-dra-driver-gpu
4141
pullPolicy: IfNotPresent
42-
# Overrides the image tag whose default is the chart appVersion.
42+
# Note: an empty string is translated to the `appVersion` string from
43+
# the Helm chart YAML (effectively implementing the default value to be
44+
# the current version).
4345
tag: ""
4446

4547
serviceAccount:

hack/package-helm-charts.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,19 @@ set -o pipefail
1919
# if arg1 is set, it will be used as the version number
2020
if [ -z "$1" ]; then
2121
VERSION=$(awk -F= '/^VERSION/ { print $2 }' versions.mk | tr -d '[:space:]')
22+
# Remove any v prefix, if exists.
23+
VERSION="${VERSION#v}"
2224
else
2325
VERSION=$1
2426
fi
2527
VERSION=${VERSION}
2628

29+
30+
# Note(JP): the goal below is for VERSION to always be
31+
# strictly semver-compliant (parseable with a semver
32+
# parser). That enables best compatibility with the Helm
33+
# ecosystem. For example, that means that no `v` prefix
34+
# should be used here.
35+
2736
# Create release assets to be uploaded
2837
helm package deployments/helm/nvidia-dra-driver-gpu/ --version $VERSION --app-version $VERSION

versions.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ MODULE := github.com/NVIDIA/$(DRIVER_NAME)
1818

1919
REGISTRY ?= nvcr.io/nvidia/cloud-native
2020

21-
VERSION ?= v25.3.0
21+
VERSION ?= v25.3.0-rc.1
2222

2323
# vVERSION represents the version with a guaranteed v-prefix
2424
vVERSION := v$(VERSION:v%=%)

0 commit comments

Comments
 (0)