Skip to content

Instantly share code, notes, and snippets.

@marcoceppi
Forked from AdamIsrael/layered-charm-submit.md
Last active April 2, 2016 05:43
Show Gist options
  • Save marcoceppi/830eca9fcb4aee91ed4374ef58d1ce9c to your computer and use it in GitHub Desktop.
Save marcoceppi/830eca9fcb4aee91ed4374ef58d1ce9c to your computer and use it in GitHub Desktop.

Assumptions: the charm name is fluentd

Submitting a layered charm

Register an account on launchpad, if you don't already have one. You'll need the name later in the process.

  1. Create a launchpad branch of the deployable charm
[~/charms/layers/fluentd] $ charm build
[~/charms/layers/fluentd] $ cd ~/charms/builds/fluentd
[~/charms/trusty/fluentd] $ charm login
Username: marcoceppi
Password: 

In order to have your charm in the Recommended namespace in the charm store, you'll need to submit it for review.

  1. Open a bug report in ~charms, with the summary "New charm: fluentd". Under Further Information, provide the link to the charm layer. For example:

    Source for this charm is available here:

    https://github.com/AdamIsrael/layer-fluentd-example

And submit the bug report. The url of the filed bug report will contain the bug id, i.e., https://bugs.launchpad.net/charms/+bug/1560167 would be bug #1560167, which we'll need for the next step.

  1. Navigate to your launchpad branch, https://code.launchpad.net/~/charms/trusty/fluentd/trunk, select Link a bug report, paste the bug report #, press enter, and select Link bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment