bulldozer-balena[bot]
175d14258b
Merge pull request #1984 from balena-os/lockdir
...
Allow directories to be used as lockfiles
2022-07-13 20:01:36 +00:00
Felipe Lalanne
861e902d7f
Allow directories to be used as lockfiles
...
Some libraries, like [proper-lockfile](https://www.npmjs.com/package/proper-lockfile )
use directories instead of files for locking. This PR allows the supervisor to be able to
work with those types of locks when lock override is requested.
Closes : #1978
Change-type: patch
2022-07-13 13:05:38 -04:00
Balena CI
d11d4fba91
v14.0.9
2022-07-07 00:27:14 +03:00
bulldozer-balena[bot]
39a3deed4b
Merge pull request #1980 from balena-os/host-config-patch-should-ignore-apps-present
...
Allow host config patch regardless of running applications
2022-07-06 20:42:21 +00:00
Christina Wang
0fc79e87d9
Allow host config patch regardless of running applications
...
Host config shouldn't be tied to applications in the first place, but
needs to be done so because it uses update locks to determine when it's
safe to patch host config, and update locks are tied to apps.
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2022-07-06 12:41:51 -07:00
Balena CI
dc8b75485c
v14.0.8
2022-06-27 19:38:31 +03:00
bulldozer-balena[bot]
4963473a1d
Merge pull request #1979 from balena-os/docs/override-update-lock-correction
...
Specify that Supervisor will not restore previous lock status from user containers
2022-06-27 15:51:31 +00:00
Christina Wang
ca140639c6
Specify that Supervisor will not restore previous lock status from user containers
...
There is no functionality which 1) stores the filesystem lock status when toggling override
to on, and 2) restore the system to that status when toggling override to off.
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2022-06-27 08:11:01 -07:00
Balena CI
7e5a06d3f8
v14.0.7
2022-06-22 23:12:46 +03:00
bulldozer-balena[bot]
418ee269e1
Merge pull request #1976 from balena-os/v2-journal-logs-containerId-docs
...
Add missing docs for the containerId param of the journal-logs endpoint
2022-06-22 18:55:02 +00:00
Thodoris Greasidis
ff526c18d8
Add missing docs for the containerId param of the journal-logs endpoint
...
Resolves : #1975
Change-type: patch
2022-06-22 20:41:11 +03:00
Balena CI
2de0d5901d
v14.0.6
2022-06-16 02:33:49 +03:00
bulldozer-balena[bot]
6d6f09eb59
Merge pull request #1970 from balena-os/1968-read-hostname-from-config-or-container-etc
...
Read hostname from config.json with container /etc/hostname as backup
2022-06-15 23:31:20 +00:00
Christina Wang
a7a0821a3e
Read hostname from config.json with container /etc/hostname as backup
...
We don't need to read the host's hostname through /mnt/root/etc/hostname,
because the hostname is written to config.json on a change. When the hostname
has never changed, it won't be found in config.json, so we can default to
the Supervisor container's /etc/hostname as it will match the host's
/etc/hostname, the network mode being `host`.
Closes : #1968
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2022-06-15 11:31:36 -07:00
Balena CI
c1bfbd5f3d
v14.0.5
2022-06-14 23:37:58 +03:00
bulldozer-balena[bot]
d34c4a3b4f
Merge pull request #1964 from balena-os/1963-variscite-dart-dt-custom-dtb
...
Add custom DTB support for Variscite Dart DT family
2022-06-14 19:30:53 +00:00
Christina Wang
dfb6bcf0e6
Add custom DTB support for Variscite Dart DT family
...
Closes : #1963
Relates-to: https://github.com/balena-os/balena-variscite-mx8/pull/134
Relates-to: https://github.com/balena-io/open-balena-api/issues/1033
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2022-06-14 11:26:45 -07:00
Balena CI
51c5456af9
v14.0.4
2022-06-14 00:58:34 +03:00
bulldozer-balena[bot]
8a740a596c
Merge pull request #1961 from balena-os/streamline-mock-dbus
...
Better document mocked-dbus, add missing test methods
2022-06-13 21:05:52 +00:00
Christina Wang
ffa1c73418
Better document mocked-dbus, add missing dbus interface methods
...
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2022-06-09 11:41:50 -07:00
Balena CI
c0fee7839b
v14.0.3
2022-06-07 23:12:14 +03:00
bulldozer-balena[bot]
5db9cd07e4
Merge pull request #1960 from balena-os/dont-send-current-name
...
Do not send name as part of the current state
2022-06-07 20:00:10 +00:00
Felipe Lalanne
99efd12acd
Do not send name as part of the current state
...
This fixes a race condition that could occur with the first current
state report, where if the device managed to send the current state
report first, then the device name on the cloud would be set to `local`
(see #1959 ).
Closes : #1959
Change-type: patch
2022-06-07 15:14:21 -04:00
Balena CI
888ffa700d
v14.0.2
2022-06-07 06:04:47 +03:00
bulldozer-balena[bot]
ddc00d196f
Merge pull request #1957 from balena-os/avoid-config-appId-for-host-config-patch
...
Don't use config.get for appId when checking locks in host config PATCH
2022-06-07 03:02:15 +00:00
Christina Wang
be1c01039a
Don't use config.get for appId when checking locks in host config PATCH
...
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2022-06-06 12:15:23 -07:00
Balena CI
d9186649a6
v14.0.1
2022-06-03 01:26:19 +03:00
bulldozer-balena[bot]
33fa3c1292
Merge pull request #1953 from balena-os/shutdown-with-locks
...
Shutdown with locks
2022-06-02 22:23:16 +00:00
20k-ultra
aad5a9efc5
Use locks before shutdown/reboot instead of stopping containers
...
Closes : #1940
Change-type: patch
Signed-off-by: 20k-ultra <3946250+20k-ultra@users.noreply.github.com>
2022-06-02 00:31:42 -04:00
20k-ultra
471f0f0615
Refactor update-lock.lock to accept an array of applications to lock
...
Change-type: patch
Signed-off-by: 20k-ultra <3946250+20k-ultra@users.noreply.github.com>
2022-06-02 00:31:42 -04:00
20k-ultra
ef7371a7ef
Refactor update-lock function to avoid callback hell
...
Change-type: patch
Signed-off-by: 20k-ultra <3946250+20k-ultra@users.noreply.github.com>
2022-06-02 00:31:42 -04:00
Balena CI
27ed56f7fe
v14.0.0
2022-06-02 02:08:00 +03:00
bulldozer-balena[bot]
19e2756ba2
Merge pull request #1946 from balena-os/1933-use-mounts-for-engine-feature-label
...
Use Mounts API for engine socket feature label
2022-06-01 22:44:50 +00:00
Balena CI
33ad877c67
v13.1.11
2022-05-27 17:54:14 +03:00
bulldozer-balena[bot]
08d742c832
Merge pull request #1944 from balena-os/1943-allow-v2-state-preload-without-internet
...
Do not migrate apps.json if preload v2 to v3 fails
2022-05-27 14:51:20 +00:00
Felipe Lalanne
af1a60f7c6
Throw a more explanatory error if migrating apps.json fails
2022-05-26 16:58:15 -04:00
Felipe Lalanne
303c805008
Fix check for preloaded v2 target state
2022-05-24 17:55:05 -04:00
Christina Wang
95bf4718d6
Only migrate apps.json on preload after target has been set
...
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
Signed-off-by: Felipe Lalanne <felipe@balena.io>
2022-05-24 17:54:38 -04:00
Balena CI
564ff186e7
v13.1.10
2022-05-23 21:55:37 +03:00
bulldozer-balena[bot]
c8bef47010
Merge pull request #1952 from balena-os/serial-trim
...
Trim newlines from sysinfo files
2022-05-23 18:48:32 +00:00
Felipe Lalanne
76553c6b4a
Trim newlines from sysinfo files
...
Change-type: patch
2022-05-23 14:08:08 -04:00
Balena CI
b361b8eebe
v13.1.9
2022-05-23 18:01:00 +03:00
bulldozer-balena[bot]
ed657d9f38
Merge pull request #1951 from balena-os/variscite-serial
...
Fix serial number support for variscite boards
2022-05-23 14:49:45 +00:00
Felipe Lalanne
29867ccf17
Fix serial number support for variscite boards
...
Closes : #1950
Change-type: patch
2022-05-23 10:29:22 -04:00
Christina Wang
6ccd2178c1
Use Mounts API for engine socket feature label
...
When upgrading to this Supervisor version, containers using the
engine feature label will be restarted.
Relates-to: https://github.com/balena-os/balena-supervisor/pull/1780
Closes: https://github.com/balena-os/balena-engine/issues/220
Closes : #1933
Change-type: major
Signed-off-by: Christina Wang <christina@balena.io>
2022-05-17 23:57:28 +00:00
Balena CI
9549539eb2
v13.1.8
2022-05-18 00:55:47 +03:00
bulldozer-balena[bot]
c6993b496b
Merge pull request #1935 from balena-os/1933-compose-volume-long-syntax-support
...
Add compose support for volumes defined with long syntax
2022-05-17 21:53:13 +00:00
Christina Wang
5595d9099b
Add long syntax feature to balena.yml contract
...
Signed-off-by: Christina Wang <christina@balena.io>
2022-05-17 11:09:11 -07:00
Christina Wang
2896444988
Log anonymous volumes
...
Signed-off-by: Christina Wang <christina@balena.io>
2022-05-17 11:08:23 -07:00
Christina Wang
0a9c7282e8
Add compose support for volumes defined with long syntax
...
balena-compose already supports this, and with this PR, Supervisor can
have the option of using HostConfig.Mounts for internal bind mounts such as
ones added by feature labels. This will be handled in a future PR.
The only blocker to having users use long syntax is adding this feature
to target state. This PR does not add that feature.
Relates-to: https://github.com/balena-os/balena-supervisor/pull/1780
Relates-to: https://github.com/balena-os/balena-engine/issues/220
Relates-to: #1933
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2022-05-17 11:08:23 -07:00