Launchpad: document how to use launchpad credentials in CI
Metadata
Current evaluation
Documentation was declined: maintainers decided not to support remote-build in CI and directed Snap CI to snapcraft.io; a later comment linked secret documentation.
Resolution: closed not a bug
Reason: Maintainer mr-cal closed the issue on 2024-08-29 because remote-build was intentionally unsupported in CI, recommending snapcraft.io instead. No resolving PR or commit was identified; a later comment linked the Snapcrafters permissions and secrets guide.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Add a how-to for exporting launchpad credentials for CI.
Something like:
1. Remove existing credentials in a local build environment
2. Run remote build to log in and generate credentials
3. Replace new lines in credentials file with `\n`
4. Copy to CI environment as a secret
### Why it needs to get done
Craft-application's remote build service is commonly used in CI and its not obvious how to export credentials.
source: https://matrix.to/#/!cniCqhKpzVvOBMHAVt:matrix.org/$8WJxQbEixugw7Td5mvjB8DxvebrhfLQM8ZnDkcNvzXY?via=matrix.org&via=ubuntu.com&via=xentonix.net
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed not a bug | Documentation was declined: maintainers decided not to support remote-build in CI and directed Snap CI to snapcraft.io; a later comment linked secret documentation. | |
| stealth/space-bunny-alpha | — | closed not a bug | Launchpad CI-credential documentation was declined: maintainers chose not to support remote-build in CI and direct Snapcraft CI builds to snapcraft.io. A later comment linked the snapcrafters Permissions-and-Secrets wiki. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as unsupported. The team declined to support remote-build in CI, recommending snapcraft.io orchestration instead. Related guidance is documented at the snapcrafters wiki. | |
| qwen/qwen3.6-35b-a3b | — | — | Rejected. The project decided against supporting remote-build in CI, directing users to snapcraft.io instead. Credential export procedures are now documented on the snapcrafters wiki. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1637162 Document how to use Launchpad for building snaps | snapcraft (launchpad) | closed | Docs request for Launchpad build instructions was closed as fix-released: elopio pointed to existing guide snapcraft.io/docs/build-snaps/ci-integration#using-launchpad. Content now lives in docs/explanation/remote-build.rst. | |
| #4821 remote build: hangs when logging into Launchpad | snapcraft | closed | Partly mitigated by Launchpad retries in craft-application; the CI login hang was closed as unsupported, with snapcraft.io recommended for CI builds. |