-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only keep metadata.yaml for reactive charms (#1666)
Fixes #1654
- Loading branch information
Showing
6 changed files
with
101 additions
and
5 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
13 changes: 13 additions & 0 deletions
13
tests/integration/services/sample_projects/basic-reactive/prime/manifest.yaml
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,13 @@ | ||
charmcraft-version: 3.0-test-version | ||
charmcraft-started-at: '2020-03-14T00:00:00' | ||
bases: | ||
- name: ubuntu | ||
channel: '22.04' | ||
architectures: | ||
- amd64 | ||
analysis: | ||
attributes: | ||
- name: language | ||
result: unknown | ||
- name: framework | ||
result: unknown |
5 changes: 5 additions & 0 deletions
5
tests/integration/services/sample_projects/basic-reactive/prime/metadata.yaml
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,5 @@ | ||
description: | | ||
The most basic possible valid charmcraft.yaml that doesn't need other files and gets returned to its own value. | ||
Note that this means we cannot use short-form bases here because this charm is meant to be rewritable. | ||
name: basic-charm | ||
summary: The most basic valid charm |
17 changes: 17 additions & 0 deletions
17
tests/integration/services/sample_projects/basic-reactive/project/charmcraft.yaml
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,17 @@ | ||
type: charm | ||
name: basic-charm | ||
summary: The most basic valid charm | ||
description: | | ||
The most basic possible valid charmcraft.yaml that doesn't need other files and gets returned to its own value. | ||
Note that this means we cannot use short-form bases here because this charm is meant to be rewritable. | ||
bases: | ||
- build-on: | ||
- name: ubuntu | ||
channel: '22.04' | ||
run-on: | ||
- name: ubuntu | ||
channel: '22.04' | ||
|
||
parts: | ||
reactive: | ||
source: . |
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