Skip to content

Conversation

@kolluria
Copy link
Contributor

@kolluria kolluria commented Dec 28, 2025

Summary

This PR introduces:

  • make cover-images - Build coverage images locally
  • make push-cover-images - Build and push to registry with custom registry support

The implementation builds coverage binaries locally (leveraging Go cache) and then copies them into minimal Docker images.

Usage:

# Build coverage images
make cover-images

# Build and push to custom registry
make push-cover-images CSI_REGISTRY=myregistry.com/myproject/

Which issue this PR fixes: fixes # N/A

Testing done:

  • Verified images are built successfully
  • Tested push to custom registry
  • Verified images can be pulled from registry

Special notes for your reviewer:
N/A

Release note:

Add make targets for building coverage-enabled images: `make cover-images` builds images, `make push-cover-images` builds and pushes to the specified registry.

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 28, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kolluria

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Dec 28, 2025
@kolluria kolluria force-pushed the make-cover branch 2 times, most recently from 234af7c to 9fcdad5 Compare December 28, 2025 14:29
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Dec 28, 2025
@kolluria kolluria changed the title Feat - Make command to build coverage enabled images Feat - Make target to build coverage enabled images Dec 28, 2025
@kolluria kolluria force-pushed the make-cover branch 2 times, most recently from 23e103c to 0ea0e99 Compare December 28, 2025 14:44
@kolluria kolluria marked this pull request as ready for review December 28, 2025 14:47
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 28, 2025
@kolluria kolluria changed the title Feat - Make target to build coverage enabled images Feat - Make target to build/push coverage enabled images Dec 28, 2025
- Add hack/cover-images.sh with prerequisite validation
- Add Dockerfiles for coverage images (driver & syncer)
- Add Makefile targets: cover-images, push-cover-images
- Support custom registry with proper naming conventions
@kolluria
Copy link
Contributor Author

/cc @divyenpatel @xing-yang
/assign @kolluria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants