Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multistage go build for docker image building #61

Merged
merged 6 commits into from
Jan 23, 2024
Merged

Conversation

KshitijaKakde
Copy link
Contributor

Description

Multistage go build for docker image building

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1098

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

Build the docker image
image

image

Cert-csi vgs suite
image

Dockerfile Outdated
LABEL vendor="Dell Inc." \
name="dellcsi-vg-snapshotter" \
summary="CSI VG Snapshotter for Dell EMC Powerflex" \
summary="CSI VG Snapshotter for Dell EMC PowerFlex" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KshitijaKakde Since this is being used by both driver i.e. powerstore and powerflex, Can we add PoweFlex/PowerStore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


# set the REGISTRY if needed
ifeq ($(REGISTRY),)
export REGISTRY="$(DEFAULT_REGISTRY)"
endif

# set the GOVERSION if needed
ifeq ($(GOVERSION),)
export GOVERSION="$(DEFAULT_GOVERSION)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KshitijaKakde Could you kindly expand the overrides-help segment intended for the help page display? As we're introducing a new argument, it is advisable to incorporate it into the current list.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@KshitijaKakde KshitijaKakde merged commit 1266aef into main Jan 23, 2024
2 of 4 checks passed
@anandrajak1 anandrajak1 deleted the multi-stage branch October 17, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants