Felipe Lalanne
1439ee30f2
Move sinon to dev dependencies
...
Sinon was added to the production dependencies by mistake in a previous
build. This is a module only used for testing so this fixes that error.
2022-08-18 12:23:31 -04:00
Felipe Lalanne
274503feb3
Simplify test commands in package.json
...
The supervisor used to perform tests both for the transpiled code (after
tsc) and one for the typescript code (using
ts-node/register/transpile-only). There is not really a reason for this
and this added complexity to the test configuration. This used to make
testing harder, as the built code didn't include source maps, meaning
the tests did not point to the right code.
Since we want to split tests in unit and integration tests as the next
test improvement, it makes sense to simplify these commands before
adding more complexity.
Change-type: patch
2022-08-18 12:23:20 -04:00
Balena CI
d83a37e6fd
v14.0.13
2022-08-03 02:59:36 +04:00
Balena CI
936ada7f64
v14.0.12
2022-07-19 00:34:22 +03:00
Balena CI
86112e59bf
v14.0.11
2022-07-18 22:20:48 +03:00
Balena CI
ac933ad3ef
v14.0.10
2022-07-14 01:16:48 +03:00
Balena CI
d11d4fba91
v14.0.9
2022-07-07 00:27:14 +03:00
Balena CI
dc8b75485c
v14.0.8
2022-06-27 19:38:31 +03:00
Balena CI
7e5a06d3f8
v14.0.7
2022-06-22 23:12:46 +03:00
Balena CI
2de0d5901d
v14.0.6
2022-06-16 02:33:49 +03:00
Balena CI
c1bfbd5f3d
v14.0.5
2022-06-14 23:37:58 +03:00
Balena CI
51c5456af9
v14.0.4
2022-06-14 00:58:34 +03:00
Balena CI
c0fee7839b
v14.0.3
2022-06-07 23:12:14 +03:00
Balena CI
888ffa700d
v14.0.2
2022-06-07 06:04:47 +03:00
Balena CI
d9186649a6
v14.0.1
2022-06-03 01:26:19 +03:00
Balena CI
27ed56f7fe
v14.0.0
2022-06-02 02:08:00 +03:00
Balena CI
33ad877c67
v13.1.11
2022-05-27 17:54:14 +03:00
Balena CI
564ff186e7
v13.1.10
2022-05-23 21:55:37 +03:00
Balena CI
b361b8eebe
v13.1.9
2022-05-23 18:01:00 +03:00
Balena CI
9549539eb2
v13.1.8
2022-05-18 00:55:47 +03:00
Balena CI
713d39a85e
v13.1.7
2022-05-17 18:46:23 +03:00
Balena CI
6620bca7bd
v13.1.6
2022-05-06 22:05:50 +03:00
Balena CI
cbd74954b3
v13.1.5
2022-05-06 21:29:08 +03:00
Balena CI
5686cc363d
v13.1.4
2022-04-28 21:29:01 +03:00
Balena CI
4557644149
v13.1.3
2022-04-20 22:38:47 +03:00
Balena CI
9aa50eea8a
v13.1.2
2022-04-18 23:34:21 +03:00
Balena CI
81a8705ff8
v13.1.1
2022-04-13 22:29:32 +03:00
Balena CI
f5ca7e87f0
v13.1.0
2022-04-12 22:27:08 +03:00
Christina Wang
e9738b5f78
Modify update lock module to use new lockfile binary and library
...
Also uninstall lockfile NPM package as we're no longer using it
Signed-off-by: Christina Wang <christina@balena.io>
2022-04-12 12:02:28 -07:00
Balena CI
a2f739789d
v13.0.3
2022-04-08 20:44:13 +03:00
Balena CI
ebdfff10ad
v13.0.2
2022-04-08 05:58:26 +03:00
Balena CI
fa9074ce76
v13.0.1
2022-04-05 17:38:16 +03:00
Balena CI
ffc61ee0b4
v13.0.0
2022-03-29 00:01:51 +03:00
Felipe Lalanne
063bd400a4
Convert target state in local endpoints
...
Convert target state from to v3 in `/v2/local/target-state`. Add tests
for target state conversion
2022-03-22 19:08:03 -03:00
Balena CI
474fc4e890
v12.11.43
2022-03-22 01:57:31 +02:00
Balena CI
37a82e2dd6
v12.11.42
2022-03-19 00:35:28 +02:00
Balena CI
aa023051f6
v12.11.41
2022-03-16 23:13:15 +02:00
Balena CI
260737a570
v12.11.40
2022-03-16 21:14:58 +02:00
Balena CI
702efb2d14
v12.11.39
2022-03-16 05:19:57 +02:00
20k-ultra
2fdb83839c
Move report throttle out of reporting logic
...
Change-type: patch
Signed-off-by: 20k-ultra <3946250+20k-ultra@users.noreply.github.com>
2022-03-15 22:53:34 -04:00
20k-ultra
5e5f1fb305
Update npm dep sinon to v11.1.2
...
Change-type: patch
Signed-off-by: 20k-ultra <3946250+20k-ultra@users.noreply.github.com>
2022-03-15 22:53:34 -04:00
Balena CI
710d214dbb
v12.11.38
2022-03-15 01:08:28 +02:00
Balena CI
ba395b2dbd
v12.11.37
2022-02-28 23:24:15 +02:00
Balena CI
2615c25fc4
v12.11.36
2022-02-24 15:32:47 +02:00
Balena CI
2df5b2f388
v12.11.35
2022-02-16 23:01:18 +02:00
Balena CI
b677972576
v12.11.34
2022-02-16 15:31:02 +02:00
Balena CI
ff35af11b1
v12.11.33
2022-02-09 21:14:13 +02:00
Balena CI
5e0cf27bba
v12.11.32
2022-02-02 17:55:02 +02:00
Balena CI
c5670ba366
v12.11.31
2022-02-01 23:49:09 +02:00
Balena CI
6796383437
v12.11.30
2022-01-27 20:54:34 +02:00
Balena CI
fba0317620
v12.11.29
2022-01-20 15:03:26 +02:00
Balena CI
ca7e42b2c7
v12.11.28
2022-01-19 17:31:27 +02:00
Balena CI
fcaef150a8
v12.11.27
2022-01-18 15:03:33 +02:00
Balena CI
4a383b2b31
v12.11.26
2022-01-18 12:44:59 +02:00
Balena CI
1274cefa9b
v12.11.25
2022-01-17 23:30:09 +02:00
Balena CI
9c4e4acedf
v12.11.24
2022-01-13 22:26:02 +02:00
Balena CI
0d4c902e35
v12.11.23
2022-01-06 18:39:59 +02:00
Balena CI
4abb7040de
v12.11.22
2021-12-22 06:30:36 +02:00
Balena CI
4f980e0056
v12.11.21
2021-12-18 17:54:33 +02:00
Balena CI
52b47b91f0
v12.11.20
2021-12-13 18:53:39 +02:00
Balena CI
5de6e1125b
v12.11.19
2021-12-11 00:32:29 +02:00
Balena CI
b31552b3f3
v12.11.18
2021-12-10 18:37:48 +02:00
Balena CI
14f8bb7b3b
v12.11.17
2021-12-10 17:20:23 +02:00
Balena CI
ade787bab8
v12.11.16
2021-12-02 22:52:51 +02:00
Balena CI
f00610660f
v12.11.15
2021-12-02 22:16:08 +02:00
Felipe Lalanne
f6692ab918
Convert target state types to io-ts for better validation
...
This simplifies target state validation and improves validation
messages.
Change-type: patch
2021-12-02 15:29:37 -03:00
Balena CI
a7db9b8c37
v12.11.14
2021-11-30 20:07:17 +02:00
Zane Hitchcox
9ed2685f63
Add happy eyeballs
...
Change-type: patch
2021-11-30 12:43:18 -05:00
Balena CI
1ece9f8bb0
v12.11.13
2021-11-29 19:29:30 +02:00
Balena CI
f81ab2fc06
v12.11.12
2021-11-17 23:26:09 +02:00
Balena CI
f9b2872648
v12.11.11
2021-11-17 19:05:58 +02:00
Balena CI
283495cfcd
v12.11.10
2021-11-16 22:05:55 +02:00
Balena CI
9a820770e8
v12.11.9
2021-11-15 20:13:52 +02:00
Balena CI
32c2c36035
v12.11.8
2021-11-15 16:12:10 +02:00
Balena CI
78b0df7e19
v12.11.5
2021-11-10 17:36:27 +02:00
Balena CI
311f902df4
v12.11.4
2021-11-09 19:08:13 +02:00
Balena CI
f073652603
v12.11.3
2021-11-05 17:44:44 +02:00
Balena CI
eb473b7d6b
v12.11.2
2021-10-28 19:09:53 +03:00
Balena CI
f43248aae8
v12.11.1
2021-10-26 20:47:56 +03:00
Balena CI
11df38b26d
v12.11.0
2021-10-21 05:50:43 +03:00
Balena CI
7713f40927
v12.10.16
2021-10-13 03:39:53 +03:00
Balena CI
d86ae94525
v12.10.15
2021-09-30 17:18:40 +03:00
Balena CI
3237c03f00
v12.10.14
2021-09-29 16:55:38 +03:00
Balena CI
7ce488e805
v12.10.13
2021-09-28 22:45:42 +03:00
Balena CI
7648d075f6
v12.10.12
2021-09-28 18:30:57 +03:00
Balena CI
191e47344d
v12.10.11
2021-09-27 16:18:10 +03:00
Balena CI
7191e7a042
v12.10.10
2021-09-07 18:03:20 +03:00
Balena CI
eeefc3abdd
v12.10.9
2021-09-02 16:13:03 +03:00
Balena CI
19af36123e
v12.10.8
2021-09-02 00:43:34 +03:00
Balena CI
f332ba646d
v12.10.7
2021-09-01 23:46:44 +03:00
Balena CI
79f7f5fb24
v12.10.6
2021-09-01 21:13:03 +03:00
Balena CI
0ae52edbc8
v12.10.5
2021-09-01 01:59:03 +03:00
Balena CI
337e6affcd
v12.10.4
2021-08-31 21:57:46 +03:00
Balena CI
f8cc2bc0ce
v12.10.3
2021-08-25 16:53:22 +03:00
Balena CI
7e2ce7fc56
v12.10.2
2021-08-03 01:22:12 +03:00
Balena CI
49a391823c
v12.10.1
2021-08-02 19:35:58 +03:00
Balena CI
0df979be55
v12.10.0
2021-07-31 01:27:29 +03:00
Balena CI
06c3f488e5
v12.9.6
2021-07-26 17:05:14 +03:00
Felipe Lalanne
f1bd4b8d9b
Use tags to track supervised images in docker
...
The image manager module now uses tags instead of docker IDs as the main
way to identify docker images on the engine. That is, if the target
state image has a name `imageName:tag@digest`, the supervisor will always use
the given `imageName` and `tag` (which may be empty) to tag the image on
the engine after fetching. This PR also adds checkups to ensure
consistency is maintained between the database and the engine.
Using tags allows to simplify query and removal operations, since now
removing the image now means removing tags matching the image name.
Before this change the supervisor relied only on information in the
supervisor database, and used that to remove images by docker ID. However, the docker
id is not a reliable identifier, since images retain the same id between
releases or between services in the same release.
List of squashed commits
- Remove custom type NormalizedImageInfo
- Remove dependency on docker-toolbelt
- Use tags to traack supervised images in docker
- Ensure tag removal occurs in sequence
- Only save database image after download confirmed
Relates-to: #1616 #1579
Change-type: patch
2021-07-26 09:52:25 -04:00
Balena CI
19bcc6232b
v12.9.5
2021-07-22 19:02:51 +03:00