-
Notifications
You must be signed in to change notification settings - Fork 98
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
Dev: Build, Push and Test Agones Integrations #549
Dev: Build, Push and Test Agones Integrations #549
Conversation
This builds out the `build/Makefile` tooling such that you can build, push and test the Quilkin Agones integration against either Minikube or a hosted Kubernetes cluster (tested against GKE + Artifact Registry) in one operation. Also includes: * Refactoring such that variable naming across `cargo test` and `make` targets all lined to up to be consistent. * If `IMAGE_TAG` is not present in `cargo test`, panic. * Upgrade Agones version in Terraform script. * Update release cloudbuild.yaml - include an update to changelog generator, as I found a bug in the version we were using. * More aggressive .dockerignore. Got the build context down from >3GB to ~900M, which was a big improvement in image creation speed. Work on googleforgames#510
#### Minikube | ||
|
||
This target assumes that you have a [working minikube cluster](#creating-an-agones-minikube-cluster), | ||
under the profile `quilkin`, with Agones installed, and the local `.kube` configuration is currently |
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.
In the Agones minikube documentation, it directs you to use a profile named agones
.
I went in the direction to push people to keep the Quilkin testing separate from other things, so picked a different default profile for these targets -- but what do you think, should it be agones
?
Can also change it later if it starts to annoy people.
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, I obviously haven't tested it locally but I think it's better to give that feedback as its own PR or issue.
Build Succeeded 🥳 Build Id: 2002649c-ebb5-45c2-b7a9-61df74c9bc4f To build this version:
|
What type of PR is this?
/kind feature
What this PR does / Why we need it:
This builds out the
build/Makefile
tooling such that you can build, push and test the Quilkin Agones integration against either Minikube or a hosted Kubernetes cluster (tested against GKE + Artifact Registry) in one operation.Also includes:
cargo test
andmake
targets all lined to up to be consistent.IMAGE_TAG
is not present incargo test
, panic.Which issue(s) this PR fixes:
Work on #510
Special notes for your reviewer:
Once this is merged, I can work on integrating it with our CI builds.