-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into work/uv-plugin-add/CRAFT-3816
- Loading branch information
Showing
22 changed files
with
535 additions
and
236 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
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 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 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 |
---|---|---|
|
@@ -69,11 +69,7 @@ def fake_extensions(stub_extensions): | |
description: test-description | ||
base: [email protected] | ||
platforms: | ||
amd64: | ||
build-on: | ||
- amd64 | ||
build-for: | ||
- amd64 | ||
amd64: null | ||
parts: {} | ||
type: charm | ||
terms: | ||
|
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 |
---|---|---|
|
@@ -4,11 +4,7 @@ description: | | |
A description for an example charm with platforms. | ||
base: [email protected] | ||
platforms: | ||
amd64: | ||
build-on: | ||
- amd64 | ||
build-for: | ||
- amd64 | ||
amd64: null | ||
parts: | ||
charm: | ||
plugin: charm | ||
|
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 |
---|---|---|
|
@@ -4,11 +4,7 @@ description: | | |
A description for an example charm with platforms. | ||
base: [email protected] | ||
platforms: | ||
amd64: | ||
build-on: | ||
- amd64 | ||
build-for: | ||
- amd64 | ||
amd64: null | ||
parts: | ||
charm: | ||
plugin: charm | ||
|
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 |
---|---|---|
|
@@ -4,11 +4,7 @@ description: | | |
A description for an example charm with platforms. | ||
base: [email protected] | ||
platforms: | ||
amd64: | ||
build-on: | ||
- amd64 | ||
build-for: | ||
- amd64 | ||
amd64: null | ||
parts: | ||
charm: | ||
plugin: charm | ||
|
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 |
---|---|---|
|
@@ -4,11 +4,7 @@ description: | | |
A description for an example charm with platforms. | ||
base: [email protected] | ||
platforms: | ||
amd64: | ||
build-on: | ||
- amd64 | ||
build-for: | ||
- amd64 | ||
amd64: null | ||
parts: | ||
charm: | ||
plugin: charm | ||
|
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 |
---|---|---|
|
@@ -4,11 +4,7 @@ description: | | |
A description for an example charm with platforms. | ||
base: [email protected] | ||
platforms: | ||
amd64: | ||
build-on: | ||
- amd64 | ||
build-for: | ||
- amd64 | ||
amd64: null | ||
parts: | ||
charm: | ||
plugin: charm | ||
|
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,20 @@ | ||
name: test-charm | ||
type: charm | ||
title: test | ||
summary: test | ||
description: | | ||
A charm recipe that uses a multi-base platform syntax to define | ||
architecture independent charms for 22.04 and 24.04. | ||
platforms: | ||
jammy: | ||
build-on: [[email protected]:amd64] | ||
build-for: [[email protected]:all] | ||
noble: | ||
build-on: [[email protected]:amd64] | ||
build-for: [[email protected]:all] | ||
|
||
parts: | ||
my-charm: | ||
plugin: dump | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
test-charm_jammy.charm | ||
test-charm_noble.charm |
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,28 @@ | ||
name: test-charm | ||
type: charm | ||
title: test | ||
summary: test | ||
description: | | ||
A charm recipe that uses a multi-base platform syntax to define | ||
6 charms across different bases and architectures. | ||
platforms: | ||
# shorthand syntax | ||
[email protected]:amd64: | ||
[email protected]:riscv64: | ||
|
||
[email protected]:amd64: | ||
[email protected]:riscv64: | ||
|
||
# standard syntax | ||
noble-amd64: | ||
build-on: [[email protected]:amd64] | ||
build-for: [[email protected]:amd64] | ||
noble-riscv64: | ||
build-on: [[email protected]:riscv64] | ||
build-for: [[email protected]:riscv64] | ||
|
||
parts: | ||
my-charm: | ||
plugin: charm | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[email protected]:amd64.charm | ||
[email protected]:amd64.charm | ||
test-charm_noble-amd64.charm |
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 @@ | ||
--platform [email protected]:amd64 |
29 changes: 29 additions & 0 deletions
29
tests/spread/smoketests/multi-base/one-platform/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,29 @@ | ||
name: test-charm | ||
type: charm | ||
title: test | ||
summary: test | ||
description: | | ||
A charm recipe that uses a multi-base platform syntax to define | ||
6 charms across different bases and architectures. | ||
This test builds one of the charms using the `--platform` argument. | ||
platforms: | ||
# shorthand syntax | ||
[email protected]:amd64: | ||
[email protected]:riscv64: | ||
|
||
[email protected]:amd64: | ||
[email protected]:riscv64: | ||
|
||
# standard syntax | ||
noble-amd64: | ||
build-on: [[email protected]:amd64] | ||
build-for: [[email protected]:amd64] | ||
noble-riscv64: | ||
build-on: [[email protected]:riscv64] | ||
build-for: [[email protected]:riscv64] | ||
|
||
parts: | ||
my-charm: | ||
plugin: charm | ||
source: . |
1 change: 1 addition & 0 deletions
1
tests/spread/smoketests/multi-base/one-platform/expected-charms.txt
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 @@ | ||
[email protected]:amd64.charm |
Oops, something went wrong.