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

Cloud-Code plugin does not save deployment profile anymore #3118

Open fbouton opened 1 year ago

fbouton commented 1 year ago

Impossible to select a profile anymore : This parameter is not saved and not applied when running the saved configuration. In this example, "dev" won't be saved and the runner will just deploy in the current Kubernetes cluster/namespace. This is very annoying.

image

Additional Information

image

sripasg commented 1 year ago

Thank you for reporting. We will look into this and get back.

etanshaul commented 1 year ago

hi @fbouton does this still happen in Cloud Code 22.12.1? Do you recall in which version of the plugin this started happening?

ivanporty commented 1 year ago

We have just made some updates in the latest release 23.1.1, could you please try to upgrade and see if it helps you?

akakjs commented 1 year ago

Hey, just to confirm this issue appears to still be there in 23.1.1-222.

It looks like the previously selected Deployment Profile isn't loaded into the UI state when the edit configuration screen is opened, so it changes back to default. Resulting in the loss of the previously selected profile on Apply or OK unless you re-set it every time.

sripasg commented 1 year ago

Thank you. We will investigate a bit deeper and get back here in a day or two. Thanks for the patience.

sripasg commented 1 year ago

After a fresh install of Go land 2022.3.2. | cloud code plugin 23.1.1 -- I created multiple deployment profiles for kubernetes and saved different parameters for each profile (build/deploy config), Repo image etc and they persisted over reboots of the IDE.

Two followup questions please:

image