Skip to content

Commit

Permalink
build(deps): bump craft-parts (#5031)
Browse files Browse the repository at this point in the history
  • Loading branch information
tigarmo authored Sep 13, 2024
1 parent 96140ad commit a24dc3e
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ craft-application==3.1.0
craft-archives==1.1.3
craft-cli==2.6.0
craft-grammar==1.2.0
craft-parts==1.33.0
craft-parts==1.33.1
craft-providers==1.24.2
craft-store==2.6.2
cryptography==42.0.8
Expand Down
2 changes: 1 addition & 1 deletion requirements-devel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ craft-application==3.1.0
craft-archives==1.1.3
craft-cli==2.6.0
craft-grammar==1.2.0
craft-parts==1.33.0
craft-parts==1.33.1
craft-providers==1.24.2
craft-store==2.6.2
cryptography==42.0.8
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ craft-application==3.1.0
craft-archives==1.1.3
craft-cli==2.6.0
craft-grammar==1.2.0
craft-parts==1.33.0
craft-parts==1.33.1
craft-providers==1.24.2
craft-store==2.6.2
cryptography==42.0.8
Expand Down
3 changes: 3 additions & 0 deletions tests/spread/core24/npm-reentrant/hello.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

console.log('hello world');
5 changes: 5 additions & 0 deletions tests/spread/core24/npm-reentrant/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions tests/spread/core24/npm-reentrant/package.json
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"
}
15 changes: 15 additions & 0 deletions tests/spread/core24/npm-reentrant/snap/snapcraft.yaml
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
11 changes: 11 additions & 0 deletions tests/spread/core24/npm-reentrant/task.yaml
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

0 comments on commit a24dc3e

Please sign in to comment.