-
Notifications
You must be signed in to change notification settings - Fork 101
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
Fix upgrade-candidate #716
Conversation
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.
It probably duplicates the build step in the pipeline
going to fix |
Yes.
|
6cf7fb1
to
14c83ee
Compare
14c83ee
to
77d6839
Compare
All green, can be reviewed again... |
Makefile
Outdated
.PHONY: upgrade-candidate | ||
upgrade-candidate: ## Upgrade k8gb to the test version on existing clusters | ||
.PHONY: deploy-semver | ||
deploy-semver: ## Upgrade k8gb to the test version on existing clusters |
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.
deploy-semver: ## Upgrade k8gb to the test version on existing clusters | |
deploy-test-version: ## Upgrade k8gb to the test version on existing clusters |
I might be missing something but deploy-semver
is a bit confusing target name here
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.
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.
Agreed, using the word semver
in this context is quite misleading. Semantic versioning talks about the versioning scheme, when to raise each component of that x.y.z
triplet. So even the stable
actually deploys a version (latest released in dockerhub) that conforms the semver.
The makefile also operate with word "candidate", this is much closer to what it is, imho. Or test-version
or latest
vs latest-released
(=stable).
The version/container tag it actually produces looks like x.y.z-gitsha
and from what I've seen it's pretty much the same semantics as the x.y.z-SNAPSHOT
versions from the Java world
`upgrade-candidate` - the target for deploying the current version of k8gb to local k3d clusters tried to deploy a local image that did not exist. Here is the fix. The go install command behaves almost identically to go build, but instead of leaving the executable in the current directory, or a directory specified by the -o flag, it places the executable into the $GOBIN directory. goreleaser can be found and removed from there any time. Signed-off-by: kuritka <[email protected]>
77d6839
to
72a049b
Compare
It still duplicates build, GHA builds image already |
@k0da are you sure?
|
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, thanks!
|
upgrade-candidate
- the target for deploying the current version ofk8gb to local k3d clusters tried to deploy a local image that did not exist.
Here is the fix.
Signed-off-by: kuritka [email protected]