Hi, we are building our snaps and images on our CI and it’s really inconvenient that they expire quickly all the time. Causes the builds to fail with this error.
error: user credentials need to be refreshed but update in place only supported in snapd
for snapcraft and CI nowadays there’s snapcraft export-login which takes an --expires, I don’t remember if there’s a maximum for it though. The output of that can be used with ubuntu-image as well.
There is nothing equivalent for snapd itself though.
But now noticed that I misread the user problem, it’s about soft-expiration, that is something we don’t have a good solution for atm for snapd stuff. I dont’ know about snapcraft.