[CI] issue: 4705805 Move doca-host installation to image - #1156
Open
ntsemah wants to merge 1 commit into
Open
Conversation
ntsemah
force-pushed
the
HPCINFRA-4061
branch
from
December 8, 2025 11:50
887764b to
c700368
Compare
Greptile OverviewGreptile SummaryThis PR moves DOCA installation from CI runtime to Docker image build time, improving CI performance and reducing network-related failures. Key changes:
The RHEL version fix in Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant CI as CI Pipeline
participant DockerBuild as Docker Build Process
participant BaseImage as Base Image
participant DocaScript as doca_install.sh
participant DocaRepo as DOCA Repository
participant FinalImage as Final Docker Image
Note over CI,FinalImage: Before this PR: Runtime Installation
CI->>BaseImage: Pull base image
CI->>CI: Run container from base image
CI->>DocaScript: Execute doca_install.sh at runtime
DocaScript->>DocaRepo: Download DOCA packages (network call)
DocaRepo-->>DocaScript: Return packages
DocaScript->>CI: Install DOCA in running container
CI->>CI: Continue with build/test steps
Note over CI,FinalImage: After this PR: Build-Time Installation
CI->>DockerBuild: Trigger image build
DockerBuild->>BaseImage: FROM base image
DockerBuild->>DockerBuild: COPY doca_install.sh to /tmp
DockerBuild->>DocaScript: RUN doca_install.sh during build
DocaScript->>DocaRepo: Download DOCA packages (network call)
DocaRepo-->>DocaScript: Return packages
DocaScript->>DockerBuild: Install DOCA in image layer
DockerBuild->>DockerBuild: Cleanup temp files
DockerBuild->>FinalImage: Build complete with DOCA pre-installed
CI->>FinalImage: Pull pre-built image with DOCA
CI->>CI: Continue with build/test steps (faster)
|
ntsemah
force-pushed
the
HPCINFRA-4061
branch
from
December 8, 2025 11:59
c700368 to
31ddf84
Compare
ntsemah
force-pushed
the
HPCINFRA-4061
branch
from
December 8, 2025 12:06
31ddf84 to
953fbbd
Compare
ntsemah
force-pushed
the
HPCINFRA-4061
branch
from
December 9, 2025 07:33
953fbbd to
0bccd45
Compare
Install doca-host during image build instead of runtime to reduce ci duration and avoid network failures. Signed-off-by: Noam Tsemah <ntsemah@nvidia.com>
ntsemah
force-pushed
the
HPCINFRA-4061
branch
from
December 9, 2025 08:26
0bccd45 to
e192543
Compare
Collaborator
Author
|
bot:retest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please provide a summary of the change.
What
Install doca-host during image build instead of runtime
Why ?
HPCINFRA-4061
reduce ci duration and avoid network failures
How ?
It is optional but for complex PRs please provide information about the design,
architecture, approach, etc.
Change type
What kind of change does this PR introduce?
Check list