-
Notifications
You must be signed in to change notification settings - Fork 99
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
Prepare for 0.8 release #471
Conversation
Makefile
Outdated
$(call deploy-local-cluster,$(CLUSTER_GSLB1),$(CLUSTER_GSLB2),$(VERSION),,'k8gb/k8gb') | ||
$(call deploy-local-cluster,$(CLUSTER_GSLB2),$(CLUSTER_GSLB1),$(VERSION),$(CLUSTER_GSLB2_HELM_ARGS),'k8gb/k8gb') | ||
$(call deploy-local-cluster,$(CLUSTER_GSLB1),$(CLUSTER_GSLB2),,,'k8gb/k8gb') | ||
$(call deploy-local-cluster,$(CLUSTER_GSLB2),$(CLUSTER_GSLB1),,$(CLUSTER_GSLB2_HELM_ARGS),'k8gb/k8gb') |
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.
https://github.com/AbsaOSS/k8gb/blob/bf5bc287c207326cc70bd9ab164f3ed34176f8c8/Makefile#L353
will be confusingly empty
Consider changing
@echo "\n$(YELLOW)Deploy GSLB operator from $3 $(NC)"
to
@echo "\n$(YELLOW)Deploy GSLB operator from ${3:-stable chart} $(NC)"
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.
@ytsarev thanks for suggestion, amended
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.
https://github.com/AbsaOSS/k8gb/pull/471/checks?check_run_id=2534570627#step:5:17 unfortunately it takes empty string as a value
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.
@ytsarev which is fine, it takes "released" image then.
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.
@k0da i'm talking about empty value in the log statement
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.
@ytsarev is it confusing? I think making it conditional will complicates make file quite a bit. I don't see harm setting a value to be empty.
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.
@k0da
Yes, Deploy GSLB operator from <nothing>
is a confusing incomplete statement.
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.
@ytsarev , I see now. Let me think I can fix it
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.
@ytsarev I think I got it. Please check again.
Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
5e0e122
to
d790c0d
Compare
Don't pass version into deploy-with-helm so imageTag is set to the version from released chart. Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
@echo "\n$(YELLOW)Deploy GSLB operator from $3 $(NC)" | ||
$(call deploy-k8gb-with-helm,$1,$2,$3,$4,$5) | ||
@echo "\n$(YELLOW)Deploy GSLB operator from ${3} $(NC)" | ||
$(call deploy-k8gb-with-helm,$1,$2,${3:"stable"=""},$4,$5) |
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.
If we always pass STABLE_VERSION
, why do we need "stable"=""
?
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.
@ytsarev thats string replacement. So helm imageTag will be empty and latest from chart repo will be taken
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.
fancy, got it 👍
Signed-off-by: Dinar Valeev dinar.valeev@absa.africa