Skip to content

Commit 6a9b4b1

Browse files
authored
[https://nvbugs/5433581][infra] Temporarily disable Docker Image use wheel from build stage (#6630)
Signed-off-by: ZhanruiSunCh <[email protected]>
1 parent 78a75c2 commit 6a9b4b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jenkins/BuildDockerImage.groovy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ LLM_DEFAULT_TAG = env.defaultTag ?: "${LLM_SHORT_COMMIT}-${LLM_BRANCH_TAG}-${BUI
2929
RUN_SANITY_CHECK = params.runSanityCheck ?: false
3030
TRIGGER_TYPE = env.triggerType ?: "manual"
3131

32+
ENABLE_USE_WHEEL_FROM_BUILD_STAGE = params.useWheelFromBuildStage ?: false
33+
3234
WAIT_TIME_FOR_BUILD_STAGE = 60 // minutes
3335

3436
BUILD_JOBS = "32"
@@ -193,6 +195,11 @@ def createKubernetesPodConfig(type, arch = "amd64", build_wheel = false)
193195

194196

195197
def prepareWheelFromBuildStage(dockerfileStage, arch) {
198+
if (!ENABLE_USE_WHEEL_FROM_BUILD_STAGE) {
199+
echo "useWheelFromBuildStage is false, skip preparing wheel from build stage"
200+
return ""
201+
}
202+
196203
if (TRIGGER_TYPE != "post-merge") {
197204
echo "Trigger type is not post-merge, skip preparing wheel from build stage"
198205
return ""

0 commit comments

Comments
 (0)