cloud-code-intellij icon indicating copy to clipboard operation
cloud-code-intellij copied to clipboard

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

Open allenfeng-impact opened this issue 2 years ago • 2 comments

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

  • IDE type (e.g. IntelliJ, Pycharm): IntelliJ
  • IDE version: IntelliJ IDEA 2023.2.1 (Ultimate Edition)
  • Cloud Code version (Settings > Plugins > Cloud Code): 23.9.1
  • Cloud SDK (Settings > Cloud Code > Cloud SDK)
    • Are you allowing the plugin to manage the Cloud SDK: No
    • Version of the Cloud SDK: N/A
  • Skaffold version (If you are using Kubernetes features; Settings > Cloud Code > Kubernetes): N/A
  • Operating System: MacOS 13.5.2 (22G91)

allenfeng-impact avatar Sep 14 '23 20:09 allenfeng-impact

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?

ivanporty avatar Sep 15 '23 16:09 ivanporty

@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.

hravnaas avatar Sep 15 '23 17:09 hravnaas