From c756e525e9039249af94d2b6279b4f24d87282cb Mon Sep 17 00:00:00 2001 From: Peixin Li Date: Fri, 11 Sep 2020 14:29:25 +0800 Subject: [PATCH] hide GPU Types from github Signed-off-by: Peixin Li --- jenkins/Jenkinsfile-blossom.premerge | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/jenkins/Jenkinsfile-blossom.premerge b/jenkins/Jenkinsfile-blossom.premerge index 7f36c3f3e04..dd4ca3bac63 100644 --- a/jenkins/Jenkinsfile-blossom.premerge +++ b/jenkins/Jenkinsfile-blossom.premerge @@ -85,11 +85,7 @@ spec: - matchExpressions: - key: nvidia.com/gpu_type operator: In - values: - - Tesla_V100S_PCIE_32GB - - Tesla_V100_PCIE_32GB - - TITAN_RTX - - Tesla_T4 + values: GPU_TYPES """ def githubHelper // blossom github helper @@ -122,6 +118,7 @@ pipeline { // TODO: rename this credential after we shutdown premerge pipeline on ngcc URM_CREDS = credentials("svcngcc_artifactory") URM_URL = "https://${ArtifactoryConstants.ARTIFACTORY_NAME}/artifactory/sw-spark-maven" + GPU_TYPES = credentials("pre-merge_gpu_types") } stages { @@ -192,6 +189,7 @@ pipeline { uploadDocker(IMAGE_PREMERGE) pluginPremerge = pluginPremerge.replace("IMAGE_PREMERGE", "$IMAGE_PREMERGE") + pluginPremerge = pluginPremerge.replace("GPU_TYPES", "$GPU_TYPES") } } }