canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
7 stars 11 forks source link

remote build: improve UX when credentials don't exist #337

Closed mr-cal closed 1 month ago

mr-cal commented 5 months ago

What needs to get done

Craft-application should log a message that launchpad credentials don't exist on the machine (and include the expected location).

Why it needs to get done

Particularly in non-interactive workflows (like CI jobs), the remote-builder will hang for 900 seconds waiting for authentication and not provide the user with any meaningful output of why it couldn't log in to launchpad.

syncronize-issues-to-jira[bot] commented 5 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2867.

This message was autogenerated

mr-cal commented 1 month ago

Closing because we've decided not to support using remote-build in CI. CI builds for snaps should be orchestrated via snapcraft.io.

lengau commented 4 weeks ago

What happens in an ssh session? If we get interactive, but non-desktop, sessions where this occurs we should fix those.

mr-cal commented 4 weeks ago

Seems like a reasonable scenario but I'll defer to @sergiusens to decide.