-
Notifications
You must be signed in to change notification settings - Fork 819
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
Improve support for custom dev environments #349
Conversation
Build Failed 😱 Build Id: 558780d5-cdd1-4235-8d81-b57ad7902006 Build Logs
|
Build Failed 😱 Build Id: c05a02fe-5cf7-465f-b4a1-46170c4e5caa Build Logs
|
Build Failed 😱 Build Id: 61ff666d-6805-40de-a72e-218828c167dd Build Logs
|
Build Failed 😱 Build Id: 57d5d891-3bcc-43fb-a322-af542c212333 Build Logs
|
Build Succeeded 👏 Build Id: 21987e30-2cd6-40a7-8ae1-6c7c1a5c8805 The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
cb9ce4a
to
8738e0a
Compare
Build Succeeded 👏 Build Id: 18374f87-40fa-4748-966b-f08c00ca1678 The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
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.
Overall, LGTM, just one question, and a minor nit.
@Kuqd you've been living in this Makefile
the most lately. Any issues you see?
build/Makefile
Outdated
# | |___| |_| \__ \ || (_) | | | | | | | ||
# \_____\__,_|___/\__\___/|_| |_| |_| | ||
|
||
setup-custom-test-cluster: $(ensure-build-image) |
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.
Minor nit: for consistency sake, this should likely be called custom-test-cluster
(custom as the prefix)
Looking back, we should be consistent with the prefixes for cluster operations - gcloud
for GKE (or even gke
), minikube
for minikube, etc. Which we mostly are.
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.
I named it 'setup' on purpose because, opposed to the gcloud-test-cluster
or 'minikube-test-cluster' it's not creating the cluster, but only preparing it for agones.
WDYT?
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.
you could make that target common to every provider and rename to reflect that and use it as a post-target in gcloud-test-cluster
and minikube-test-cluster
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.
ok, will try
@victor-prodan just checking in :) I assume you're busy on #340 - just wanted to make sure you weren't waiting on anything from me. @Kuqd Did you get a chance to have a look - wanted to make sure I didn't miss anything. |
I was actually waiting for some feedback from @Kuqd. He was suspiciouly silent lately 🤔 |
I will have look, sorry guys ! |
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.
Long time ago we talked about splitting the makefile into multiple purpose makefile include. Is this the right moment ? Is it too much too ask within this review ? May be we could log an issue for it ? @markmandel
build/Makefile
Outdated
# | |___| |_| \__ \ || (_) | | | | | | | ||
# \_____\__,_|___/\__\___/|_| |_| |_| | ||
|
||
setup-custom-test-cluster: $(ensure-build-image) |
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.
you could make that target common to every provider and rename to reflect that and use it as a post-target in gcloud-test-cluster
and minikube-test-cluster
build/Makefile
Outdated
$(DOCKER_RUN) kubectl apply -f $(mount_path)/build/helm.yaml | ||
$(DOCKER_RUN) helm init --service-account helm | ||
|
||
clean-custom-test-cluster: $(ensure-build-image) $(uninstall) |
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.
same here this could be common to every provider
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.
Ok now?
@Kuqd: what do you mean by "splitting the makefile into multiple purpose makefile include" more exactly? I don't know... 😞 |
8738e0a
to
a685d96
Compare
Build Succeeded 👏 Build Id: a697a514-e0f6-4dc6-b4d1-721bbb2abf76 The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
I hope I haven't forgotten any point.... |
Build Failed 😱 Build Id: 79bdfc12-ce68-4d47-91bb-7cab3a09445c Build Logs
|
i think that was my fault, I was futzing with the cluster. |
@victor-prodan I might having multiple makefile one for build, one minikube, one for setup, etc... , using includes. But let's see that later, we should do another PR it's easier. |
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.
This is looking really good, just found a bug with starting minikube. Worked out the fix and linked below.
Other than that - squash to a single commit, and I think this is good to go.
48b0aa4
to
e686eae
Compare
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
e686eae
to
8fdc30e
Compare
CLAs look good, thanks! |
Build Succeeded 👏 Build Id: 7dcfbdd0-3d41-4f13-aebc-225c7e6dec8a The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
Build Succeeded 👏 Build Id: b29caff1-0156-4978-afea-d2ad6c52185d The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
Build Failed 😱 Build Id: 09fd97cb-1c13-4553-8da3-ce61e537fb7c Build Logs
|
You possibly hit #357 ? @markmandel do you know why
would be out of index |
@Kuqd : yes it's Mark's Bug 😉.Status.Ports is Nil... |
Yep, it's a race condition. Review and merge #357 and it will go away 👍 |
8fdc30e
to
42d5219
Compare
Build Succeeded 👏 Build Id: 48744560-bb26-4c68-9532-a8588e4caab2 The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
Issue #348