Commit Graph

4678 Commits

Author SHA1 Message Date
flowzone-app[bot]
f3f854af21
v14.13.4 2023-10-02 21:38:15 +00:00
flowzone-app[bot]
668f090b97
Merge pull request #2204 from balena-os/add-tmpfs-for-tmp-in-integration-tests
Add tmpfs for /mnt/root/tmp in test env
2023-10-02 21:37:19 +00:00
Christina Ying Wang
5564a51acf Add tmpfs for /mnt/root/tmp in test env
This is to prevent the target state cache from getting written to host
during tests.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-10-02 12:47:50 -07:00
flowzone-app[bot]
1b6cf322b0
v14.13.3 2023-10-02 14:22:27 +00:00
flowzone-app[bot]
70b9930ec1
Merge pull request #2201 from balena-os/apk-node-version
Use `~=` to specify alpine package versions
2023-10-02 14:21:07 +00:00
Felipe Lalanne
4a4a8a59bf Use ~= to specify alpine package versions
Alpine allows the `~=` syntax to match a part of the package version
when installing. In this case we want to use it to specify node and
npm major versions

Change-type: patch
2023-10-02 10:30:55 -03:00
flowzone-app[bot]
2b23b66ea2
v14.13.2 2023-09-30 00:37:07 +00:00
flowzone-app[bot]
68485f4c5f
Merge pull request #2202 from balena-os/structured-clone
Use native `structuredClone` instead of _.cloneDeep
2023-09-30 00:36:08 +00:00
Christina Ying Wang
06d4775178 Use native structuredClone instead of _.cloneDeep
Memory tests have shown performance improvements to using the native method.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-09-29 12:29:50 -07:00
flowzone-app[bot]
07a2a34f51
v14.13.1 2023-09-28 20:17:11 +00:00
balena-renovate[bot]
595e90413a
Merge pull request #2197 from balena-os/renovate/balena-io-deploy-to-balena-action-1.x
Update balena-io/deploy-to-balena-action action to v1
2023-09-28 20:16:07 +00:00
Self-hosted Renovate Bot
aa07a160e9 Update balena-io/deploy-to-balena-action action to v1
Update balena-io/deploy-to-balena-action
Changelog-entry: Update balena-io/deploy-to-balena-action to v1.0.3
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-09-28 11:41:23 -07:00
flowzone-app[bot]
b7d006fd58
v14.13.0 2023-09-28 18:13:18 +00:00
flowzone-app[bot]
5dec971ac3
Merge pull request #2198 from balena-os/update-to-alpine-3.18
Update runtime-base image to alpine:3.18
2023-09-28 18:12:15 +00:00
Christina Ying Wang
3766013cbd Update runtime-base image to alpine:3.18
We were still on 3.16, where the nodejs package was
pointed at Node 16. 3.18 moves the pointer to Node 18.

Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-09-28 10:49:21 -07:00
flowzone-app[bot]
3ed369883d
v14.12.2 2023-09-15 01:57:46 +00:00
Jao Maloy
8262cfac28
Merge pull request #2192 from balena-os/jaomaloy/dump-target-state
Dump target-state to hostOS tmp dir
2023-09-15 09:56:48 +08:00
jaomaloy
ab513cc021 Dump target-state to hostOS tmp dir
This change is mainly for the hostOS
to know if update locks should be ignored
when updating to a newer version.

Change-type: patch
Signed-off-by: jaomaloy <jao.maloy@balena.io>
2023-09-14 11:03:34 +08:00
flowzone-app[bot]
1e54d66ffe
v14.12.1 2023-08-21 16:17:38 +00:00
flowzone-app[bot]
dfc602afcb
Merge pull request #2191 from balena-os/update-knex-sqlite
Update knex and sqlite to latest versions
2023-08-21 16:16:38 +00:00
Felipe Lalanne
99962dc94f Bump sqlite3 to 5.1.6
Change-type: patch
2023-08-17 15:00:42 -04:00
Felipe Lalanne
06e258ecad Bump knex to v2.5.1
Change-type: patch
2023-08-17 15:00:29 -04:00
flowzone-app[bot]
e87ac99feb
v14.12.0 2023-08-17 00:38:36 +00:00
flowzone-app[bot]
f8694bc506
Merge pull request #2047 from balena-os/nodejs-18
Update to nodejs 18
2023-08-17 00:37:41 +00:00
Felipe Lalanne
c88d557aaf Update README
Add the new dependency on RUST, reorganize the documentation

Change-type: patch
2023-08-16 15:59:04 -04:00
Felipe Lalanne
327dc31ef0 Replace node-dbus with @balena/systemd
The node-dbus module is unmaintained and a blocker for the update to
Node 18. Switching to our own node bindings for systemd solves this
issue

Relates-to: Shouqun/node-dbus#241
Change-type: patch
2023-08-16 15:58:52 -04:00
Felipe Lalanne
8f17c30de6 Replace dbus test service with mock-systemd-bus
This avoids unnecessary mocking and tests against the real systemd API

Change-type: patch
2023-08-16 14:46:58 -04:00
Pagan Gazzard
2da691bcd5 Update to nodejs 18
Change-type: minor
2023-08-16 14:46:58 -04:00
flowzone-app[bot]
eb69295ca3
v14.11.14 2023-08-14 23:47:13 +00:00
flowzone-app[bot]
f245ddf5f2
Merge pull request #2187 from balena-os/renovate/balena-io-deploy-to-balena-action-0.x
Update balena-io/deploy-to-balena-action action to v0.28.0
2023-08-14 23:46:14 +00:00
Self-hosted Renovate Bot
4f54395be2 Update balena-io/deploy-to-balena-action action to v0.28.0
Update balena-io/deploy-to-balena-action
Changelog-entry: Update balena-io/deploy-to-balena-action to v0.28.0
Change-type: patch
2023-08-14 16:18:34 -07:00
flowzone-app[bot]
011dc30028
v14.11.13 2023-08-10 16:51:28 +00:00
flowzone-app[bot]
b59ded5a00
Merge pull request #2188 from balena-os/vipul/remove-override-ref
patch: Remove reference of override_lock variable
2023-08-10 16:50:29 +00:00
Vipul Gupta
7560c70a08
patch: Remove reference of override_lock variable
This is being done to keep the source of truth for this variable in one place and reduce confusion since it's better for dashboard users to reference the dashboard option rather than the actual variable name
2023-08-10 12:21:24 +05:30
flowzone-app[bot]
e4e48136ba
v14.11.12 2023-07-19 07:55:57 +00:00
Alex Gonzalez
11e24a8abb
Merge pull request #2185 from balena-os/alexgg/fix-mounts
mount-partitions: do not hardcode partition types
2023-07-19 09:55:03 +02:00
Alex Gonzalez
cc2ca84448 mount-partitions: do not hardcode partition types
Query instead the device for its filesystem type before mounting.

Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
2023-07-18 11:53:38 +02:00
flowzone-app[bot]
325075b528
v14.11.11 2023-07-12 08:35:30 +00:00
flowzone-app[bot]
2b1ee55390
Merge pull request #2184 from balena-os/add_orin_nano_nvme
backends: Add Jetson Orin NANO custom device-tree support
2023-07-12 08:34:20 +00:00
Alexandru Costache
512240c544 backends: Add Jetson Orin NANO custom device-tree support
Signed-off-by: Alexandru Costache <alexandru@balena.io>
Change-type: patch
2023-07-11 18:11:32 +03:00
flowzone-app[bot]
833e02567b
v14.11.10 2023-07-05 19:00:47 +00:00
Florin Sarbu
5658d1b712
Merge pull request #2182 from balena-os/add_revpi-connect-s
Add revpi-connect-s to Raspberry Pi variants
2023-07-05 21:59:40 +03:00
Florin Sarbu
8d2b310af8 Add revpi-connect-s to Raspberry Pi variants
We need the supervisor to be able to manage config.txt changes for the
Revolution Pi Connect S.

Change-type: patch
Signed-off-by: Florin Sarbu <florin@balena.io>
2023-07-05 13:55:29 +02:00
flowzone-app[bot]
f905c80a40
v14.11.9 2023-06-28 21:01:09 +00:00
flowzone-app[bot]
00436ea160
Merge pull request #2180 from balena-os/remove-stopped-service-status
Remove the 'Stopped' status for services
2023-06-28 21:00:11 +00:00
Christina Ying Wang
38fe8dae75 Remove the 'Stopped' status for services
It's not an official status from container inspects, and the Supervisor
doesn't set it internally anywhere. It's better to remove it entirely as the
method by which Supervisor sets internal service statuses is by using a global
event emitter (reportNewStatus) which makes things difficult to test.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-06-28 11:17:13 -04:00
flowzone-app[bot]
098494d6f4
v14.11.8 2023-06-23 18:46:29 +00:00
flowzone-app[bot]
a0effca2c2
Merge pull request #2179 from balena-os/parse-exit-message-for-engine-host-race
Parse container exit error message instead of status to fix Engine-host race
2023-06-23 18:45:27 +00:00
Christina W
71d24d6e33 Parse container exit error message instead of status
The previous implementation in #2170 of parsing the container status was too general,
because it relied on the mistaken assumption that a container would have a status of
`Stopped` if it was manually stopped. This turned out to be untrue, as manually stopped
containers were also getting restarted by the Supervisor due to their inspect status of
`exited`. With this, parsing the exit message became unavoidable as there are no other
clear ways to discern a container that has been manually stopped and shouldn't be started
from a container experiencing the Engine-host race condition issue (again, see #2170).

Since we're just parsing the exit error message, we don't need to worry about different behaviors
amongst restart policies, as any container with the error message on exit should be started.

Change-type: patch
Closes: #2178
Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-06-22 14:43:17 -07:00
flowzone-app[bot]
60e39e929c
v14.11.7 2023-06-19 21:55:02 +00:00