GoogleCloudPlatform / cloud-code-intellij

Plugin to support the Google Cloud Platform in IntelliJ IDEA - Docs and Issues Repository
Apache License 2.0
318 stars 59 forks source link

Support for running Cloud Run locally with Cloud Code plugin , (Apple M1 / M2 Pro) #3163

Open allenfeng-impact opened 9 months ago

allenfeng-impact commented 9 months ago

image

Expected Behavior

The jib plug-in (version 3.2.1) from build-gradle is supposed to present itself as a builder, under builder settings.

Actual Behavior

After “Analyzing builders…” the builder comes back blank.

Additional Information

The jib plug-in seems to be automatically detectable in intel-based chips(2.6 GHz 6-Core Intel Core i7).

ivanporty commented 9 months ago

Thanks for the report @allenfeng-impact!

The jib plug-in seems to be automatically detectable in intel-based chips(2.6 GHz 6-Core Intel Core i7).

So the problem with this specific project for you that it doesn't detect builders on Mac Arm machine, but does in intel-based?

hravnaas commented 9 months ago

@ivanporty Yes, that seems to be the case. The same version of IntelliJ, the same version of the jib plug-in, but different Apple HW. We don't see any builders on M1 Pro or M2 Pro. That is the only pattern we'd been able to see so far. We've tried enabling IntelliJ debug logging, but don't get any log entries when opening "Edit Configurations..." and selecting Cloud Code.