-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(remotebuild)!: filter build-plan with --build-for, drop --platfo…
…rm (#5216) * Allows using `--build-for` to filter entries in the `architectures` or `platforms` keys in a project file. * Drops the `--platform` argument. * Catches Launchpad errors, which were percolating up as internal errors. Signed-off-by: Callahan Kovacs <[email protected]>
- Loading branch information
Showing
51 changed files
with
308 additions
and
261 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
2 changes: 1 addition & 1 deletion
2
tests/spread/core20/remote-build-legacy/snaps/all/expected-snaps.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 |
---|---|---|
@@ -1 +1 @@ | ||
test-snap-all-core20_1.0_all.snap | ||
all-core20_1.0_all.snap |
2 changes: 1 addition & 1 deletion
2
tests/spread/core20/remote-build-legacy/snaps/all/snapcraft.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: test-snap-all-core20 | ||
name: all-core20 | ||
base: core20 | ||
version: "1.0" | ||
summary: Test snap for remote build | ||
|
2 changes: 0 additions & 2 deletions
2
tests/spread/core20/remote-build-legacy/snaps/architectures/expected-snaps.txt
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
tests/spread/core20/remote-build-legacy/snaps/archs/expected-snaps.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,2 @@ | ||
archs-core20_1.0_amd64.snap | ||
archs-core20_1.0_arm64.snap |
2 changes: 1 addition & 1 deletion
2
...legacy/snaps/architectures/snapcraft.yaml → ...e-build-legacy/snaps/archs/snapcraft.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
1 change: 0 additions & 1 deletion
1
tests/spread/core20/remote-build-legacy/snaps/no-architectures/expected-snaps.txt
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
tests/spread/core20/remote-build-legacy/snaps/no-archs/expected-snaps.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 @@ | ||
no-archs-core20_1.0_amd64.snap |
2 changes: 1 addition & 1 deletion
2
...acy/snaps/no-architectures/snapcraft.yaml → ...uild-legacy/snaps/no-archs/snapcraft.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
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
1 change: 0 additions & 1 deletion
1
tests/spread/core22/remote-build-legacy/snaps/no-architectures/expected-snaps.txt
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
tests/spread/core22/remote-build-legacy/snaps/no-archs/expected-snaps.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 @@ | ||
no-archs-core22_1.0_amd64.snap |
2 changes: 1 addition & 1 deletion
2
...-build/snaps/build-for-arg/snapcraft.yaml → ...uild-legacy/snaps/no-archs/snapcraft.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
Oops, something went wrong.