Skip to content

Commit 809fe16

Browse files
committed
Merge branch 'helm-release-conditional' into 'master'
[ci] skip release:helm if PUSH_REPO is nil See merge request nvidia/kubernetes/gpu-operator!233
2 parents 43dd2bf + dab6ffe commit 809fe16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.common-ci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ versioning:
2929
- if [ -z "${CI_COMMIT_TAG}" ]; then echo SUBCHART_DIR="nightly" ; else echo SUBCHART_DIR="stable"; fi | tee -a .VERSION_INFO
3030
# check that index is not dirty - to avoid some annoying to debug CI failures
3131
- "git diff-index --quiet HEAD -- || ( echo ERROR: Unstaged files or dirty index ; exit 1 )"
32-
# check version data and that it follows SemVer 2.0 format
33-
- echo "${VERSION}" | grep -qe '^[0-9]\+\.[0-9]\+\.[0-9]\+\(-[^+]\+\)\?\(+.*\)\?$'
3432
artifacts:
3533
paths:
3634
- .VERSION_INFO

.nvidia-ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ release:helm:
137137
variables:
138138
GIT_STRATEGY: clone
139139
only:
140+
variables:
141+
- $RELEASE_HELM == "true"
140142
refs:
141143
- master
142144
- /^v\d+\.\d+\.\d+$/

0 commit comments

Comments
 (0)