Repository navigation
[TRTLLM-10804][fix] Unify Docker image orchestration and nightly wheel selection - #20596
Conversation
|
/bot run --stage-list 'NGC-Container-Scaning' |
|
|
|
/bot run --stage-list 'NGC-Container-Scaning' |
|
PR_Github #79088 [ run ] triggered by Bot. Commit: |
|
PR_Github #79088 [ run ] completed with state |
|
/bot run --stage-list 'Build-Docker-Images' |
|
PR_Github #79224 [ run ] triggered by Bot. Commit: |
5d3eeac to
86d7375
Compare
|
PR_Github #79225 [ run ] triggered by Bot. Commit: |
|
PR_Github #79224 [ run ] completed with state |
…l selection Run Docker image builds once from Build-Docker-Images and derive their trigger type from the parent job. Scan the resulting images directly only when the helper returns SUCCESS, including when failures are ignored. Select build-stage wheels for nightly releases when the wheel target is enabled. Register images for nightly and postmerge builds, and disable image registration for premerge builds while retaining compliance checks. Signed-off-by: Yiteng Niu <6831097+niukuo@users.noreply.github.com>
86d7375 to
a3b3bf0
Compare
|
PR_Github #79234 [ run ] triggered by Bot. Commit: |
|
PR_Github #79225 [ run ] completed with state |
|
PR_Github #79234 [ run ] completed with state
|
|
/bot run --stage-list 'NGC-Container-Scaning,Build-Docker-Images' |
|
PR_Github #79297 [ run ] triggered by Bot. Commit: |
|
PR_Github #79297 [ run ] completed with state
|
|
/bot skip --comment "downstream job triggered as expected" |
|
PR_Github #79468 [ skip ] triggered by Bot. Commit: |
|
PR_Github #79468 [ skip ] completed with state |
yuanjingx87
left a comment
There was a problem hiding this comment.
The PR looks good. I left a comment about the SBSA release container build, which currently fails because the wheel build stage is skipped. Please disregard it if this has already been addressed in another PR.
|
Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements. |
Description
Regular Docker builds and NGC container scanning can each launch
BuildDockerImages, creating redundant builds. Route both throughBuild-Docker-Imagesand scan the resulting image manifest only after the helper returnsSUCCESS, including when build failures are configured to be ignored.Keep
triggerTypeconsistent with the actual parent job. For nightly releases, passuseWheelFromBuildStageaccording to whether the wheel target is selected; leave it unspecified for other runs.Explicitly enable nSpect image registration for nightly and postmerge builds and disable it for premerge builds, while retaining compliance checks. The helper's existing
nspect_idandactionconditions still apply.Test Coverage
UNSTABLE, interruptions, and dry runs.Full Jenkins and Docker builds were not run locally.
PR Checklist
Dev Engineer Review
Build-Docker-Imagesnow handles Docker builds and NGC container scanning.Build-Docker-ImagesreturnsSUCCESS, including ignored build failures.useWheelFromBuildStagefrom wheel-target selection.triggerTyperemains aligned with the parent job.QA Engineer Review
No test changes.
Per-File QA Perspective
jenkins/L0_MergeRequest.groovy: Verify nightly, post-merge, explicit Docker-build, and NGC scan flows. Verify scan suppression after build failure, including ignored failures, plustriggerTypevalues and nightly wheel selection.