GoogleCloudPlatform / cloud-code-intellij

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

Working local build configuration on Intel Mac fails on Apple M2 #3145

Open rohanmoore opened 1 year ago

rohanmoore commented 1 year ago

(Please ensure you are running the latest version of Cloud Cloud IntelliJ with Help > Check for Updates.)

(screenshots are often helpful)

Expected Behavior

Local build completion and execution.

Actual Behavior

Application appears to build and deployment stabilise, but application fails to start, reporting simply: [olivehelper-container] Killed.

Additional Information

Logs otherwise report nothing untoward, other than: Target platforms: [linux/arm64] time="2023-06-26T00:14:22+01:00" level=warning msg="builder for artifact \"olivehelper\" doesn't support building for target platforms: \"linux/arm64\". Building for supported platforms \"linux/amd64\" instead." subtask=olivehelper task=Build

Documentation here suggests that ARM architecture is not supported by Buildpacks:

https://cloud.google.com/code/docs/intellij/arm-support

Is this correct? Does migration to Apple silicon request migration from Buildpacks to Dockerfile for local run config?

etanshaul commented 1 year ago

@rohanmoore unfortunately you are correct. At the moment cross-arch builds with buildpacks is not supported.

rohanmoore commented 1 year ago

😭 😭 😭 You’ve broken my heart.

Sent from my iPhone

On 26 Jun 2023, at 19:59, Etan Shaul @.***> wrote:



@rohanmoorehttps://github.com/rohanmoore unfortunately you are correct. At the moment cross-arch builds with buildpacks is not supported.

— Reply to this email directly, view it on GitHubhttps://github.com/GoogleCloudPlatform/cloud-code-intellij/issues/3145#issuecomment-1608064328, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC2OW7XDX26L3NC4N5YSXBLXNHL2TANCNFSM6AAAAAAZTOTIGY. You are receiving this because you were mentioned.Message ID: @.***>