canonical / pebble

Take control of your internal daemons!
GNU General Public License v3.0
136 stars 51 forks source link

fix: avoid legacy Snapcraft location for LP creds #425

Closed cjdcordeiro closed 1 month ago

cjdcordeiro commented 1 month ago

Fixes https://github.com/canonical/pebble/actions/runs/9392436751/job/25867410242

Recent CI runs started failing as Snapcraft is no longer considering the legacy location for Launchpad credentials, "$XDG_DATA_DIR/snapcraft/provider/launchpad/credentials".

This PR changes the snap.yml such that it now uses "$XDG_DATA_DIR/snapcraft/launchpad-credentials" instead.

Reference: https://git.launchpad.net/snapcraft/commit/?id=83b67923d11200bc8dd8e75ec46df2644d70659d Edit: the legacy path was officially deprecated in 8.2.0

benhoyt commented 1 month ago

Thank you!