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 10 forks source link

Launchpad: document how to use launchpad credentials in CI #429

Closed mr-cal closed 2 weeks ago

mr-cal commented 3 weeks ago

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

syncronize-issues-to-jira[bot] commented 3 weeks ago

Thank you for reporting us your feedback!

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

This message was autogenerated

mr-cal commented 2 weeks ago

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