-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(merge): 8.3-8.4 into main (#5044)
- Loading branch information
Showing
28 changed files
with
284 additions
and
62 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
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: 1 addition & 0 deletions
1
tests/spread/core22/remote-build/snaps/build-for-arg/arguments.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 @@ | ||
--build-for amd64,s390x |
2 changes: 2 additions & 0 deletions
2
tests/spread/core22/remote-build/snaps/build-for-arg/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 @@ | ||
test-snap-build-for-arg-core22_1.0_amd64.snap | ||
test-snap-build-for-arg-core22_1.0_s390x.snap |
12 changes: 12 additions & 0 deletions
12
tests/spread/core22/remote-build/snaps/build-for-arg/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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: test-snap-build-for-arg-core22 | ||
base: core22 | ||
version: "1.0" | ||
summary: Test snap for remote build | ||
description: Test snap for remote build | ||
|
||
grade: stable | ||
confinement: strict | ||
|
||
parts: | ||
my-part: | ||
plugin: nil |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env node | ||
|
||
console.log('hello world'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 @@ | ||
{ | ||
"name": "npm-hello", | ||
"version": "1.0.0", | ||
"description": "Testing grounds for snapcraft integration tests", | ||
"bin": { | ||
"npm-hello": "hello.js" | ||
}, | ||
"scripts": { | ||
"npm-hello": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "GPL-3.0" | ||
} |
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,15 @@ | ||
name: npm-reentrant | ||
version: "1.0" | ||
summary: test the npm plugin | ||
description: Check that the npm plugin works across snapcraft calls | ||
|
||
confinement: strict | ||
grade: devel | ||
base: core24 | ||
|
||
parts: | ||
hello: | ||
source: . | ||
plugin: npm | ||
npm-include-node: true | ||
npm-node-version: 22.1.0 |
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,11 @@ | ||
summary: Pull, then Build, a Node snap | ||
|
||
execute: | | ||
snapcraft pull | ||
snapcraft build | ||
snapcraft pack | ||
test -f npm-reentrant*.snap | ||
restore: | | ||
snapcraft clean | ||
rm -f ./*.snap |
1 change: 1 addition & 0 deletions
1
tests/spread/core24/platforms/snaps/implicit-build-for/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 @@ | ||
implicit-build-for_1.0_riscv64.snap |
15 changes: 15 additions & 0 deletions
15
tests/spread/core24/platforms/snaps/implicit-build-for/snap/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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: implicit-build-for | ||
version: "1.0" | ||
summary: test | ||
description: | | ||
Use the platform name implicitly for the `build-for`. | ||
confinement: strict | ||
base: core24 | ||
|
||
platforms: | ||
riscv64: | ||
build-on: [amd64] | ||
|
||
parts: | ||
my-part: | ||
plugin: nil |
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: 1 addition & 0 deletions
1
tests/spread/core24/remote-build/snaps/build-for-arg/arguments.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 @@ | ||
--build-for amd64,s390x |
2 changes: 2 additions & 0 deletions
2
tests/spread/core24/remote-build/snaps/build-for-arg/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 @@ | ||
test-snap-build-for-arg-core24_1.0_amd64.snap | ||
test-snap-build-for-arg-core24_1.0_s390x.snap |
12 changes: 12 additions & 0 deletions
12
tests/spread/core24/remote-build/snaps/build-for-arg/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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: test-snap-build-for-arg-core24 | ||
base: core24 | ||
version: "1.0" | ||
summary: Test snap for remote build | ||
description: Test snap for remote build | ||
|
||
grade: stable | ||
confinement: strict | ||
|
||
parts: | ||
my-part: | ||
plugin: nil |
1 change: 1 addition & 0 deletions
1
tests/spread/core24/remote-build/snaps/platform-arg/arguments.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 @@ | ||
--platform amd64,s390x |
2 changes: 2 additions & 0 deletions
2
tests/spread/core24/remote-build/snaps/platform-arg/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 @@ | ||
test-snap-platform-arg-core24_1.0_amd64.snap | ||
test-snap-platform-arg-core24_1.0_s390x.snap |
12 changes: 12 additions & 0 deletions
12
tests/spread/core24/remote-build/snaps/platform-arg/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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: test-snap-platform-arg-core24 | ||
base: core24 | ||
version: "1.0" | ||
summary: Test snap for remote build | ||
description: Test snap for remote build | ||
|
||
grade: stable | ||
confinement: strict | ||
|
||
parts: | ||
my-part: | ||
plugin: nil |
Oops, something went wrong.