Why doesn't external or remote external tool work when added to Before Launch in Go Remote Configuration?

Answered

I have created a go remote configuration that has some Before Launch commands. It builds the docker image. Since push isn't available, I added a external tool that executes the command that pushes the image. But the command does not execute. Is this a bug or am I doing something wrong here?

0
3 comments

Hello,

Could you please share more details e.g. screenshots of your Go Remote configuration and External Tool configuration?

What version of GoLand are you using (Help | FInd Action | About)?

0

Hello. I am running version 2022.2.4 of Goland (Build #GO-222.4345.24, built on October 11, 2022) I wouldn't be able to share the exact details but I'll describe them.

Go Remote configuration has four Before Launch actions: 1. Build image, 2. Push Image (External Tool), 3. Update Image (Remote External Tool), and 4. Run the container (Remote External Tool).

The Build Image action works well. But after the image is built it isn't pushed. When I run the External Tool manually, it opens up a Console and executes the command, and that works fine, the image gets pushed. But when Debugging that fails. I see some "disturbance" in the console/services region. Like something opens up and closes very quickly. It is too fast for me to get a look at it.

Let me know if you need logs. I will be able to share them.

0
Hello, could you please collect the IDE logs via `Help | Collect Logs and Diagnostic Data` and upload them to https://uploads.jetbrains.com/, then provide its ID?
0

Please sign in to leave a comment.