Skip to content

Commit

Permalink
chore: move ca-certificates_data to slice def
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Jan 3, 2025
1 parent dc787d0 commit 98fbdd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rockcraft/extensions/expressjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class ExpressJSFramework(Extension):
"package-lock.json",
"node_modules",
]
RUNTIME_DEBS = ["ca-certificates_data", "node"]
RUNTIME_SLICES = ["libpq5"]
RUNTIME_DEBS = ["node"]
RUNTIME_SLICES = ["ca-certificates_data", "libpq5"]

@staticmethod
@override
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/extensions/test_expressjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,12 @@ def test_expressjs_extension_default(
"expressjs-framework/runtime-debs": {
"plugin": "nil",
"stage-packages": [
"ca-certificates_data",
"node",
],
},
"expressjs-framework/runtime-slices": {
"plugin": "nil",
"stage-packages": ["libpq5"],
"stage-packages": ["ca-certificates_data", "libpq5"],
},
},
"services": {
Expand Down

0 comments on commit 98fbdd9

Please sign in to comment.