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

Fix minikube dev tooling #2662

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Conversation

markmandel
Copy link
Member

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking

/kind bug

/kind cleanup
/kind documentation
/kind feature
/kind hotfix

What this PR does / Why we need it:

The update to multi-arch images broke the minikube dev tooling, this
fixes that.

Which issue(s) this PR fixes:

N/A

Special notes for your reviewer:

Only caveat being, that I can only test on amd64 architecture. In theory, it might work on a M1, but if not, we can switch our which
images are loaded before being re-tagged based on host architecture.

The update to multi-arch images broke the minikube dev tooling, this
fixes that.

Only caveat being, that I can only test on amd64 architecture. In
theory, it might work on a M1, but if not, we can switch our which
images are loaded before being re-tagged based on host architecture.
@markmandel markmandel added kind/bug These are bugs. area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. labels Jul 7, 2022
@markmandel markmandel requested a review from roberthbailey July 7, 2022 03:48
@@ -28,7 +28,7 @@ minikube_cert_mount := ~/.minikube:$(HOME)/.minikube
# of the right version.
minikube-test-cluster: DOCKER_RUN_ARGS+=--network=host -v $(minikube_cert_mount)
minikube-test-cluster: $(ensure-build-image)
$(MINIKUBE) start --kubernetes-version v1.22.9 -p $(MINIKUBE_PROFILE) --vm-driver $(MINIKUBE_DRIVER)
$(MINIKUBE) start --kubernetes-version v1.22.9 -p $(MINIKUBE_PROFILE) --driver $(MINIKUBE_DRIVER)
Copy link
Member Author

@markmandel markmandel Jul 7, 2022

Choose a reason for hiding this comment

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

Snuck in a change - vm-driver is deprecated.

@markmandel
Copy link
Member Author

FYI: @mridulji since you tested this last and found the issue 👍🏻

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: cae45709-ddf3-4820-8db3-2f42c43d83c4

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/2662/head:pr_2662 && git checkout pr_2662
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.tag=1.25.0-e9e1a5e-amd64

$(MINIKUBE) image load $(ping_amd64_tag) -p $(MINIKUBE_PROFILE)
$(MINIKUBE) image load $(allocator_amd64_tag) -p $(MINIKUBE_PROFILE)

$(MINIKUBE) image tag $(sidecar_linux_amd64_tag) $(sidecar_tag) -p $(MINIKUBE_PROFILE)
Copy link
Member

Choose a reason for hiding this comment

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

As you noted, this seems likely to break if minikube is running on an ARM machine (e.g. an M1 mac).

Copy link
Member

Choose a reason for hiding this comment

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

I've sent #2663 to update the docs so that this knowledge is more easily discoverable.

@google-oss-prow google-oss-prow bot added the lgtm label Jul 7, 2022
@roberthbailey roberthbailey merged commit 7a59409 into googleforgames:main Jul 7, 2022
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markmandel, roberthbailey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [markmandel,roberthbailey]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@markmandel markmandel deleted the dev/minikube branch July 8, 2022 16:18
@SaitejaTamma SaitejaTamma added this to the 1.25.0 milestone Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. kind/bug These are bugs. lgtm size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants