File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 8484 tty: true
8585 nodeSelector:
8686 kubernetes.io/os: linux
87- affinity:
88- nodeAffinity:
89- requiredDuringSchedulingIgnoredDuringExecution:
90- nodeSelectorTerms:
91- - matchExpressions:
92- - key: nvidia.com/gpu_type
93- operator: In
94- values: GPU_TYPES
87+ nvidia.com/gpu_type: GPU_TYPE
9588"""
9689
9790def githubHelper // blossom github helper
@@ -123,7 +116,7 @@ pipeline {
123116 GITHUB_TOKEN = credentials(" github-token" )
124117 URM_CREDS = credentials(" urm_creds" )
125118 URM_URL = " https://${ ArtifactoryConstants.ARTIFACTORY_NAME} /artifactory/sw-spark-maven"
126- GPU_TYPES = credentials(" pre-merge_gpu_types " )
119+ GPU_TYPE = credentials(" pre-merge_gpu_type " )
127120 PVC = credentials(" pvc" )
128121 CUSTOM_WORKSPACE = " /home/jenkins/agent/workspace/${ BUILD_TAG} "
129122 }
@@ -197,7 +190,7 @@ pipeline {
197190 uploadDocker(IMAGE_PREMERGE )
198191
199192 pluginPremerge = pluginPremerge. replace(" IMAGE_PREMERGE" , " $IMAGE_PREMERGE " )
200- pluginPremerge = pluginPremerge. replace(" GPU_TYPES " , " $G PU_TYPES " )
193+ pluginPremerge = pluginPremerge. replace(" GPU_TYPE " , " $G PU_TYPE " )
201194 }
202195 }
203196 }
You can’t perform that action at this time.
0 commit comments