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

Prepare for 0.8 release #471

Merged
merged 2 commits into from
May 11, 2021
Merged

Prepare for 0.8 release #471

merged 2 commits into from
May 11, 2021

Conversation

k0da
Copy link
Collaborator

@k0da k0da commented May 6, 2021

Signed-off-by: Dinar Valeev dinar.valeev@absa.africa

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')
Copy link
Member

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)"

Copy link
Collaborator Author

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

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

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.

Copy link
Member

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

Copy link
Collaborator Author

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.

Copy link
Member

Choose a reason for hiding this comment

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

@k0da
image
Yes, Deploy GSLB operator from <nothing> is a confusing incomplete statement.

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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>
@k0da k0da force-pushed the release branch 4 times, most recently from 5e0e122 to d790c0d Compare May 10, 2021 16:14
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>
@k0da k0da requested a review from ytsarev May 11, 2021 10:12
@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)
Copy link
Member

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"="" ?

Copy link
Collaborator Author

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

Copy link
Member

Choose a reason for hiding this comment

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

fancy, got it 👍

@k0da k0da merged commit 66ce54e into master May 11, 2021
@k0da k0da deleted the release branch May 12, 2021 17:24
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