Commit Graph

3714 Commits

Author SHA1 Message Date
bulldozer-balena[bot]
ac957c07a7
Merge pull request #1722 from balena-os/dependabot/npm_and_yarn/normalize-url-4.5.1
Bump normalize-url from 4.5.0 to 4.5.1
2021-06-14 11:11:06 +00:00
dependabot[bot]
ece3be6d45
Bump normalize-url from 4.5.0 to 4.5.1
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 19:24:08 +09:00
Balena CI
3974aacdc7 v12.8.6 2021-06-14 13:18:55 +03:00
bulldozer-balena[bot]
aea770ebe8
Merge pull request #1721 from balena-os/firewall-documentation
Document the current state of HOST_FIREWALL_MODE
2021-06-14 10:16:48 +00:00
Christina Wang
3961fbf1e7
Document the current state of HOST_FIREWALL_MODE
This set of docs can provide info for support agents until
issue 1482 is resolved. Expect this document to change as firewall
implementation is improved.

Connects-to: #1482
Connects-to: #1525
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2021-06-09 16:56:17 +09:00
Balena CI
7db799efa4 v12.8.5 2021-06-08 23:02:15 +03:00
bulldozer-balena[bot]
f5382be077
Merge pull request #1720 from balena-os/device-state-typings
Improve target state typings
2021-06-08 20:00:29 +00:00
Pagan Gazzard
ee4d919fca Improve target state typings
Change-type: patch
2021-06-08 13:45:44 +01:00
Balena CI
27405d910b v12.8.4 2021-06-03 10:02:33 +03:00
bulldozer-balena[bot]
eec1a32fc7
Merge pull request #1718 from balena-os/found-unmanaged-volume
Refactor debug log when unmanaged volume is found
2021-06-03 07:00:43 +00:00
Miguel Casqueira
ab4fb454e0 Refactor debug log when unmanaged volume is found
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-06-02 13:07:24 -04:00
Balena CI
b76fb36249 v12.8.3 2021-05-29 03:11:23 +03:00
bulldozer-balena[bot]
35d9a32a6d
Merge pull request #1715 from balena-os/1673-prevent-recursive-state-report
Prevent a recursive loop when reporting current state
2021-05-29 00:09:14 +00:00
Miguel Casqueira
55a344dceb Prevent a recursive loop when reporting current state
Closes: #1673
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-05-28 16:20:27 -04:00
Balena CI
a4be293ec4 v12.8.2 2021-05-26 17:58:13 +03:00
bulldozer-balena[bot]
ab3e3d5b00
Merge pull request #1712 from balena-os/fix-bullet-points-in-docs
Revert multiline bullet points in notes
2021-05-26 14:56:16 +00:00
Christina Wang
5524b5e986
Revert multiline bullet points in notes
Docs engine cannot support > - markdown pattern.

Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-26 17:13:50 +09:00
Balena CI
20a23155c1 v12.8.1 2021-05-25 07:07:45 +03:00
bulldozer-balena[bot]
67f8c97e2f
Merge pull request #1708 from balena-os/specify-restart-add-uuid-quotes
Specify that all restart API endpoints remove and recreate containers
2021-05-25 04:05:41 +00:00
Christina Wang
a355dcf8b9
typo: bandwith -> bandwidth in HARDWARE_METRICS entry
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-19 11:36:40 +09:00
Christina Wang
7c4d232439
Specify that all restart API endpoints remove and recreate containers
This is intended behavior.

Also add quotes around UUID in examples to reduce confusion, and format responses
as multiline JSON for clarity.

Closes: #1620
Closes: #1681
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-19 11:36:01 +09:00
Balena CI
b77fdbb249 v12.8.0 2021-05-18 21:19:13 +03:00
bulldozer-balena[bot]
e8e441bea3
Merge pull request #1666 from balena-os/1645-hardware-metrics-config-var
Add toggleable `SUPERVISOR_HARDWARE_METRICS` config
2021-05-18 18:17:27 +00:00
Christina Wang
5004cc5fd2
Add SUPERVISOR_HARDWARE_METRICS to config documentation
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-13 14:47:15 +09:00
Christina Wang
dcd863eed8
Add toggleable SUPERVISOR_HARDWARE_METRICS config
On devices with bandwidth sensitivity, this config var
disables sending system information such as memory
usage or cpu temp as current state.

Closes: #1645
Change-type: minor
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-13 13:59:07 +09:00
Christina Wang
ea3e50e96e
Create & unify src/device-state/current-state tests
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-12 18:33:01 +09:00
Christina Wang
39601473c0
Fix undervoltage regex, add undervoltage tests, move sysinfo suite to test/src
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-12 18:33:01 +09:00
Balena CI
e1cdade9b7 v12.7.4 2021-05-12 12:05:41 +03:00
bulldozer-balena[bot]
b09c776680
Merge pull request #1707 from balena-os/update-mocha-add-hooks
Upgrade mocha to v8, use mocha fixtures for chai plugins
2021-05-12 09:03:40 +00:00
Christina Wang
62375c907f
Upgrade mocha to v8, use mocha fixtures for chai plugins
Remove chai-events and add explicit chai devDependency

Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-12 17:10:57 +09:00
Balena CI
8bfaca7d97 v12.7.3 2021-05-12 10:52:42 +03:00
bulldozer-balena[bot]
bd2363c0b8
Merge pull request #1698 from balena-os/optimize-current-state-filtering
Optimize current state filtering
2021-05-12 07:50:05 +00:00
Balena CI
9a3596c44c v12.7.2 2021-05-10 07:17:22 +03:00
bulldozer-balena[bot]
fd30dac601
Merge pull request #1705 from balena-os/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21
2021-05-10 04:14:59 +00:00
dependabot[bot]
90fe8359f1
Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Change-type: patch
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 13:07:50 +09:00
Balena CI
853acae4a8 v12.7.1 2021-05-07 18:41:34 +03:00
bulldozer-balena[bot]
76be4dbd06
Merge pull request #1699 from balena-os/update_contrato
Bump contrato from 0.5.0 to 0.6.3
2021-05-07 15:39:54 +00:00
Balena CI
2cf9a9d6f3 v12.7.0 2021-05-07 15:12:18 +03:00
bulldozer-balena[bot]
ca1b96bfc5
Merge pull request #1684 from balena-os/rename-resin-supervisor
supervisor: rename resin-supervisor to balena-supervisor
2021-05-07 12:09:58 +00:00
Kyle Harding
5eb42b81b0
Rename start-resin-supervisor to start-balena-supervisor 2021-05-06 19:32:51 -04:00
Balena CI
2f9d52cc6a v12.6.8 2021-05-07 00:20:57 +03:00
bulldozer-balena[bot]
07aa3a5001
Merge pull request #1694 from balena-os/1693-network-target-state
Show warning instead of exception for invalid network config
2021-05-06 21:18:53 +00:00
Felipe Lalanne
5197a1330d Show warning instead of exception for invalid network config
A previous PR (#1656) fixed validation for network ipam config,
checking that both network and subnet are defined for each ipam config entry
(as described in the docker documentation).

After that PR, the validations throws an exception if the network target state is incorrect,
but this turns out to be the wrong approach, because that exception is also triggered
when querying target state.

This isn't a problem in normal operation, but it is in local mode, because local
mode queries the old target state before sending a new one. Since the query fails,
the CLI can never push the new target state.

This PR replaces the exception with a warning on the logs, since a
misconfigured network won't cause any engine failures, it will just
prevent containers to communicate through the provided network.

A future improvement should move this validation to an earlier point in the process,
so the target state can get rejected before it even gets to a point it
can be used.

Relates-to: #1693
Change-type: patch
2021-05-06 16:27:40 -04:00
Kyle Harding
164dd7ccc1 Rename meta-resin to meta-balena
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-05-06 17:05:26 +00:00
Kyle Harding
301aa52f03 Backwards compatility changes for old resin namespaces
Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-05-06 17:05:26 +00:00
Kyle Harding
09615c9d82 Change container name to balena_supervisor
Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-05-06 17:05:25 +00:00
Kyle Harding
5faf9d7686 Rename resin-supervisor to balena-supervisor
Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-05-06 17:05:25 +00:00
Balena CI
6fc91965fb v12.6.7 2021-05-06 19:48:57 +03:00
bulldozer-balena[bot]
34a702e4bb
Merge pull request #1701 from balena-os/patch-supervisor-network-check
Patch awaiting response when checking if supervisor0 network exists
2021-05-06 16:47:11 +00:00
Balena CI
662b27c26d v12.6.6 2021-05-06 18:43:07 +03:00