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

version related changes #144

Merged
merged 3 commits into from
May 8, 2019

Conversation

SrinivasChilveri
Copy link
Contributor

added version in vkctl, vk-admission & vk-controller

For #77

sample output

root@root1-HP-EliteBook-840-G2:/home/root1/SriniCH/workspace/src/volcano.sh/volcano# ./_output/bin/vk-admission --version
API Version: v1alpha1
Version: v0.1
Git SHA: e08f588
Built At: 2019-05-08 13:57:25
Go Version: go1.11.5
Go OS/Arch: linux/amd64
root@root1-HP-EliteBook-840-G2:/home/root1/SriniCH/workspace/src/volcano.sh/volcano# ./_output/bin/vk-controllers --version
API Version: v1alpha1
Version: v0.1
Git SHA: e08f588
Built At: 2019-05-08 13:57:22
Go Version: go1.11.5
Go OS/Arch: linux/amd64
root@root1-HP-EliteBook-840-G2:/home/root1/SriniCH/workspace/src/volcano.sh/volcano# ./_output/bin/vkctl version
API Version: v1alpha1
Version: v0.1
Git SHA: e08f588
Built At: 2019-05-08 13:57:28
Go Version: go1.11.5
Go OS/Arch: linux/amd64

Copy link
Contributor

@TommyLike TommyLike left a comment

Choose a reason for hiding this comment

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

Please update the makefile to make command make images to work as well?

)

var (
// Version shows the version of kube batch.
Copy link
Contributor

Choose a reason for hiding this comment

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

volcano

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

var (
// Version shows the version of kube batch.
Version = "Not provided."
// GitSHA shoows the git commit id of kube batch.
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed


// PrintVersionAndExit prints versions from the array returned by Info() and exit
func PrintVersionAndExit() {
apiVersion := "v1alpha1"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be moved into a seperated section outside of the function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved

@SrinivasChilveri
Copy link
Contributor Author

Please update the makefile to make command make images to work as well?

do you want me to change the image tag?

@TommyLike
Copy link
Contributor

Please update the makefile to make command make images to work as well?

do you want me to change the image tag?

version related flags are not being passed when execute make images, see here

@SrinivasChilveri
Copy link
Contributor Author

@TommyLike , seems randomly some e2e test cases are failing. as this PR doesn't have any relation with the tcs but still tcs r failed. can we trigger travis once again.

@TommyLike
Copy link
Contributor

/lgtm

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label May 8, 2019
@k82cn
Copy link
Member

k82cn commented May 8, 2019

/lgtm
/approve

@volcano-sh-bot volcano-sh-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 8, 2019
@volcano-sh-bot volcano-sh-bot merged commit 9b7e9d7 into volcano-sh:master May 8, 2019
kevin-wangzefeng pushed a commit to kevin-wangzefeng/volcano that referenced this pull request Jun 28, 2019
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants