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

Set driver version in the binary based on release version #25

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

hlts2
Copy link
Member

@hlts2 hlts2 commented Nov 6, 2024

WHAT

The release version has been modified to be mappable to the binary.
Additionally, a flag to output the version information has been added.
This allows the version information to be checked without making an RPC call.

WHY

The version information of binary is incorrect. (The value returned by the RPC will be 0.0.1.)

FYI

This PR has been tested using the following methods.

  1. Docker build
$ make VERSION=v1.10.4 docker
  1. Run docker contianer
    This version will be returned by RPC
$ docker run --rm {IMAGE_ID} --version
7:08AM INF CSI driver version=v1.10.4

@hlts2
Copy link
Member Author

hlts2 commented Nov 6, 2024

@rytswd @DMajrekar @Praveen005
When you have a moment, could you please review this PR? 🙇

Dockerfile Show resolved Hide resolved
@hlts2 hlts2 self-assigned this Nov 6, 2024
@Praveen005 Praveen005 merged commit ccf133c into civo:master Nov 6, 2024
2 checks passed
@hlts2 hlts2 deleted the fix/set-driver-version-info branch November 6, 2024 14:59
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.

2 participants