Commit Graph

4898 Commits

Author SHA1 Message Date
flowzone-app[bot]
1a303c4bb4
v16.3.11 2024-05-27 20:04:29 +00:00
flowzone-app[bot]
1264012fad
Merge pull request #2334 from balena-os/circular-dependencies
Refactor code to reduce circular dependencies between modules
2024-05-27 20:03:42 +00:00
Felipe Lalanne
027c2575b1 Move OS variant retrieval to config module
This also deprecates the `getOSVariant` function of the `os-release`
module, as the OS variant are no longer defined in `/etc/os-release`.

Change-type: patch
2024-05-27 14:36:03 -04:00
Felipe Lalanne
59689b2789 Do not export balenaApi on api-binder
Instead, add `getBalenaApi` function to api-helper so other modules can
access a balena API instance.

Further reduces circular dependencies to 5

Change-type: patch
2024-05-27 14:36:03 -04:00
Felipe Lalanne
ac2db38742 Move api-keys module to src/lib
This removes circular dependencies between the device-api module and
the compose module, reducing total circular dependencies to 15

Change-type: patch
2024-05-27 14:36:03 -04:00
Felipe Lalanne
48f75e61b8 Do not re-export ContractObject on lib/contracts
Further reduce circular dependencies to 10

Change-type: patch
2024-05-27 14:36:03 -04:00
Felipe Lalanne
bef5e78440 Move Compose(Network|Volume)Config to top level types
This reduces dependencies from 80 to 47

Change-type: patch
2024-05-27 14:36:03 -04:00
Felipe Lalanne
234e0de075 Move composition types to compose/types
This reduces circular dependencies from 250 to 80 by ensuring that
modules that only require types do not import the full module with all
its dependencies.

Change-type: patch
2024-05-27 14:36:03 -04:00
Felipe Lalanne
94de4006a0 Split compose types into interface and implementation
This splits `App`, `Network`, `Service` and `Volume` which used to be
defined as classes into an interface and a class implementation that is
not exported. This will allow to work with just the types in some cases
and prevent circular dependencies when importing.

Change-type: patch
2024-05-27 14:36:03 -04:00
flowzone-app[bot]
435a363716
v16.3.10 2024-05-27 02:41:53 +00:00
balena-renovate[bot]
13f1ce8863
Merge pull request #2337 from balena-os/renovate/got
Update got to v14.3.0
2024-05-27 02:40:46 +00:00
Self-hosted Renovate Bot
4764bca2c4 Update got to v14.3.0
Update got from 14.2.1 to 14.3.0

Change-type: patch
2024-05-27 02:21:21 +00:00
flowzone-app[bot]
5de8f40ddf
v16.3.9 2024-05-27 01:59:28 +00:00
balena-renovate[bot]
a2ceb6e663
Merge pull request #2339 from balena-os/renovate/balena-io-deploy-to-balena-action-2.0.x
Update balena-io/deploy-to-balena-action action to v2.0.69
2024-05-27 01:58:32 +00:00
Self-hosted Renovate Bot
9cdb363e4c Update balena-io/deploy-to-balena-action action to v2.0.69
Update balena-io/deploy-to-balena-action from 2.0.68 to 2.0.69

Change-type: patch
2024-05-27 01:35:18 +00:00
flowzone-app[bot]
1ece3376f0
v16.3.8 2024-05-24 14:29:21 +00:00
balena-renovate[bot]
9a776e0e1b
Merge pull request #2338 from balena-os/renovate/balena-io-deploy-to-balena-action-2.0.x
Update balena-io/deploy-to-balena-action action to v2.0.68
2024-05-24 14:28:34 +00:00
Self-hosted Renovate Bot
8a7972c783 Update balena-io/deploy-to-balena-action action to v2.0.68
Update balena-io/deploy-to-balena-action from 2.0.67 to 2.0.68

Change-type: patch
2024-05-24 14:09:21 +00:00
flowzone-app[bot]
35a4b676d4
v16.3.7 2024-05-24 13:45:26 +00:00
Page-
68fe016526
Merge pull request #2335 from balena-os/renovate/major-sinon
Update sinon to v18
2024-05-24 14:44:30 +01:00
Self-hosted Renovate Bot
6b47c3572d Update sinon to v18
Update sinon from 17.0.1 to 18.0.0

Change-type: patch
2024-05-20 02:21:03 +00:00
flowzone-app[bot]
127d4060e7
v16.3.6 2024-05-20 01:54:08 +00:00
balena-renovate[bot]
be45fcb623
Merge pull request #2336 from balena-os/renovate/balena-io-deploy-to-balena-action-2.0.x
Update balena-io/deploy-to-balena-action action to v2.0.67
2024-05-20 01:53:19 +00:00
Self-hosted Renovate Bot
21f72b0ce9 Update balena-io/deploy-to-balena-action action to v2.0.67
Update balena-io/deploy-to-balena-action from 2.0.66 to 2.0.67

Change-type: patch
2024-05-20 01:34:21 +00:00
flowzone-app[bot]
59e50ffabd
v16.3.5 2024-05-13 01:53:54 +00:00
balena-renovate[bot]
47688f2263
Merge pull request #2333 from balena-os/renovate/balena-io-deploy-to-balena-action-2.0.x
Update balena-io/deploy-to-balena-action action to v2.0.66
2024-05-13 01:53:09 +00:00
Self-hosted Renovate Bot
0786f6d95b Update balena-io/deploy-to-balena-action action to v2.0.66
Update balena-io/deploy-to-balena-action from 2.0.65 to 2.0.66

Change-type: patch
2024-05-13 01:34:36 +00:00
flowzone-app[bot]
83f6009aca
v16.3.4 2024-05-12 16:29:22 +00:00
balena-renovate[bot]
2941840700
Merge pull request #2332 from balena-os/renovate/patch-semver
Update semver to v7.6.2
2024-05-12 16:28:25 +00:00
Self-hosted Renovate Bot
da5fdc5d78 Update semver to v7.6.2
Update semver from 7.6.1 to 7.6.2

Change-type: patch
2024-05-12 16:09:16 +00:00
flowzone-app[bot]
e95f32588a
v16.3.3 2024-05-10 16:29:36 +00:00
balena-renovate[bot]
01c78d95b0
Merge pull request #2331 from balena-os/renovate/patch-semver
Update semver to v7.6.1
2024-05-10 16:28:41 +00:00
Self-hosted Renovate Bot
6ebeab14c1 Update semver to v7.6.1
Update semver from 7.6.0 to 7.6.1

Change-type: patch
2024-05-10 16:09:37 +00: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