Commit Graph

4716 Commits

Author SHA1 Message Date
Felipe Lalanne
021fa1ccb8 Uninstall containers using force remove
When uninstalling a container for a restart from the API on when
moving between releases, this prefers to force remove the container
rather than stop then remove. This has the same effect in the end, but
force remove is an atomic call, meaning if the supervisor is killed
between the stop and remove, the engine will proceed with the operation
and the supervisor will know to recover from the target state after the
restart.

Change-type: patch
Relates-to: #2257
2024-05-07 21:31:28 -04:00
flowzone-app[bot]
76ba0d8f6c
v16.3.2 2024-05-06 01:53:49 +00:00
balena-renovate[bot]
a02e672eb2
Merge pull request #2327 from balena-os/renovate/balena-io-deploy-to-balena-action-2.0.x
Update balena-io/deploy-to-balena-action action to v2.0.65
2024-05-06 01:52:45 +00:00
Self-hosted Renovate Bot
9945629f0a Update balena-io/deploy-to-balena-action action to v2.0.65
Update balena-io/deploy-to-balena-action from 2.0.63 to 2.0.65

Change-type: patch
2024-05-06 01:33:52 +00:00
flowzone-app[bot]
0a5c041496
v16.3.1 2024-05-01 01:06:26 +00:00
flowzone-app[bot]
e22bd2386a
Merge pull request #2328 from balena-os/update-contrato-0.9.4
Update @balena/contrato to 0.9.4
2024-05-01 01:05:35 +00:00
Christina Ying Wang
1dcd156fc8 Update @balena/contrato to 0.9.4
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-30 16:39:49 -07:00
flowzone-app[bot]
213ecdef86
v16.3.0 2024-04-30 21:13:14 +00:00
flowzone-app[bot]
406334037e
Merge pull request #2325 from balena-os/add-rpi-crypt-mount
Add rpi crypt mount
2024-04-30 21:12:04 +00:00
Christina Ying Wang
3017ca6308 Add rpi support to balenaOS secure boot
- Loop through `rpi`, `efi` for crypt boot mount
- Remove `exit 1` from dbus_get_mount

Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-30 13:52:24 -07:00
flowzone-app[bot]
4f24d5e6e7
v16.2.37 2024-04-29 22:28:48 +00:00
balena-renovate[bot]
5873745f9e
Merge pull request #2326 from balena-os/renovate/balena-io-deploy-to-balena-action-2.0.x
Update balena-io/deploy-to-balena-action action to v2.0.63
2024-04-29 22:28:01 +00:00
Self-hosted Renovate Bot
6c2a07bd77 Update balena-io/deploy-to-balena-action action to v2.0.63
Update balena-io/deploy-to-balena-action from 2.0.62 to 2.0.63

Change-type: patch
2024-04-29 22:09:00 +00:00
flowzone-app[bot]
09d9302345
v16.2.36 2024-04-29 19:54:56 +00:00
flowzone-app[bot]
7234e200d8
Merge pull request #2322 from balena-os/update-dependencies-node-20-pt-3
Update dependencies node 20 pt 3
2024-04-29 19:53:57 +00:00
Christina Ying Wang
23ba3e4384 Remove unused event-stream dependency
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-29 12:25:07 -07:00
Christina Ying Wang
f510dd9a80 Update io-ts to 2.2.20, io-ts-reporters to 2.0.1, fp-ts to 2.16.5
TODO: Upgrading io-ts to 2.2.21 will result in some unit tests for
io-ts type validation breaking, due to a change in t.record's handling
of decoding unknown objects. In <2.2.21, a record with a custom key type
will decode an unknown object to Left if it has a key is not of the custom
type. Whereas in io-ts@2.2.21, t.record will strip the invalid key and
decode to Right. This is a breaking change for us.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-29 12:24:05 -07:00
flowzone-app[bot]
0382d27c90
v16.2.35 2024-04-29 16:10:05 +00:00
Page-
1d1fb6885c
Merge pull request #2324 from balena-os/update-type-dependencies
Update @types dependencies
2024-04-29 17:09:17 +01:00
Pagan Gazzard
4adf710520 Update @types dependencies
Change-type: patch
2024-04-29 16:29:07 +01:00
flowzone-app[bot]
43e5713149
v16.2.34 2024-04-29 15:10:08 +00:00
Page-
70e7717045
Merge pull request #2323 from balena-os/husky-9
Dev: update husky to v9
2024-04-29 16:08:57 +01:00
Pagan Gazzard
7df3c1f5fc Dev: update husky to v9
Change-type: patch
2024-04-29 14:06:54 +01:00
flowzone-app[bot]
be32a2e689
v16.2.33 2024-04-26 19:51:40 +00:00
flowzone-app[bot]
934b6a082c
Merge pull request #2259 from balena-os/dockerode
Update docker related dependencies
2024-04-26 19:50:49 +00:00
Felipe Lalanne
ae823fea18 Update docker related dependencies
This bumps dockerode, removes resin-docker-build in favor of
@balena/compose, and updates docker-delta and docker-progress packages.

Change-type: patch
2024-04-26 12:03:04 -04:00
flowzone-app[bot]
15bccbf6b3
v16.2.32 2024-04-26 01:51:56 +00:00
balena-renovate[bot]
773c093591
Merge pull request #2314 from balena-os/renovate/balena-io-deploy-to-balena-action-2.0.x
Update balena-io/deploy-to-balena-action action to v2.0.62
2024-04-26 01:50:53 +00:00
Self-hosted Renovate Bot
20f6cb07cb Update balena-io/deploy-to-balena-action action to v2.0.62
Update balena-io/deploy-to-balena-action from 2.0.58 to 2.0.62

Change-type: patch
2024-04-26 01:30:41 +00:00
flowzone-app[bot]
9e3939cdec
v16.2.31 2024-04-26 00:40:21 +00:00
flowzone-app[bot]
846500aa00
Merge pull request #2312 from balena-os/remove-mock-fs
Move lib/fs-utils tests to testfs
2024-04-26 00:39:21 +00:00
Christina Ying Wang
9c968b8d06 Move lib/fs-utils tests to testfs
This removes mock-fs as a dependency

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-24 13:37:45 -07:00
flowzone-app[bot]
1e9c2dc437
v16.2.30 2024-04-24 18:35:24 +00:00
flowzone-app[bot]
3e862eee17
Merge pull request #2313 from balena-os/update-dependencies-node-20-pt-2
Update more dependencies for Node 20, patch some NPM vulnerabilities
2024-04-24 18:34:27 +00:00
Christina Ying Wang
35e17cf22c Update supertest to v7
This patches a `formidable` package vulnerability

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-24 09:43:21 -07:00
Christina Ying Wang
73b71386fe Update fork-ts-checker-webpack-plugin to v9
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-24 09:43:21 -07:00
Christina Ying Wang
c110318b5d Fix audited vulnerabilities
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-24 09:43:21 -07:00
Christina Ying Wang
717c8cd614 Update yargs to v17, tar-stream to v3
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-24 09:43:21 -07:00
flowzone-app[bot]
f2f2670867
v16.2.29 2024-04-24 15:13:35 +00:00
flowzone-app[bot]
3d00714abc
Merge pull request #2311 from balena-os/mdns
Fix broken mdns resolver and add tests
2024-04-24 15:12:35 +00:00
Felipe Lalanne
6f02b17968 Refactor MDNS resolver into a module
Also add integration tests for the resolver functionality to prevent
regressions.

Change-type: patch
2024-04-23 19:23:32 -04:00
Felipe Lalanne
ad52561de5 Fix mdnsResolver import
The `mdns-resolver` module does not provide a default export. Trying to
use a default import notation, causes the `resolve` function to not be
found, breaking MDNS resolution.

Change-type: patch
2024-04-23 19:23:32 -04:00
flowzone-app[bot]
60be0c35a6
v16.2.28 2024-04-23 20:19:17 +00:00
flowzone-app[bot]
561804a364
Merge pull request #2309 from balena-os/handle-multiple-shutdowns
Gracefully handle multiple reboot/shutdown requests
2024-04-23 20:18:13 +00:00
Christina Ying Wang
14bdc522c1 Gracefully handle multiple reboot/shutdown requests
Since HTTP's server.close() is async, there is a slim chance
for two instances of /v1/reboot or /v1/shutdown to be processed.
If the server is already closed when server.close() is called,
the call throws ERR_SERVER_NOT_RUNNING
which doesn't need to be surfaced to the user. This change
only allows one server.close() attempt to occur at a time.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-23 12:59:44 -07:00
flowzone-app[bot]
9592912f4c
v16.2.27 2024-04-23 19:33:09 +00:00
Page-
0705f47fd9
Merge pull request #2307 from balena-os/renovate/major-ts-node
Update ts-node to v10
2024-04-23 20:31:55 +01:00
Self-hosted Renovate Bot
d14824f2fd Update ts-node to v10
Update ts-node from 8.10.2 to 10.9.2

Change-type: patch
2024-04-23 19:08:59 +00:00
flowzone-app[bot]
7641766f2e
v16.2.26 2024-04-23 18:58:32 +00:00
flowzone-app[bot]
dee1833307
Merge pull request #2310 from balena-os/update-dependencies-node-20
Update dependencies node 20
2024-04-23 18:57:29 +00:00