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
Added Kustomize, Helm, and Kubectl to argocd version
#2329
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2329 +/- ##
=======================================
Coverage 38.53% 38.53%
=======================================
Files 103 103
Lines 14732 14732
=======================================
Hits 5677 5677
Misses 8294 8294
Partials 761 761 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a Golang semver library that you could take advantage of?
func TestVersion(t *testing.T) { | ||
ver, err := Version() | ||
assert.NoError(t, err) | ||
SemverRegexValidation := `^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not very pretty, but the best way I found to validate semvers
If you sync with master you may find your build is fixed. Don't forget to re-request a review when you're ready. |
Thanks @alexec. Looks like we're good for the re-review, @jessesuen |
@jessesuen been off for a few days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. just resolve conflicts and we'll merge it in.
@alexec @jessesuen This should be good to go! |
@jessesuen do you want to merge? |
Closes: #2311