-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ubuntu Jammy support. * Add build instructions to README.md
- Loading branch information
Showing
5 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,21 @@ To monitor additional applications, simply relate the filebeat subordinate: | |
|
||
juju add-relation filebeat:beats-host my-charm | ||
|
||
## Build and publish new versions | ||
|
||
This charm uses the reactive framework. `charm pack` is used to build a | ||
deployable charm. In order to publish new versions of the charm, the following | ||
commands need to be run: | ||
|
||
**Note:** Use appropriate revision number in `charmcraft release` command. | ||
|
||
``` | ||
charmcraft pack | ||
charmcraft upload filebeat_ubuntu-22.04-amd64_ubuntu-20.04-amd64_ubuntu-18.04-amd64.charm | ||
charmcraft release filebeat --revision=34 --channel=edge | ||
charmcraft status filebeat | ||
``` | ||
|
||
## Contact Information | ||
|
||
- <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Learn more about charmcraft.yaml configuration at: | ||
# https://juju.is/docs/sdk/charmcraft-config | ||
# This is a template `charmcraft.yaml` file for reactive charms | ||
# This file is managed by bootstack-charms-spec and should not be modified | ||
# within individual charm repos. https://launchpad.net/bootstack-charms-spec | ||
|
||
type: charm | ||
|
||
parts: | ||
charm: | ||
source: ./ | ||
plugin: reactive | ||
build-snaps: [ charm ] | ||
|
||
bases: | ||
- build-on: | ||
- name: ubuntu | ||
channel: "20.04" | ||
architectures: ["amd64"] | ||
run-on: | ||
- name: ubuntu | ||
channel: "22.04" | ||
architectures: | ||
- amd64 | ||
- name: ubuntu | ||
channel: "20.04" | ||
architectures: | ||
- amd64 | ||
- name: ubuntu | ||
channel: "18.04" | ||
architectures: | ||
- amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.