Compare commits

...

254 Commits

Author SHA1 Message Date
d1a14d09c2 v4.1.93 2024-09-03 22:12:54 +00:00
7307d07132 Merge pull request #351 from balena-io/renovate/balena-io-balena-cli-19.0.x
Update dependency balena-io/balena-cli to v19.0.2
2024-09-03 22:12:04 +00:00
22a4ad9cb1 Update dependency balena-io/balena-cli to v19.0.2
Update balena-io/balena-cli from 19.0.1 to 19.0.2

Change-type: patch
2024-09-03 21:52:10 +00:00
f65c638465 v4.1.92 2024-09-03 21:16:24 +00:00
05f52779d3 Merge pull request #355 from balena-io/renovate/balena-open-balena-vpn-11.30.x
Update balena/open-balena-vpn Docker tag to v11.30.33
2024-09-03 21:15:36 +00:00
8e251fee39 Update balena/open-balena-vpn Docker tag to v11.30.33
Update balena/open-balena-vpn from 11.30.31 to 11.30.33

Change-type: patch
2024-09-03 18:54:58 +00:00
7a9b169f22 v4.1.91 2024-09-03 18:13:16 +00:00
753ab4bb05 Merge pull request #353 from balena-io/renovate/balena-open-balena-registry-2.41.x
Update balena/open-balena-registry Docker tag to v2.41.6
2024-09-03 18:12:24 +00:00
15f6650c0d Update balena/open-balena-registry Docker tag to v2.41.6
Update balena/open-balena-registry from 2.41.4 to 2.41.6

Change-type: patch
2024-09-03 17:53:22 +00:00
550ff388e7 v4.1.90 2024-09-03 17:16:10 +00:00
d5305638ec Merge pull request #354 from balena-io/renovate/balena-open-balena-s3-2.28.x
Update balena/open-balena-s3 Docker tag to v2.28.55
2024-09-03 17:15:25 +00:00
0a2196eb4f Update balena/open-balena-s3 Docker tag to v2.28.55
Update balena/open-balena-s3 from 2.28.54 to 2.28.55

Change-type: patch
2024-09-03 16:56:02 +00:00
07d4b61787 v4.1.89 2024-09-03 16:16:24 +00:00
e25e590f0a Merge pull request #352 from balena-io/renovate/balena-open-balena-api-26.4.x
Update balena/open-balena-api Docker tag to v26.4.8
2024-09-03 16:15:35 +00:00
e5c1359d74 Update balena/open-balena-api Docker tag to v26.4.8
Update balena/open-balena-api from 26.4.7 to 26.4.8

Change-type: patch
2024-09-03 15:39:00 +00:00
82607535a0 v4.1.88 2024-09-03 15:16:09 +00:00
408f352698 Merge pull request #348 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to e26e190
2024-09-03 15:15:26 +00:00
247258f853 Update aws-actions/configure-aws-credentials digest to e26e190
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-09-03 14:56:17 +00:00
b9af2ec9ad v4.1.87 2024-09-03 14:32:44 +00:00
75e09b536b Merge pull request #350 from balena-io/renovate/balena-open-balena-api-26.4.x
Update balena/open-balena-api Docker tag to v26.4.7
2024-09-03 14:31:47 +00:00
a9a2441494 Update balena/open-balena-api Docker tag to v26.4.7
Update balena/open-balena-api from 26.4.6 to 26.4.7

Change-type: patch
2024-09-03 14:09:45 +00:00
1401185fab v4.1.86 2024-09-03 11:13:06 +00:00
b3becb980f Merge pull request #349 from balena-io/renovate/balena-open-balena-api-26.4.x
Update balena/open-balena-api Docker tag to v26.4.6
2024-09-03 11:12:17 +00:00
4c698c19b3 Update balena/open-balena-api Docker tag to v26.4.6
Update balena/open-balena-api from 26.4.5 to 26.4.6

Change-type: patch
2024-09-03 10:52:13 +00:00
78e8600e27 v4.1.85 2024-09-02 16:21:15 +00:00
916ec9e662 Merge pull request #347 from balena-io/renovate/balena-io-balena-cli-19.0.x
Update dependency balena-io/balena-cli to v19.0.1
2024-09-02 16:20:17 +00:00
0d19351eb0 Update dependency balena-io/balena-cli to v19.0.1
Update balena-io/balena-cli from 19.0.0 to 19.0.1

Change-type: patch
2024-09-02 15:54:17 +00:00
d774243c56 v4.1.84 2024-09-02 15:17:09 +00:00
62206c95ed Merge pull request #345 from balena-io/renovate/balena-open-balena-api-26.4.x
Update balena/open-balena-api Docker tag to v26.4.5
2024-09-02 15:16:05 +00:00
e4da142ee9 Update balena/open-balena-api Docker tag to v26.4.5
Update balena/open-balena-api from 26.4.3 to 26.4.5

Change-type: patch
2024-09-02 14:54:13 +00:00
685448763a v4.1.83 2024-09-02 14:16:39 +00:00
6156504365 Merge pull request #346 from balena-io/renovate/actions-checkout-digest
Update actions/checkout digest to 2d7d9f7
2024-09-02 14:15:38 +00:00
7e36675e79 Update actions/checkout digest to 2d7d9f7
Update actions/checkout

Change-type: patch
2024-09-02 13:55:27 +00:00
0c6b84b233 v4.1.82 2024-08-30 18:16:10 +00:00
aa16012afb Merge pull request #344 from balena-io/renovate/balena-open-balena-api-26.4.x
Update balena/open-balena-api Docker tag to v26.4.3
2024-08-30 18:15:28 +00:00
36092eb582 Update balena/open-balena-api Docker tag to v26.4.3
Update balena/open-balena-api from 26.4.2 to 26.4.3

Change-type: patch
2024-08-30 17:53:10 +00:00
0c7aea3d7c v4.1.81 2024-08-30 17:16:25 +00:00
1ead7e5c45 Merge pull request #343 from balena-io/renovate/balena-open-balena-api-26.4.x
Update balena/open-balena-api Docker tag to v26.4.2
2024-08-30 17:15:39 +00:00
be3de75160 Update balena/open-balena-api Docker tag to v26.4.2
Update balena/open-balena-api from 26.4.0 to 26.4.2

Change-type: patch
2024-08-30 16:56:24 +00:00
2c12a9941c v4.1.80 2024-08-29 16:17:17 +00:00
6879730fc6 Merge pull request #341 from balena-io/renovate/balena-open-balena-registry-2.41.x
Update balena/open-balena-registry Docker tag to v2.41.4
2024-08-29 16:16:30 +00:00
6e053b1db7 Update balena/open-balena-registry Docker tag to v2.41.4
Update balena/open-balena-registry from 2.41.3 to 2.41.4

Change-type: patch
2024-08-28 23:54:11 +00:00
53166d63ed v4.1.79 2024-08-28 23:18:16 +00:00
8e9b680bdb Merge pull request #342 from balena-io/renovate/balena-open-balena-s3-2.28.x
Update balena/open-balena-s3 Docker tag to v2.28.54
2024-08-28 23:17:24 +00:00
f82b997491 Update balena/open-balena-s3 Docker tag to v2.28.54
Update balena/open-balena-s3 from 2.28.53 to 2.28.54

Change-type: patch
2024-08-28 22:54:51 +00:00
2e86b31cec v4.1.78 2024-08-27 14:18:19 +00:00
62030dd494 Merge pull request #340 from balena-io/renovate/balena-open-balena-api-26.x
Update balena/open-balena-api Docker tag to v26.4.0
2024-08-27 14:17:21 +00:00
e63f0f0f6b Update balena/open-balena-api Docker tag to v26.4.0
Update balena/open-balena-api from 26.3.5 to 26.4.0

Change-type: patch
2024-08-27 13:55:46 +00:00
002dc4402f v4.1.77 2024-08-27 04:15:49 +00:00
681e400747 Merge pull request #338 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to 0fc95ed
2024-08-27 04:15:01 +00:00
2ec7207993 Update aws-actions/configure-aws-credentials digest to 0fc95ed
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-08-27 03:53:16 +00:00
2dc4dd100f v4.1.76 2024-08-26 04:11:26 +00:00
0848fb5ce5 Merge pull request #337 from balena-io/renovate/balena-open-balena-api-26.3.x
Update balena/open-balena-api Docker tag to v26.3.5
2024-08-26 04:10:46 +00:00
9b15f950ab Update balena/open-balena-api Docker tag to v26.3.5
Update balena/open-balena-api from 26.3.3 to 26.3.5

Change-type: patch
2024-08-26 03:52:51 +00:00
bef86ceaf2 v4.1.75 2024-08-23 00:13:34 +00:00
a0540831ba Merge pull request #332 from balena-io/renovate/balena-open-balena-api-26.3.x
Update balena/open-balena-api Docker tag to v26.3.3
2024-08-23 00:12:51 +00:00
4985538309 Update balena/open-balena-api Docker tag to v26.3.3
Update balena/open-balena-api from 26.3.1 to 26.3.3

Change-type: patch
2024-08-22 23:54:15 +00:00
65ddff7706 v4.1.74 2024-08-22 23:13:10 +00:00
b3ac36c749 Merge pull request #336 from balena-io/renovate/balena-io-balena-cli-19.x
Update dependency balena-io/balena-cli to v19
2024-08-22 16:12:18 -07:00
5b36a03d30 Update dependency balena-io/balena-cli to v19
Update balena-io/balena-cli from 18.2.34 to 19.0.0

Change-type: patch
2024-08-22 20:52:38 +00:00
d3ed267ff8 v4.1.73 2024-08-22 20:16:25 +00:00
79f2eea85a Merge pull request #335 from balena-io/renovate/balena-open-balena-registry-2.41.x
Update balena/open-balena-registry Docker tag to v2.41.3
2024-08-22 20:15:40 +00:00
301216fb62 Update balena/open-balena-registry Docker tag to v2.41.3
Update balena/open-balena-registry from 2.41.2 to 2.41.3

Change-type: patch
2024-08-22 19:54:17 +00:00
6b4e4bd24a v4.1.72 2024-08-22 19:14:47 +00:00
c0f7efb350 Merge pull request #334 from balena-io/renovate/balena-open-balena-s3-2.28.x
Update balena/open-balena-s3 Docker tag to v2.28.53
2024-08-22 19:13:57 +00:00
704c84bdd6 Update balena/open-balena-s3 Docker tag to v2.28.53
Update balena/open-balena-s3 from 2.28.52 to 2.28.53

Change-type: patch
2024-08-22 18:52:34 +00:00
55253878ed v4.1.71 2024-08-22 18:17:07 +00:00
b798c7f931 Merge pull request #333 from balena-io/renovate/balena-open-balena-registry-2.41.x
Update balena/open-balena-registry Docker tag to v2.41.2
2024-08-22 18:16:11 +00:00
be18ea6a53 Update balena/open-balena-registry Docker tag to v2.41.2
Update balena/open-balena-registry from 2.41.1 to 2.41.2

Change-type: patch
2024-08-22 17:57:00 +00:00
7dc7629c2a v4.1.70 2024-08-21 01:36:59 +00:00
35cfa61f89 Merge pull request #331 from balena-io/renovate/balena-open-balena-api-26.3.x
Update balena/open-balena-api Docker tag to v26.3.1
2024-08-21 01:35:56 +00:00
3fc51cb9c0 Update balena/open-balena-api Docker tag to v26.3.1
Update balena/open-balena-api from 26.3.0 to 26.3.1

Change-type: patch
2024-08-21 01:13:46 +00:00
4b03d8aa44 v4.1.69 2024-08-20 05:14:30 +00:00
8bcd527a1e Merge pull request #330 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to ead1e6a
2024-08-20 05:13:36 +00:00
bda5063cb1 Update aws-actions/configure-aws-credentials digest to ead1e6a
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-08-20 04:53:34 +00:00
72efc4bae4 v4.1.68 2024-08-19 20:49:04 +00:00
aac14956fc Merge pull request #329 from balena-io/renovate/balena-open-balena-api-26.x
Update balena/open-balena-api Docker tag to v26.3.0
2024-08-19 20:48:21 +00:00
423418f116 Update balena/open-balena-api Docker tag to v26.3.0
Update balena/open-balena-api from 26.2.2 to 26.3.0

Change-type: patch
2024-08-19 19:54:33 +00:00
3b1f2c7e3f v4.1.67 2024-08-19 19:11:55 +00:00
c605143194 Merge pull request #328 from balena-io/renovate/qemux-qemu-docker-5.x
Update qemux/qemu-docker Docker tag to v5.18
2024-08-19 19:11:12 +00:00
7210ea0ad8 Update qemux/qemu-docker Docker tag to v5.18
Update qemux/qemu-docker from 5.16 to 5.18

Change-type: patch
2024-08-19 18:53:12 +00:00
3b476128a3 v4.1.66 2024-08-19 18:22:06 +00:00
366249a439 Merge pull request #317 from balena-io/ab77/patch
SSH reliability settings
2024-08-19 18:21:12 +00:00
539adade50 SSH reliability settings
* enable SSHD multiplexing, KeepAlive and relax throttling

Thank you for the hint:
https://forums.docker.com/t/docker-compose-through-ssh-failing-and-referring-to-docker-example-com/115165/18?u=ab77

       MaxStartups
               Specifies the maximum number of concurrent
               unauthenticated connections to the SSH daemon.
               Additional connections will be dropped until
               authentication succeeds or the LoginGraceTime expires for
               a connection.  The default is 10:30:100.

               Alternatively, random early drop can be enabled by
               specifying the three colon separated values
               start:rate:full (e.g. "10:30:60").  sshd(8) will refuse
               connection attempts with a probability of rate/100 (30%)
               if there are currently start (10) unauthenticated
               connections.  The probability increases linearly and all
               connection attempts are refused if the number of
               unauthenticated connections reaches full (60).

change-type: patch
2024-08-19 10:22:37 -07:00
977feac1af Update tests.yml 2024-08-19 10:07:52 -07:00
8c7e939c25 Docker Compose through SSH failing and referring to docker.example.com 2024-08-19 10:07:52 -07:00
6361744956 try GH runners for a laugh.. 2024-08-19 10:07:52 -07:00
afb14283d3 Update tests.yml 2024-08-19 10:07:52 -07:00
e518f94554 try container runner 2024-08-19 10:07:52 -07:00
12add96fb1 Update tests.yml 2024-08-19 10:07:52 -07:00
7b800de7e0 Update tests.yml 2024-08-19 10:07:52 -07:00
cff01bc4a6 Update tests.yml 2024-08-19 10:07:52 -07:00
42b9edb346 Update tests.yml 2024-08-19 10:07:52 -07:00
94cc717f86 specify test runner group 2024-08-19 10:07:52 -07:00
80fe9bb225 experiment over ipsec vpn 2024-08-19 10:07:52 -07:00
cc24c2e60f limit to test runners group 2024-08-19 10:07:52 -07:00
e0a03ac8d4 pre-create control masters directory 2024-08-19 10:07:52 -07:00
758c52b7ba SSH reliability settings
SSH connections keep breaking between Hetzner EU DCs and AWS us-east-1 for no particular reason. Suspect Hetzner local network saturation and/or a function of trans-atlantic routing/peering/time of day. Adding connection multiplexing and keepalive to test this theory.

change-type: patch
2024-08-19 10:07:52 -07:00
24d2b2c646 v4.1.65 2024-08-15 21:13:57 +00:00
0103c32090 Merge pull request #327 from balena-io/vipulgupta2048/add-toc
patch: Add Table of Contents
2024-08-15 14:13:09 -07:00
b414f262c0 patch: Add Table of Contents
Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com>
2024-08-15 13:26:35 +05:30
39863afeff v4.1.64 2024-08-13 16:51:58 +00:00
9ed5bb247a Merge pull request #326 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to 55f725f
2024-08-13 16:51:11 +00:00
2f141a4e4e Update aws-actions/configure-aws-credentials digest to 55f725f
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-08-13 03:51:42 +00:00
a0861307d0 v4.1.63 2024-08-12 17:48:00 +00:00
a26cdd8e9b Merge pull request #321 from balena-io/ab77/patch-2
Cleanup AWS/EC2 key pairs
2024-08-12 17:47:09 +00:00
b4efd63454 Cleanup AWS/EC2 key pairs
change-type: patch
2024-08-12 10:27:38 -07:00
afcced837a v4.1.62 2024-08-12 17:25:41 +00:00
bec1d9ff1b Merge pull request #324 from balena-io/renovate/balena-open-balena-registry-2.x
Update balena/open-balena-registry Docker tag to v2.41.1
2024-08-12 17:16:13 +00:00
b8717d5fbe Update balena/open-balena-registry Docker tag to v2.41.1
Update balena/open-balena-registry from 2.39.65 to 2.41.1

Change-type: patch
2024-08-12 16:53:57 +00:00
e64c731d33 v4.1.61 2024-08-12 16:14:30 +00:00
a613edce65 Merge pull request #323 from balena-io/renovate/balena-open-balena-api-26.x
Update balena/open-balena-api Docker tag to v26.2.2
2024-08-12 16:13:46 +00:00
bafc9c02ab Update balena/open-balena-api Docker tag to v26.2.2
Update balena/open-balena-api from 26.1.6 to 26.2.2

Change-type: patch
2024-08-12 15:53:56 +00:00
abc6225c16 v4.1.60 2024-08-10 06:17:00 +00:00
ef47b2928e Merge pull request #325 from balena-io/renovate/redis-7.x
Update redis Docker tag to v7.4
2024-08-10 06:16:17 +00:00
24925320f8 Update redis Docker tag to v7.4
Update redis from 7.2 to 7.4

Change-type: patch
2024-08-10 05:53:57 +00:00
27f0a7894e v4.1.59 2024-08-10 05:14:05 +00:00
b733a23035 Merge pull request #314 from balena-io/renovate/balena-open-balena-s3-2.28.x
Update balena/open-balena-s3 Docker tag to v2.28.52
2024-08-10 05:13:05 +00:00
6b4682ece6 Update balena/open-balena-s3 Docker tag to v2.28.52
Update balena/open-balena-s3 from 2.28.50 to 2.28.52

Change-type: patch
2024-08-10 04:52:37 +00:00
a520ec228a v4.1.58 2024-08-10 04:17:20 +00:00
02f9d1a67f Merge pull request #320 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.34
2024-08-10 04:16:27 +00:00
b3d0f53bdb Update dependency balena-io/balena-cli to v18.2.34
Update balena-io/balena-cli from 18.2.33 to 18.2.34

Change-type: patch
2024-08-10 03:54:08 +00:00
e3cb369bc0 v4.1.57 2024-08-10 03:18:55 +00:00
927e41a9e5 Merge pull request #322 from balena-io/renovate/balena-open-balena-api-26.1.x
Update balena/open-balena-api Docker tag to v26.1.6
2024-08-10 03:18:11 +00:00
d3694bbd6e Update balena/open-balena-api Docker tag to v26.1.6
Update balena/open-balena-api from 26.1.5 to 26.1.6

Change-type: patch
2024-08-10 02:56:54 +00:00
b65c8301d8 v4.1.56 2024-08-10 02:34:37 +00:00
60d8c5b393 Merge pull request #318 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to 39228ca
2024-08-10 02:33:39 +00:00
bb47956aa6 Update aws-actions/configure-aws-credentials digest to 39228ca
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-08-10 02:11:40 +00:00
65bb9aa00b v4.1.55 2024-08-06 14:52:07 +00:00
7d6b0aed3c Merge pull request #319 from balena-io/renovate/balena-open-balena-vpn-11.30.x
Update balena/open-balena-vpn Docker tag to v11.30.31
2024-08-06 14:51:16 +00:00
2ba2d6aadd Update balena/open-balena-vpn Docker tag to v11.30.31
Update balena/open-balena-vpn from 11.30.27 to 11.30.31

Change-type: patch
2024-08-05 22:52:18 +00:00
561dccbe13 v4.1.54 2024-08-05 22:16:52 +00:00
69e246efd6 Merge pull request #315 from balena-io/renovate/balena-open-balena-api-26.1.x
Update balena/open-balena-api Docker tag to v26.1.5
2024-08-05 22:16:07 +00:00
6742366dbb Update balena/open-balena-api Docker tag to v26.1.5
Update balena/open-balena-api from 26.1.3 to 26.1.5

Change-type: patch
2024-08-05 21:51:15 +00:00
0d3e5f9eb8 v4.1.53 2024-08-05 21:02:34 +00:00
8912b7c216 Merge pull request #316 from balena-io/renovate/actions-checkout-digest
Update actions/checkout digest to 9a9194f
2024-08-05 21:01:41 +00:00
b122b301fd Update actions/checkout digest to 9a9194f
Update actions/checkout

Change-type: patch
2024-08-05 14:54:11 +00:00
a9abd83c60 v4.1.52 2024-08-01 19:27:17 +00:00
29ba2f2475 Merge pull request #313 from balena-io/renovate/balena-open-balena-registry-2.39.x
Update balena/open-balena-registry Docker tag to v2.39.65
2024-08-01 19:26:31 +00:00
a068dafe1c Update balena/open-balena-registry Docker tag to v2.39.65
Update balena/open-balena-registry from 2.39.63 to 2.39.65

Change-type: patch
2024-07-29 13:02:41 +00:00
90a1a791b4 v4.1.51 2024-07-23 20:23:58 +00:00
09e0ffd199 Merge pull request #312 from balena-io/renovate/balena-open-balena-api-26.1.x
Update balena/open-balena-api Docker tag to v26.1.3
2024-07-23 20:23:05 +00:00
eceb7deb86 Update balena/open-balena-api Docker tag to v26.1.3
Update balena/open-balena-api from 26.1.2 to 26.1.3

Change-type: patch
2024-07-23 19:55:14 +00:00
1378d26adc v4.1.50 2024-07-23 04:14:36 +00:00
0196d6f275 Merge pull request #311 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to 12e3392
2024-07-23 04:13:43 +00:00
7dcbd0ea01 Update aws-actions/configure-aws-credentials digest to 12e3392
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-07-23 03:51:52 +00:00
f8c71f7fb2 v4.1.49 2024-07-22 15:21:15 +00:00
5ce87e1894 Merge pull request #308 from balena-io/renovate/balena-open-balena-api-26.x
Update balena/open-balena-api Docker tag to v26
2024-07-22 08:20:32 -07:00
aec392953f Update balena/open-balena-api Docker tag to v26
Update balena/open-balena-api from 25.2.8 to 26.1.2

Change-type: patch
2024-07-22 02:15:51 +00:00
bc47611d0b v4.1.48 2024-07-19 18:33:15 +00:00
1bfbe7e671 Merge pull request #309 from balena-io/renovate/balena-open-balena-registry-2.39.x
Update balena/open-balena-registry Docker tag to v2.39.63
2024-07-19 18:32:34 +00:00
9e7dca1e77 Update balena/open-balena-registry Docker tag to v2.39.63
Update balena/open-balena-registry from 2.39.62 to 2.39.63

Change-type: patch
2024-07-19 17:53:54 +00:00
0016a812d6 v4.1.47 2024-07-19 17:33:42 +00:00
19473db450 Merge pull request #310 from balena-io/renovate/balena-open-balena-s3-2.28.x
Update balena/open-balena-s3 Docker tag to v2.28.50
2024-07-19 17:33:03 +00:00
d796f9c7a9 Update balena/open-balena-s3 Docker tag to v2.28.50
Update balena/open-balena-s3 from 2.28.49 to 2.28.50

Change-type: patch
2024-07-19 16:56:52 +00:00
cb5784534a v4.1.46 2024-07-17 11:32:16 +00:00
74defe3e37 Merge pull request #306 from balena-io/renovate/balena-open-balena-vpn-11.30.x
Update balena/open-balena-vpn Docker tag to v11.30.27
2024-07-17 11:31:30 +00:00
e2dd1d1e7c Update balena/open-balena-vpn Docker tag to v11.30.27
Update balena/open-balena-vpn from 11.30.26 to 11.30.27

Change-type: patch
2024-07-17 10:54:55 +00:00
1210e3657b v4.1.45 2024-07-17 10:18:58 +00:00
c738ed5018 Merge pull request #302 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to 6116f2b
2024-07-17 10:18:09 +00:00
777aecb83c Update aws-actions/configure-aws-credentials digest to 6116f2b
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-07-17 09:57:51 +00:00
3d685adafa v4.1.44 2024-07-17 09:22:16 +00:00
21f1e90f67 Merge pull request #307 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.33
2024-07-17 09:21:18 +00:00
8e416c235b Update dependency balena-io/balena-cli to v18.2.33
Update balena-io/balena-cli from 18.2.32 to 18.2.33

Change-type: patch
2024-07-17 08:55:35 +00:00
f5c4ab1166 v4.1.43 2024-07-16 18:34:58 +00:00
36df27a0a5 Merge pull request #305 from balena-io/klutchell-patch-1
Remove custom_runs_on instruction from flowzone.yml
2024-07-16 18:34:06 +00:00
33cce523a0 Remove custom_runs_on instruction from flowzone.yml
This project has no custom actions to run, and was using
the legacy input format for custom jobs that is being deprecated.

Change-type: patch
2024-07-16 14:01:34 -04:00
7c7ab49b0f v4.1.42 2024-07-16 16:19:16 +00:00
affcbc5c92 Merge pull request #304 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.32
2024-07-16 16:18:27 +00:00
c20c3c9b47 Update dependency balena-io/balena-cli to v18.2.32
Update balena-io/balena-cli from 18.2.31 to 18.2.32

Change-type: patch
2024-07-16 15:56:31 +00:00
ecaf1c7e1d v4.1.41 2024-07-16 15:43:49 +00:00
900907f07e Merge pull request #303 from balena-io/renovate/balena-open-balena-api-25.2.x
Update balena/open-balena-api Docker tag to v25.2.8
2024-07-16 15:42:53 +00:00
e308b28fe8 Update balena/open-balena-api Docker tag to v25.2.8
Update balena/open-balena-api from 25.2.7 to 25.2.8

Change-type: patch
2024-07-16 14:53:33 +00:00
c2e8424ad8 v4.1.40 2024-07-15 22:17:19 +00:00
5248f2bc16 Merge pull request #301 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.31
2024-07-15 22:16:35 +00:00
f353fbbbc2 Update dependency balena-io/balena-cli to v18.2.31
Update balena-io/balena-cli from 18.2.30 to 18.2.31

Change-type: patch
2024-07-15 21:54:57 +00:00
e6eb50b64a v4.1.39 2024-07-15 20:02:07 +00:00
6f60eb41aa Merge pull request #300 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.30
2024-07-15 20:01:18 +00:00
11f7a27d3e Update dependency balena-io/balena-cli to v18.2.30
Update balena-io/balena-cli from 18.2.29 to 18.2.30

Change-type: patch
2024-07-15 17:53:42 +00:00
74cfc75e4b v4.1.38 2024-07-15 16:53:52 +00:00
7ec3dbcbc0 Merge pull request #299 from balena-io/renovate/balena-open-balena-api-25.2.x
Update balena/open-balena-api Docker tag to v25.2.7
2024-07-15 16:53:05 +00:00
62c653d7fe Update balena/open-balena-api Docker tag to v25.2.7
Update balena/open-balena-api from 25.2.5 to 25.2.7

Change-type: patch
2024-07-15 15:56:22 +00:00
aacb88a4f6 v4.1.37 2024-07-12 16:22:14 +00:00
c54f82e81e Merge pull request #298 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.29
2024-07-12 16:21:26 +00:00
373af1b08b Update dependency balena-io/balena-cli to v18.2.29
Update balena-io/balena-cli from 18.2.28 to 18.2.29

Change-type: patch
2024-07-12 15:55:36 +00:00
1cd7f13ad8 v4.1.36 2024-07-12 14:19:31 +00:00
6b00c0bf43 Merge pull request #297 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.28
2024-07-12 14:18:41 +00:00
e3f9ce631f Update dependency balena-io/balena-cli to v18.2.28
Update balena-io/balena-cli from 18.2.25 to 18.2.28

Change-type: patch
2024-07-12 13:53:43 +00:00
5a5d8f4974 v4.1.35 2024-07-12 00:22:27 +00:00
71a6518db0 Merge pull request #295 from balena-io/renovate/balena-open-balena-vpn-11.30.x
Update balena/open-balena-vpn Docker tag to v11.30.26
2024-07-12 00:21:47 +00:00
d00a7c95df Update balena/open-balena-vpn Docker tag to v11.30.26
Update balena/open-balena-vpn from 11.30.23 to 11.30.26

Change-type: patch
2024-07-11 22:53:55 +00:00
c1a16744b2 v4.1.34 2024-07-11 22:32:22 +00:00
eeedce9219 Merge pull request #293 from balena-io/renovate/balena-open-balena-registry-2.39.x
Update balena/open-balena-registry Docker tag to v2.39.62
2024-07-11 22:31:36 +00:00
f32815c05d Update balena/open-balena-registry Docker tag to v2.39.62
Update balena/open-balena-registry from 2.39.61 to 2.39.62

Change-type: patch
2024-07-11 21:54:22 +00:00
154f2eeb6f v4.1.33 2024-07-11 20:56:39 +00:00
2f79c6e233 Merge pull request #287 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to 96589f5
2024-07-11 20:56:00 +00:00
0d88815b20 Update aws-actions/configure-aws-credentials digest to 96589f5
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-07-11 17:56:41 +00:00
2111c694a1 v4.1.32 2024-07-11 17:17:38 +00:00
db40007f15 Merge pull request #294 from balena-io/renovate/balena-open-balena-s3-2.28.x
Update balena/open-balena-s3 Docker tag to v2.28.49
2024-07-11 17:16:38 +00:00
b8e98e5246 Update balena/open-balena-s3 Docker tag to v2.28.49
Update balena/open-balena-s3 from 2.28.48 to 2.28.49

Change-type: patch
2024-07-11 16:55:08 +00:00
3655a59c29 v4.1.31 2024-07-11 16:22:24 +00:00
daec2b7709 Merge pull request #292 from balena-io/renovate/balena-open-balena-api-25.2.x
Update balena/open-balena-api Docker tag to v25.2.5
2024-07-11 16:21:37 +00:00
1c28d800cf Update balena/open-balena-api Docker tag to v25.2.5
Update balena/open-balena-api from 25.2.0 to 25.2.5

Change-type: patch
2024-07-11 15:56:47 +00:00
3f8ecb9b6e v4.1.30 2024-07-11 15:50:47 +00:00
d61ab65d60 Merge pull request #296 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.25
2024-07-11 15:49:58 +00:00
be6af919b1 Update dependency balena-io/balena-cli to v18.2.25
Update balena-io/balena-cli from 18.2.22 to 18.2.25

Change-type: patch
2024-07-11 14:56:37 +00:00
7aab53f4a1 v4.1.29 2024-07-10 18:20:29 +00:00
ad6f491e56 Merge pull request #288 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.22
2024-07-10 18:19:35 +00:00
7879d34af9 Update dependency balena-io/balena-cli to v18.2.22
Update balena-io/balena-cli from 18.2.20 to 18.2.22

Change-type: patch
2024-07-10 17:55:51 +00:00
1d12982256 v4.1.28 2024-07-09 21:13:47 +00:00
90c1f5fa8e Merge pull request #284 from balena-io/renovate/balena-open-balena-registry-2.39.x
Update balena/open-balena-registry Docker tag to v2.39.61
2024-07-09 21:12:59 +00:00
688f0a5e02 Update balena/open-balena-registry Docker tag to v2.39.61
Update balena/open-balena-registry from 2.39.60 to 2.39.61

Change-type: patch
2024-07-09 20:52:35 +00:00
6a4182b26e v4.1.27 2024-07-09 20:23:36 +00:00
124e28352c Merge pull request #289 from balena-io/renovate/balena-open-balena-api-25.x
Update balena/open-balena-api Docker tag to v25.2.0
2024-07-09 20:22:42 +00:00
06bd4b6561 Update balena/open-balena-api Docker tag to v25.2.0
Update balena/open-balena-api from 25.1.29 to 25.2.0

Change-type: patch
2024-07-09 19:54:42 +00:00
19b85a87bb v4.1.26 2024-07-09 19:15:11 +00:00
b488898517 Merge pull request #290 from balena-io/ab77/patch
Relax regex to match all Let's Encrypt CNs
2024-07-09 19:14:12 +00:00
44b6e5a4c1 Relax regex to match all Let's Encrypt CNs
change-type: patch
2024-07-09 09:59:39 -07:00
20a88db22a v4.1.25 2024-07-09 16:57:31 +00:00
bb78665e39 Merge pull request #285 from balena-io/renovate/balena-open-balena-s3-2.28.x
Update balena/open-balena-s3 Docker tag to v2.28.48
2024-07-09 16:56:41 +00:00
7924ee920a Update balena/open-balena-s3 Docker tag to v2.28.48
Update balena/open-balena-s3 from 2.28.47 to 2.28.48

Change-type: patch
2024-07-09 16:35:12 +00:00
ff6c7b5a75 v4.1.24 2024-07-09 16:17:50 +00:00
b1c0bafec7 Merge pull request #283 from balena-io/renovate/balena-open-balena-api-25.1.x
Update balena/open-balena-api Docker tag to v25.1.29
2024-07-09 16:16:58 +00:00
b3c8709b24 Update balena/open-balena-api Docker tag to v25.1.29
Update balena/open-balena-api from 25.1.27 to 25.1.29

Change-type: patch
2024-07-09 14:54:04 +00:00
81749928ee v4.1.23 2024-07-08 20:04:53 +00:00
3d5b0fb071 Merge pull request #274 from balena-io/renovate/balena-open-balena-vpn-11.30.x
Update balena/open-balena-vpn Docker tag to v11.30.23
2024-07-08 20:03:53 +00:00
24ff058819 Update balena/open-balena-vpn Docker tag to v11.30.23
Update balena/open-balena-vpn from 11.30.22 to 11.30.23

Change-type: patch
2024-07-08 16:54:34 +00:00
e396706d4d v4.1.22 2024-07-08 16:37:33 +00:00
e077e8811d Merge pull request #281 from balena-io/renovate/balena-open-balena-api-25.1.x
Update balena/open-balena-api Docker tag to v25.1.27
2024-07-08 16:36:40 +00:00
2a0edead1d Update balena/open-balena-api Docker tag to v25.1.27
Update balena/open-balena-api from 25.1.24 to 25.1.27

Change-type: patch
2024-07-08 15:56:28 +00:00
c7440999a2 v4.1.21 2024-07-08 14:49:13 +00:00
a2b1a247bc Merge pull request #279 from balena-io/ab77/operational
Make tests more reliable
2024-07-08 07:48:25 -07:00
b0f79a0d84 Make tests more reliable
* ensure config and creds are ready before attempting auth
* warn instead of error on DUT shutdown failures

change-type: patch
2024-07-08 06:59:33 -07:00
5468ef100b v4.1.20 2024-07-05 22:14:23 +00:00
ab3eb4c2b9 Merge pull request #282 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.20
2024-07-05 22:13:34 +00:00
d4683c028a Update dependency balena-io/balena-cli to v18.2.20
Update balena-io/balena-cli from 18.2.19 to 18.2.20

Change-type: patch
2024-07-05 21:52:50 +00:00
2c30ef662a v4.1.19 2024-07-05 14:38:14 +00:00
551c4a77e0 Merge pull request #275 from balena-io/renovate/balena-io-balena-cli-18.2.x
Update dependency balena-io/balena-cli to v18.2.19
2024-07-05 14:37:26 +00:00
dc7fd065f9 Update dependency balena-io/balena-cli to v18.2.19
Update balena-io/balena-cli from 18.2.10 to 18.2.19

Change-type: patch
2024-07-05 13:55:42 +00:00
96c34c8b19 v4.1.18 2024-07-05 00:33:20 +00:00
0b43bc00f1 Merge pull request #280 from balena-io/renovate/balena-open-balena-api-25.1.x
Update balena/open-balena-api Docker tag to v25.1.24
2024-07-05 00:32:27 +00:00
cfb35f9d39 Update balena/open-balena-api Docker tag to v25.1.24
Update balena/open-balena-api from 25.1.19 to 25.1.24

Change-type: patch
2024-07-04 23:54:31 +00:00
13ebf060e3 v4.1.17 2024-07-04 23:28:24 +00:00
df38e7491c Merge pull request #269 from balena-io/renovate/balena-open-balena-registry-2.39.x
Update balena/open-balena-registry Docker tag to v2.39.60
2024-07-04 23:27:34 +00:00
b023d3a470 Update balena/open-balena-registry Docker tag to v2.39.60
Update balena/open-balena-registry from 2.39.58 to 2.39.60

Change-type: patch
2024-07-04 22:53:42 +00:00
3674d61bc6 v4.1.16 2024-07-04 22:17:05 +00:00
2c11632dfa Merge pull request #272 from balena-io/renovate/aws-actions-configure-aws-credentials-digest
Update aws-actions/configure-aws-credentials digest to febab93
2024-07-04 22:16:20 +00:00
7fd045814c Update aws-actions/configure-aws-credentials digest to febab93
Update aws-actions/configure-aws-credentials

Change-type: patch
2024-07-04 21:55:24 +00:00
0e4a5aca3b v4.1.15 2024-07-04 21:54:32 +00:00
68021551f3 Merge pull request #276 from balena-io/ab77/patch
pin balena-cli version
2024-07-04 21:53:47 +00:00
7ddb50c19f pin balena-cli version
change-type: patch
2024-07-04 14:34:00 -07:00
3ffd7d863b v4.1.14 2024-07-04 21:33:45 +00:00
376a318db3 Merge pull request #277 from balena-io/ab77/operational
shellcheck/lint workflow(s)
2024-07-04 14:32:44 -07:00
0328960ecc shellcheck/lint workflow(s)
change-type: patch
2024-07-04 10:52:39 -07:00
13 changed files with 1595 additions and 60 deletions

8
.github/actionlint.yaml vendored Normal file
View File

@ -0,0 +1,8 @@
self-hosted-runner:
# Labels of self-hosted runner in array of strings.
labels:
- "distro:jammy"
# Configuration variables in array of strings defined in your repository or
# organization. `null` means disabling configuration variables check.
# Empty array means no configuration variable is allowed.
config-variables: null

View File

@ -25,15 +25,6 @@ jobs:
with: with:
jobs_timeout_minutes: 60 jobs_timeout_minutes: 60
cloudflare_website: open-balena cloudflare_website: open-balena
custom_runs_on: |
[
[
"self-hosted",
"Linux",
"X64"
]
]
balena_slugs: | balena_slugs: |
balena/open-balena balena/open-balena

View File

@ -73,13 +73,13 @@ jobs:
name: ${{ matrix.target }} name: ${{ matrix.target }}
steps: steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: actions/checkout@2d7d9f7ff5b310f983d059b68785b3c74d8b8edd
# https://github.com/unfor19/install-aws-cli-action # https://github.com/unfor19/install-aws-cli-action
- name: Setup awscli - name: Setup awscli
uses: unfor19/install-aws-cli-action@e8b481e524a99f37fbd39fdc1dcb3341ab091367 # v1 uses: unfor19/install-aws-cli-action@e8b481e524a99f37fbd39fdc1dcb3341ab091367 # v1
- uses: aws-actions/configure-aws-credentials@af7e7d4f5cd9d70c88a15b7a1332764a801f90d2 - uses: aws-actions/configure-aws-credentials@e26e19042832fb823bebedbd411b82b685244c69
with: with:
aws-region: ${{ vars.AWS_REGION || 'us-east-1' }} aws-region: ${{ vars.AWS_REGION || 'us-east-1' }}
role-session-name: github-${{ github.job }}-${{ github.run_id }}-${{ github.run_attempt }} role-session-name: github-${{ github.job }}-${{ github.run_id }}-${{ github.run_attempt }}
@ -90,15 +90,19 @@ jobs:
- name: install session-manager-plugin - name: install session-manager-plugin
if: matrix.target == 'compose-private-pki' if: matrix.target == 'compose-private-pki'
run: | run: |
# shellcheck disable=SC2153
runner_arch="$(echo "${RUNNER_ARCH}" | tr '[:upper:]' '[:lower:]' | sed 's/x64/64bit/g')" runner_arch="$(echo "${RUNNER_ARCH}" | tr '[:upper:]' '[:lower:]' | sed 's/x64/64bit/g')"
session-manager-plugin || (curl -sSfo session-manager-plugin.deb https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_${runner_arch}/session-manager-plugin.deb \ session-manager-plugin || (curl -sSfo session-manager-plugin.deb "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_${runner_arch}/session-manager-plugin.deb" \
&& sudo dpkg -i session-manager-plugin.deb \ && sudo dpkg -i session-manager-plugin.deb \
&& rm -f session-manager-plugin.deb) && rm -f session-manager-plugin.deb)
# https://github.com/balena-io-examples/setup-balena-action # https://github.com/balena-io-examples/setup-balena-action
- name: Setup balena CLI - name: Setup balena CLI
uses: balena-io-examples/setup-balena-action@main uses: balena-io-examples/setup-balena-action@main
with:
# renovate: datasource=github-releases depName=balena-io/balena-cli
cli-version: v18.2.17
# https://github.com/pdcastro/ssh-uuid#why # https://github.com/pdcastro/ssh-uuid#why
# https://github.com/pdcastro/ssh-uuid#linux-debian-ubuntu-others # https://github.com/pdcastro/ssh-uuid#linux-debian-ubuntu-others
@ -144,7 +148,7 @@ jobs:
set ${verbose} set ${verbose}
key_name="${{ matrix.target }}-${GITHUB_RUN_ID}-${GITHUB_RUN_NUMBER}-${GITHUB_RUN_ATTEMPT}" key_name="${{ matrix.target }}-${GITHUB_RUN_ID}-${GITHUB_RUN_NUMBER}-${GITHUB_RUN_ATTEMPT}"
echo "key_name=${key_name}" >> $GITHUB_OUTPUT echo "key_name=${key_name}" >>"${GITHUB_OUTPUT}"
set +x set +x
private_key_material="$(aws ec2 create-key-pair \ private_key_material="$(aws ec2 create-key-pair \
@ -160,14 +164,13 @@ jobs:
done <<< "${private_key_material}" done <<< "${private_key_material}"
ssh_private_key="$(cat << EOF ssh_private_key="$(cat << EOF
$(echo "${private_key_material}") ${private_key_material}
EOF EOF
)" )"
echo "ssh_private_key<<EOF" >> $GITHUB_OUTPUT echo "ssh_private_key<<EOF" >>"${GITHUB_OUTPUT}"
set ${verbose} set ${verbose}
echo "${ssh_private_key}" >> $GITHUB_OUTPUT { echo "${ssh_private_key}"; echo "EOF"; } >>"${GITHUB_OUTPUT}"
echo "EOF" >> $GITHUB_OUTPUT
echo "ssh_public_key=${public_key}" >> "${GITHUB_OUTPUT}" echo "ssh_public_key=${public_key}" >> "${GITHUB_OUTPUT}"
@ -201,6 +204,7 @@ jobs:
# the actual version deployed depends on the AWS EC2/AMI, defined in AWS_EC2_LAUNCH_TEMPLATE # the actual version deployed depends on the AWS EC2/AMI, defined in AWS_EC2_LAUNCH_TEMPLATE
os_version="$(balena os versions ${{ vars.DEVICE_TYPE || 'generic-amd64' }} | head -n 1)" os_version="$(balena os versions ${{ vars.DEVICE_TYPE || 'generic-amd64' }} | head -n 1)"
# shellcheck disable=SC2046
balena config generate \ balena config generate \
--version "${os_version}" \ --version "${os_version}" \
--device "${balena_device_uuid}" \ --device "${balena_device_uuid}" \
@ -217,7 +221,7 @@ jobs:
GITHUB_SHA GITHUB_WORKFLOW RUNNER_ARCH RUNNER_NAME RUNNER_OS) GITHUB_SHA GITHUB_WORKFLOW RUNNER_ARCH RUNNER_NAME RUNNER_OS)
for github_var in "${github_vars[@]}"; do for github_var in "${github_vars[@]}"; do
balena tag set ${github_var} "${!github_var}" --device "${balena_device_uuid}" balena tag set "${github_var}" "${!github_var}" --device "${balena_device_uuid}"
done done
echo "balena_device_uuid=${balena_device_uuid}" >> "${GITHUB_OUTPUT}" echo "balena_device_uuid=${balena_device_uuid}" >> "${GITHUB_OUTPUT}"
@ -391,6 +395,7 @@ jobs:
source src/balena-tests/functions source src/balena-tests/functions
# shellcheck disable=SC2046,SC2043
for subnet_id in ${{ env.AWS_VPC_SUBNET_IDS }}; do for subnet_id in ${{ env.AWS_VPC_SUBNET_IDS }}; do
# spot, on-demand # spot, on-demand
for market_type in ${{ vars.MARKET_TYPES || 'spot' }}; do for market_type in ${{ vars.MARKET_TYPES || 'spot' }}; do
@ -456,7 +461,7 @@ jobs:
match='' match=''
for key in $(balena keys | grep -v ID | awk '{print $1}'); do for key in $(balena keys | grep -v ID | awk '{print $1}'); do
fp=$(balena key ${key} | tail -n 1 | ssh-keygen -E md5 -lf /dev/stdin | awk '{print $2}') fp=$(balena key "${key}" | tail -n 1 | ssh-keygen -E md5 -lf /dev/stdin | awk '{print $2}')
if [[ $fp =~ $(ssh-keygen -E md5 -lf "${HOME}/.ssh/id_rsa" | awk '{print $2}') ]]; then if [[ $fp =~ $(ssh-keygen -E md5 -lf "${HOME}/.ssh/id_rsa" | awk '{print $2}') ]]; then
match="${key}" match="${key}"
break break
@ -793,6 +798,14 @@ jobs:
&& rm -f "\${tmphosts}" \ && rm -f "\${tmphosts}" \
&& getent hosts api.${{ matrix.subdomain }}.${{ matrix.dns_tld }} | grep 127.0.1.1 && getent hosts api.${{ matrix.subdomain }}.${{ matrix.dns_tld }} | grep 127.0.1.1
sshd -T
service ssh restart
# https://forums.docker.com/t/docker-compose-through-ssh-failing-and-referring-to-docker-example-com/115165/18
- path: /etc/ssh/sshd_config.d/00-cloud-init
content: |
MaxStartups 100:0:100
# cloud-init runs as root # cloud-init runs as root
# (e.g.) https://cloudinit.readthedocs.io/en/latest/reference/merging.html#example-cloud-config # (e.g.) https://cloudinit.readthedocs.io/en/latest/reference/merging.html#example-cloud-config
runcmd: runcmd:
@ -801,6 +814,7 @@ jobs:
cloud-init schema -c user-data.yml cloud-init schema -c user-data.yml
# shellcheck disable=SC2046,SC2043
for subnet_id in ${{ env.AWS_VPC_SUBNET_IDS }}; do for subnet_id in ${{ env.AWS_VPC_SUBNET_IDS }}; do
# spot, on-demand # spot, on-demand
for market_type in ${{ vars.MARKET_TYPES || 'spot' }}; do for market_type in ${{ vars.MARKET_TYPES || 'spot' }}; do
@ -810,7 +824,7 @@ jobs:
$([[ -n '${{ matrix.ami }}' ]] && echo '--image-id ${{ matrix.ami }}') \ $([[ -n '${{ matrix.ami }}' ]] && echo '--image-id ${{ matrix.ami }}') \
--launch-template 'LaunchTemplateId=${{ env.AWS_EC2_LAUNCH_TEMPLATE }},Version=${{ matrix.launch_template_version }}' \ --launch-template 'LaunchTemplateId=${{ env.AWS_EC2_LAUNCH_TEMPLATE }},Version=${{ matrix.launch_template_version }}' \
--instance-type "${instance_type}" \ --instance-type "${instance_type}" \
$([[ $market_type =~ spot ]] && echo '--instance-market-options MarketType=spot') \ $([[ "$market_type" =~ spot ]] && echo '--instance-market-options MarketType=spot') \
--security-group-ids '${{ env.AWS_VPC_SECURITY_GROUP_IDS }}' \ --security-group-ids '${{ env.AWS_VPC_SECURITY_GROUP_IDS }}' \
--subnet-id "${subnet_id}" \ --subnet-id "${subnet_id}" \
--key-name '${{ steps.generate-key-pair.outputs.key_name }}' \ --key-name '${{ steps.generate-key-pair.outputs.key_name }}' \
@ -828,11 +842,15 @@ jobs:
[[ -z $response ]] && exit 1 [[ -z $response ]] && exit 1
instance_id="$(echo "${response}" | jq -r '.Instances[].InstanceId')" instance_id="$(echo "${response}" | jq -r '.Instances[].InstanceId')"
echo "instance_id=${instance_id}" >> $GITHUB_OUTPUT echo "instance_id=${instance_id}" >>"${GITHUB_OUTPUT}"
aws ec2 wait instance-running --instance-ids "${instance_id}" aws ec2 wait instance-running --instance-ids "${instance_id}"
with_backoff aws ec2 wait instance-status-ok --instance-ids "${instance_id}" with_backoff aws ec2 wait instance-status-ok --instance-ids "${instance_id}"
private_ip="$(aws ec2 describe-instances --instance-id "${instance_id}" \
| jq -r .Reservations[].Instances[].PrivateIpAddress)"
echo "private_ip=${private_ip}" >>"${GITHUB_OUTPUT}"
env: env:
ATTEMPTS: 2 ATTEMPTS: 2
AWS_DEFAULT_REGION: ${{ vars.AWS_REGION || 'us-east-1' }} AWS_DEFAULT_REGION: ${{ vars.AWS_REGION || 'us-east-1' }}
@ -870,10 +888,20 @@ jobs:
trap 'log_output' EXIT trap 'log_output' EXIT
# https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html # https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html
mkdir -p "${HOME}/.ssh/controlmasters"
cat << EOF > "${HOME}/.ssh/config" cat << EOF > "${HOME}/.ssh/config"
host *
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
host i-* host i-*
StrictHostKeyChecking no StrictHostKeyChecking no
UserKnownHostsFile /dev/null UserKnownHostsFile /dev/null
TCPKeepAlive yes
ServerAliveInterval 5
ControlPath "${HOME}/.ssh/controlmasters/%r@%h:%p"
ControlMaster auto
ControlPersist 5m
ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'" ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'"
EOF EOF
@ -906,7 +934,7 @@ jobs:
echo "${result}" | jq -re echo "${result}" | jq -re
cid="$(echo "${result}" | jq -r .Command.CommandId)" cid="$(echo "${result}" | jq -r .Command.CommandId)"
iid="$(echo "${result}" | jq -r .Command.InstanceIds[0])" iid="$(echo "${result}" | jq -r .Command.InstanceIds[0])"
([[ -n "$cid" ]] && [[ -n "$iid" ]]) || false { [[ -n "$cid" ]] && [[ -n "$iid" ]]; } || false
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines
CYAN='\033[0;36m'; NC='\033[0m'; echo -e "::group::${CYAN}open-balena-tests${NC}" CYAN='\033[0;36m'; NC='\033[0m'; echo -e "::group::${CYAN}open-balena-tests${NC}"
@ -937,7 +965,7 @@ jobs:
touch .env touch .env
for service in sut dut; do for service in sut dut; do
until [[ "$(docker compose ps --services "${service}" --status running)" =~ "${service}" ]]; do until [[ "$(docker compose ps --services "${service}" --status running)" =~ ${service} ]]; do
echo "::info::waiting for ${service}..." echo "::info::waiting for ${service}..."
with_backoff docker compose ps with_backoff docker compose ps
sleep $(((RANDOM%5) + 5))s sleep $(((RANDOM%5) + 5))s
@ -949,7 +977,7 @@ jobs:
done done
echo '::info::settling down...' echo '::info::settling down...'
sleep $(((RANDOM%30) + 15))s sleep $(((RANDOM%15) + 15))s
while [[ "$(aws ssm list-command-invocations --command-id "${cid}" \ while [[ "$(aws ssm list-command-invocations --command-id "${cid}" \
| jq -re '.CommandInvocations[].Status')" =~ InProgress ]]; do | jq -re '.CommandInvocations[].Status')" =~ InProgress ]]; do
@ -992,6 +1020,16 @@ jobs:
with_backoff balena keys | grep ${{ steps.provision-ssh-key.outputs.key_id }} \ with_backoff balena keys | grep ${{ steps.provision-ssh-key.outputs.key_id }} \
| awk '{print $1}' | xargs --no-run-if-empty balena key rm --yes | awk '{print $1}' | xargs --no-run-if-empty balena key rm --yes
- name: remove AWS/EC2 key-pair
if: always() && matrix.target == 'compose-private-pki'
continue-on-error: true
run: |
set -ue
[[ '${{ vars.VERBOSE }}' =~ on|On|Yes|yes|true|True ]] && set -x
aws ec2 delete-key-pair --key-name ${{ steps.generate-key-pair.outputs.key_name }}
- name: delete balenaOS test device - name: delete balenaOS test device
if: always() && matrix.target == 'balena-public-pki' if: always() && matrix.target == 'balena-public-pki'
continue-on-error: true continue-on-error: true
@ -1059,20 +1097,20 @@ jobs:
aws ec2 describe-instances --filters \ aws ec2 describe-instances --filters \
Name=tag:Name,Values=open-balena-tests \ Name=tag:Name,Values=open-balena-tests \
Name=instance-state-name,Values=running \ Name=instance-state-name,Values=running \
| jq -re '.Reservations[].Instances[].InstanceId + " " + .Reservations[].Instances[].LaunchTime' > ${stale_instances} || true | jq -re '.Reservations[].Instances[].InstanceId + " " + .Reservations[].Instances[].LaunchTime' > "${stale_instances}" || true
if test -s "${stale_instances}"; then if test -s "${stale_instances}"; then
while IFS= read -r line; do while IFS= read -r line; do
instance_id=$(echo ${line} | awk '{print $1}') instance_id="$(echo "${line}" | awk '{print $1}')"
launch_time=$(echo ${line} | awk '{print $2}') launch_time="$(echo "${line}" | awk '{print $2}')"
now=$(date +%s) now="$(date +%s)"
then=$(date --date ${launch_time} +%s) then="$(date --date "${launch_time}" +%s)"
days_since_launch=$(( (now - then) / 86400 )) days_since_launch="$(( (now - then) / 86400 ))"
if [[ -n $days_since_launch ]] && [[ $days_since_launch -ge 1 ]]; then if [[ -n "$days_since_launch" ]] && [[ $days_since_launch -ge 1 ]]; then
with_backoff aws ec2 terminate-instances --instance-ids ${instance_id} with_backoff aws ec2 terminate-instances --instance-ids "${instance_id}"
fi fi
done <${stale_instances} done <"${stale_instances}"
rm -f ${stale_instances} rm -f "${stale_instances}"
fi fi
env: env:
@ -1096,11 +1134,11 @@ jobs:
"https://api.cloudflare.com/client/v4/zones?name=${{ matrix.dns_tld }}" \ "https://api.cloudflare.com/client/v4/zones?name=${{ matrix.dns_tld }}" \
-H 'Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}' | jq -r '.result[].id')" -H 'Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}' | jq -r '.result[].id')"
for record in "$(curl --silent --retry ${{ env.RETRY }} \ for record in $(curl --silent --retry ${{ env.RETRY }} \
"https://api.cloudflare.com/client/v4/zones/${zone_id}/dns_records" \ "https://api.cloudflare.com/client/v4/zones/${zone_id}/dns_records" \
-H 'Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}' \ -H 'Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}' \
| jq -r --arg match "${match}" '.result[] | select(((.type=="TXT") and (.name | contains($match))))' \ | jq -r --arg match "${match}" '.result[] | select(((.type=="TXT") and (.name | contains($match))))' \
| base64)"; do | base64); do
json="$(echo "${record}" | base64 -d | jq -r)" json="$(echo "${record}" | base64 -d | jq -r)"
id="$(echo "${json}" | jq -r .id)" id="$(echo "${json}" | jq -r .id)"

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,407 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
# v4.1.93
## (2024-09-03)
* Update dependency balena-io/balena-cli to v19.0.2 [Self-hosted Renovate Bot]
# v4.1.92
## (2024-09-03)
* Update balena/open-balena-vpn Docker tag to v11.30.33 [Self-hosted Renovate Bot]
# v4.1.91
## (2024-09-03)
* Update balena/open-balena-registry Docker tag to v2.41.6 [Self-hosted Renovate Bot]
# v4.1.90
## (2024-09-03)
* Update balena/open-balena-s3 Docker tag to v2.28.55 [Self-hosted Renovate Bot]
# v4.1.89
## (2024-09-03)
* Update balena/open-balena-api Docker tag to v26.4.8 [Self-hosted Renovate Bot]
# v4.1.88
## (2024-09-03)
* Update aws-actions/configure-aws-credentials digest to e26e190 [Self-hosted Renovate Bot]
# v4.1.87
## (2024-09-03)
* Update balena/open-balena-api Docker tag to v26.4.7 [Self-hosted Renovate Bot]
# v4.1.86
## (2024-09-03)
* Update balena/open-balena-api Docker tag to v26.4.6 [Self-hosted Renovate Bot]
# v4.1.85
## (2024-09-02)
* Update dependency balena-io/balena-cli to v19.0.1 [Self-hosted Renovate Bot]
# v4.1.84
## (2024-09-02)
* Update balena/open-balena-api Docker tag to v26.4.5 [Self-hosted Renovate Bot]
# v4.1.83
## (2024-09-02)
* Update actions/checkout digest to 2d7d9f7 [Self-hosted Renovate Bot]
# v4.1.82
## (2024-08-30)
* Update balena/open-balena-api Docker tag to v26.4.3 [Self-hosted Renovate Bot]
# v4.1.81
## (2024-08-30)
* Update balena/open-balena-api Docker tag to v26.4.2 [Self-hosted Renovate Bot]
# v4.1.80
## (2024-08-29)
* Update balena/open-balena-registry Docker tag to v2.41.4 [Self-hosted Renovate Bot]
# v4.1.79
## (2024-08-28)
* Update balena/open-balena-s3 Docker tag to v2.28.54 [Self-hosted Renovate Bot]
# v4.1.78
## (2024-08-27)
* Update balena/open-balena-api Docker tag to v26.4.0 [Self-hosted Renovate Bot]
# v4.1.77
## (2024-08-27)
* Update aws-actions/configure-aws-credentials digest to 0fc95ed [Self-hosted Renovate Bot]
# v4.1.76
## (2024-08-26)
* Update balena/open-balena-api Docker tag to v26.3.5 [Self-hosted Renovate Bot]
# v4.1.75
## (2024-08-23)
* Update balena/open-balena-api Docker tag to v26.3.3 [Self-hosted Renovate Bot]
# v4.1.74
## (2024-08-22)
* Update dependency balena-io/balena-cli to v19 [Self-hosted Renovate Bot]
# v4.1.73
## (2024-08-22)
* Update balena/open-balena-registry Docker tag to v2.41.3 [Self-hosted Renovate Bot]
# v4.1.72
## (2024-08-22)
* Update balena/open-balena-s3 Docker tag to v2.28.53 [Self-hosted Renovate Bot]
# v4.1.71
## (2024-08-22)
* Update balena/open-balena-registry Docker tag to v2.41.2 [Self-hosted Renovate Bot]
# v4.1.70
## (2024-08-21)
* Update balena/open-balena-api Docker tag to v26.3.1 [Self-hosted Renovate Bot]
# v4.1.69
## (2024-08-20)
* Update aws-actions/configure-aws-credentials digest to ead1e6a [Self-hosted Renovate Bot]
# v4.1.68
## (2024-08-19)
* Update balena/open-balena-api Docker tag to v26.3.0 [Self-hosted Renovate Bot]
# v4.1.67
## (2024-08-19)
* Update qemux/qemu-docker Docker tag to v5.18 [Self-hosted Renovate Bot]
# v4.1.66
## (2024-08-19)
* SSH reliability settings [Anton Belodedenko]
* SSH reliability settings [Anton Belodedenko]
# v4.1.65
## (2024-08-15)
* patch: Add Table of Contents [Vipul Gupta (@vipulgupta2048)]
# v4.1.64
## (2024-08-13)
* Update aws-actions/configure-aws-credentials digest to 55f725f [Self-hosted Renovate Bot]
# v4.1.63
## (2024-08-12)
* Cleanup AWS/EC2 key pairs [Anton Belodedenko]
# v4.1.62
## (2024-08-12)
* Update balena/open-balena-registry Docker tag to v2.41.1 [Self-hosted Renovate Bot]
# v4.1.61
## (2024-08-12)
* Update balena/open-balena-api Docker tag to v26.2.2 [Self-hosted Renovate Bot]
# v4.1.60
## (2024-08-10)
* Update redis Docker tag to v7.4 [Self-hosted Renovate Bot]
# v4.1.59
## (2024-08-10)
* Update balena/open-balena-s3 Docker tag to v2.28.52 [Self-hosted Renovate Bot]
# v4.1.58
## (2024-08-10)
* Update dependency balena-io/balena-cli to v18.2.34 [Self-hosted Renovate Bot]
# v4.1.57
## (2024-08-10)
* Update balena/open-balena-api Docker tag to v26.1.6 [Self-hosted Renovate Bot]
# v4.1.56
## (2024-08-10)
* Update aws-actions/configure-aws-credentials digest to 39228ca [Self-hosted Renovate Bot]
# v4.1.55
## (2024-08-06)
* Update balena/open-balena-vpn Docker tag to v11.30.31 [Self-hosted Renovate Bot]
# v4.1.54
## (2024-08-05)
* Update balena/open-balena-api Docker tag to v26.1.5 [Self-hosted Renovate Bot]
# v4.1.53
## (2024-08-05)
* Update actions/checkout digest to 9a9194f [Self-hosted Renovate Bot]
# v4.1.52
## (2024-08-01)
* Update balena/open-balena-registry Docker tag to v2.39.65 [Self-hosted Renovate Bot]
# v4.1.51
## (2024-07-23)
* Update balena/open-balena-api Docker tag to v26.1.3 [Self-hosted Renovate Bot]
# v4.1.50
## (2024-07-23)
* Update aws-actions/configure-aws-credentials digest to 12e3392 [Self-hosted Renovate Bot]
# v4.1.49
## (2024-07-22)
* Update balena/open-balena-api Docker tag to v26 [Self-hosted Renovate Bot]
# v4.1.48
## (2024-07-19)
* Update balena/open-balena-registry Docker tag to v2.39.63 [Self-hosted Renovate Bot]
# v4.1.47
## (2024-07-19)
* Update balena/open-balena-s3 Docker tag to v2.28.50 [Self-hosted Renovate Bot]
# v4.1.46
## (2024-07-17)
* Update balena/open-balena-vpn Docker tag to v11.30.27 [Self-hosted Renovate Bot]
# v4.1.45
## (2024-07-17)
* Update aws-actions/configure-aws-credentials digest to 6116f2b [Self-hosted Renovate Bot]
# v4.1.44
## (2024-07-17)
* Update dependency balena-io/balena-cli to v18.2.33 [Self-hosted Renovate Bot]
# v4.1.43
## (2024-07-16)
* Remove custom_runs_on instruction from flowzone.yml [Kyle Harding]
# v4.1.42
## (2024-07-16)
* Update dependency balena-io/balena-cli to v18.2.32 [Self-hosted Renovate Bot]
# v4.1.41
## (2024-07-16)
* Update balena/open-balena-api Docker tag to v25.2.8 [Self-hosted Renovate Bot]
# v4.1.40
## (2024-07-15)
* Update dependency balena-io/balena-cli to v18.2.31 [Self-hosted Renovate Bot]
# v4.1.39
## (2024-07-15)
* Update dependency balena-io/balena-cli to v18.2.30 [Self-hosted Renovate Bot]
# v4.1.38
## (2024-07-15)
* Update balena/open-balena-api Docker tag to v25.2.7 [Self-hosted Renovate Bot]
# v4.1.37
## (2024-07-12)
* Update dependency balena-io/balena-cli to v18.2.29 [Self-hosted Renovate Bot]
# v4.1.36
## (2024-07-12)
* Update dependency balena-io/balena-cli to v18.2.28 [Self-hosted Renovate Bot]
# v4.1.35
## (2024-07-12)
* Update balena/open-balena-vpn Docker tag to v11.30.26 [Self-hosted Renovate Bot]
# v4.1.34
## (2024-07-11)
* Update balena/open-balena-registry Docker tag to v2.39.62 [Self-hosted Renovate Bot]
# v4.1.33
## (2024-07-11)
* Update aws-actions/configure-aws-credentials digest to 96589f5 [Self-hosted Renovate Bot]
# v4.1.32
## (2024-07-11)
* Update balena/open-balena-s3 Docker tag to v2.28.49 [Self-hosted Renovate Bot]
# v4.1.31
## (2024-07-11)
* Update balena/open-balena-api Docker tag to v25.2.5 [Self-hosted Renovate Bot]
# v4.1.30
## (2024-07-11)
* Update dependency balena-io/balena-cli to v18.2.25 [Self-hosted Renovate Bot]
# v4.1.29
## (2024-07-10)
* Update dependency balena-io/balena-cli to v18.2.22 [Self-hosted Renovate Bot]
# v4.1.28
## (2024-07-09)
* Update balena/open-balena-registry Docker tag to v2.39.61 [Self-hosted Renovate Bot]
# v4.1.27
## (2024-07-09)
* Update balena/open-balena-api Docker tag to v25.2.0 [Self-hosted Renovate Bot]
# v4.1.26
## (2024-07-09)
* Relax regex to match all Let's Encrypt CNs [Anton Belodedenko]
# v4.1.25
## (2024-07-09)
* Update balena/open-balena-s3 Docker tag to v2.28.48 [Self-hosted Renovate Bot]
# v4.1.24
## (2024-07-09)
* Update balena/open-balena-api Docker tag to v25.1.29 [Self-hosted Renovate Bot]
# v4.1.23
## (2024-07-08)
* Update balena/open-balena-vpn Docker tag to v11.30.23 [Self-hosted Renovate Bot]
# v4.1.22
## (2024-07-08)
* Update balena/open-balena-api Docker tag to v25.1.27 [Self-hosted Renovate Bot]
# v4.1.21
## (2024-07-08)
* Make tests more reliable [Anton Belodedenko]
# v4.1.20
## (2024-07-05)
* Update dependency balena-io/balena-cli to v18.2.20 [Self-hosted Renovate Bot]
# v4.1.19
## (2024-07-05)
* Update dependency balena-io/balena-cli to v18.2.19 [Self-hosted Renovate Bot]
# v4.1.18
## (2024-07-05)
* Update balena/open-balena-api Docker tag to v25.1.24 [Self-hosted Renovate Bot]
# v4.1.17
## (2024-07-04)
* Update balena/open-balena-registry Docker tag to v2.39.60 [Self-hosted Renovate Bot]
# v4.1.16
## (2024-07-04)
* Update aws-actions/configure-aws-credentials digest to febab93 [Self-hosted Renovate Bot]
# v4.1.15
## (2024-07-04)
* pin balena-cli version [Anton Belodedenko]
# v4.1.14
## (2024-07-04)
* shellcheck/lint workflow(s) [Anton Belodedenko]
# v4.1.13 # v4.1.13
## (2024-07-02) ## (2024-07-02)

View File

@ -145,7 +145,7 @@ auto-pki: config # Start all services using LetsEncrypt and ACME
@docker compose up -d @docker compose up -d
@$(MAKE) waitlog SERVICE=cert-manager LOG_STRING="/certs/export/chain.pem Certificate will not expire in [0-9] days" @$(MAKE) waitlog SERVICE=cert-manager LOG_STRING="/certs/export/chain.pem Certificate will not expire in [0-9] days"
@$(MAKE) waitlog SERVICE=cert-manager LOG_STRING="subject=CN = ${DNS_TLD}" @$(MAKE) waitlog SERVICE=cert-manager LOG_STRING="subject=CN = ${DNS_TLD}"
@$(MAKE) waitlog SERVICE=cert-manager LOG_STRING="issuer=C = US, O = Let's Encrypt, CN = R3" @$(MAKE) waitlog SERVICE=cert-manager LOG_STRING="issuer=C = US, O = Let's Encrypt, CN = .*"
@$(MAKE) wait SERVICE=haproxy @$(MAKE) wait SERVICE=haproxy
@$(MAKE) showenv @$(MAKE) showenv
@$(MAKE) showpass @$(MAKE) showpass

View File

@ -16,6 +16,23 @@ images to your devices.
To learn more about openBalena, visit [balena.io/open][open-balena-website]. To learn more about openBalena, visit [balena.io/open][open-balena-website].
- [Features](#features)
- [Getting Started](#getting-started)
- [Compatibility](#compatibility)
- [Documentation](#documentation)
- [Getting Help](#getting-help)
- [Contributing](#contributing)
- [Roadmap](#roadmap)
- [Differences between openBalena and balenaCloud](#differences-between-openbalena-and-balenacloud)
- [License](#license)
- [FAQ](#faq)
- [How do you ensure continuity of openBalena? Are there security patches on openBalena?](#how-do-you-ensure-continuity-of-openbalena-are-there-security-patches-on-openbalena)
- [How do you ensure the "Join" command actually works between openBalena and](#how-do-you-ensure-the-join-command-actually-works-between-openbalena-and)
- [Is it "production ready"?](#is-it-production-ready)
- [Can a new device type be added to openBalena?](#can-a-new-device-type-be-added-to-openbalena)
- [Are there open-source UI dashboards from the community for openBalena?](#are-there-open-source-ui-dashboards-from-the-community-for-openbalena)
## Features ## Features
@ -159,7 +176,7 @@ While we actually have some rather large fleets using openBalena, we consider it
perpetually in "beta". This means potentially introducing breaking changes between perpetually in "beta". This means potentially introducing breaking changes between
releases. releases.
### Can new device type be added to openBalena? ### Can a new device type be added to openBalena?
openBalena imports the following public [device-types] "out of the box". You can specify openBalena imports the following public [device-types] "out of the box". You can specify
your own contracts repository by overriding `CONTRACTS_PUBLIC_REPO_NAME`, your own contracts repository by overriding `CONTRACTS_PUBLIC_REPO_NAME`,
`CONTRACTS_PUBLIC_REPO_OWNER` and `IMAGE_STORAGE_BUCKET` environment variables on the API `CONTRACTS_PUBLIC_REPO_OWNER` and `IMAGE_STORAGE_BUCKET` environment variables on the API

View File

@ -1 +1 @@
4.1.13 4.1.93

View File

@ -23,4 +23,4 @@ data:
- generic-amd64 - generic-amd64
- genericx86-64-ext - genericx86-64-ext
- intel-nuc - intel-nuc
version: 4.1.13 version: 4.1.93

View File

@ -79,7 +79,7 @@ services:
*with-default-privileges, *with-default-privileges,
*with-default-volumes, *with-default-volumes,
] ]
image: balena/open-balena-api:v25.1.19 image: balena/open-balena-api:v26.4.8
depends_on: depends_on:
- db - db
- redis - redis
@ -119,7 +119,7 @@ services:
*with-default-healthcheck, *with-default-healthcheck,
*with-default-privileges, *with-default-privileges,
] ]
image: balena/open-balena-registry:v2.39.58 image: balena/open-balena-registry:v2.41.6
volumes: volumes:
- certs-data:/certs - certs-data:/certs
- resin-data:/balena - resin-data:/balena
@ -146,7 +146,7 @@ services:
*with-network-privileges, *with-network-privileges,
*with-default-privileges, *with-default-privileges,
] ]
image: balena/open-balena-vpn:v11.30.22 image: balena/open-balena-vpn:v11.30.33
depends_on: depends_on:
- api - api
environment: environment:
@ -175,7 +175,7 @@ services:
*with-default-healthcheck, *with-default-healthcheck,
*with-default-privileges, *with-default-privileges,
] ]
image: balena/open-balena-s3:v2.28.47 image: balena/open-balena-s3:v2.28.55
volumes: volumes:
- s3-data:/export - s3-data:/export
- certs-data:/certs - certs-data:/certs
@ -189,7 +189,7 @@ services:
redis: redis:
<<: *base-service <<: *base-service
# https://redis.io/blog/what-redis-license-change-means-for-our-managed-service-providers/ # https://redis.io/blog/what-redis-license-change-means-for-our-managed-service-providers/
image: redis:7.2-alpine image: redis:7.4-alpine
volumes: volumes:
- redis-data:/data - redis-data:/data
healthcheck: healthcheck:

View File

@ -1,7 +1,7 @@
FROM ubuntu:24.04 FROM ubuntu:24.04
# renovate: datasource=github-releases depName=balena-io/balena-cli # renovate: datasource=github-releases depName=balena-io/balena-cli
ARG BALENA_CLI_VERSION=v18.2.10 ARG BALENA_CLI_VERSION=v19.0.2
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
bash \ bash \

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# shellcheck disable=SC2154,SC2034,SC1090 # shellcheck disable=SC2154,SC2034,SC1090
set -ae set -aeu
curl_opts="--retry 3 --fail" curl_opts="--retry 3 --fail"
if [[ $VERBOSE =~ on|On|Yes|yes|true|True ]]; then if [[ $VERBOSE =~ on|On|Yes|yes|true|True ]]; then
@ -17,7 +17,7 @@ function remove_test_assets() {
rm -rf /balena/config.json \ rm -rf /balena/config.json \
"${GUEST_IMAGE}" \ "${GUEST_IMAGE}" \
"${GUEST_IMAGE%.*}.ready" \ "${GUEST_IMAGE%.*}.ready" \
"${tmpbuild}" \ "${tmpbuild:-}" \
/tmp/*.img /tmp/*.img
} }
@ -39,14 +39,16 @@ function shutdown_dut() {
local balena_device_uuid local balena_device_uuid
balena_device_uuid="$(cat </balena/config.json | jq -r .uuid)" balena_device_uuid="$(cat </balena/config.json | jq -r .uuid)"
if [[ -n $balena_device_uuid ]]; then if [[ -n "${balena_device_uuid:-}" ]]; then
with_backoff balena device "${balena_device_uuid}" with_backoff balena device "${balena_device_uuid}"
with_backoff balena device shutdown -f "${balena_device_uuid}" if ! with_backoff balena device shutdown -f "${balena_device_uuid}"; then
echo 'DUT failed to shutdown properly'
fi
fi fi
} }
function set_update_lock { function set_update_lock {
if [[ -n "$BALENA_SUPERVISOR_ADDRESS" ]] && [[ -n "$BALENA_SUPERVISOR_API_KEY" ]]; then if [[ -n "${BALENA_SUPERVISOR_ADDRESS:-}" ]] && [[ -n "${BALENA_SUPERVISOR_API_KEY:-}" ]]; then
while [[ $(curl ${curl_opts} "${BALENA_SUPERVISOR_ADDRESS}/v1/device?apikey=${BALENA_SUPERVISOR_API_KEY}" \ while [[ $(curl ${curl_opts} "${BALENA_SUPERVISOR_ADDRESS}/v1/device?apikey=${BALENA_SUPERVISOR_API_KEY}" \
-H "Content-Type: application/json" | jq -r '.update_pending') == 'true' ]]; do -H "Content-Type: application/json" | jq -r '.update_pending') == 'true' ]]; do
@ -88,6 +90,7 @@ function update_ca_certificates() {
function wait_for_api() { function wait_for_api() {
while ! curl ${curl_opts} "https://api.${DNS_TLD}/ping"; do while ! curl ${curl_opts} "https://api.${DNS_TLD}/ping"; do
echo 'waiting for API...'
sleep "$(( (RANDOM % 5) + 5 ))s" sleep "$(( (RANDOM % 5) + 5 ))s"
done done
} }
@ -96,6 +99,7 @@ function open_balena_login() {
while ! balena login --credentials \ while ! balena login --credentials \
--email "${SUPERUSER_EMAIL}" \ --email "${SUPERUSER_EMAIL}" \
--password "${SUPERUSER_PASSWORD}"; do --password "${SUPERUSER_PASSWORD}"; do
echo 'waiting for auth...'
sleep "$(( (RANDOM % 5) + 5 ))s" sleep "$(( (RANDOM % 5) + 5 ))s"
done done
} }
@ -104,6 +108,7 @@ function create_fleet() {
if ! balena fleet "${TEST_FLEET}"; then if ! balena fleet "${TEST_FLEET}"; then
# wait for API to load DT contracts # wait for API to load DT contracts
while ! balena fleet create "${TEST_FLEET}" --type "${DEVICE_TYPE}"; do while ! balena fleet create "${TEST_FLEET}" --type "${DEVICE_TYPE}"; do
echo 'waiting for device types...'
sleep "$(( (RANDOM % 5) + 5 ))s" sleep "$(( (RANDOM % 5) + 5 ))s"
done done
@ -175,7 +180,7 @@ function wait_for_device() {
} }
function registry_auth() { function registry_auth() {
if [[ -n $REGISTRY_USER ]] && [[ -n $REGISTRY_PASS ]]; then if [[ -n "${REGISTRY_USER:-}" ]] && [[ -n "${REGISTRY_PASS:-}" ]]; then
with_backoff docker login -u "${REGISTRY_USER}" -p "${REGISTRY_PASS}" with_backoff docker login -u "${REGISTRY_USER}" -p "${REGISTRY_PASS}"
printf '{"https://index.docker.io/v1/": {"username":"%s", "password":"$s"}}' \ printf '{"https://index.docker.io/v1/": {"username":"%s", "password":"$s"}}' \
@ -224,7 +229,7 @@ function supervisor_update_target_state() {
local balena_device_uuid local balena_device_uuid
balena_device_uuid="$(cat </balena/config.json | jq -r .uuid)" balena_device_uuid="$(cat </balena/config.json | jq -r .uuid)"
if [[ -n $balena_device_uuid ]]; then if [[ -n "${balena_device_uuid:-}" ]]; then
while ! curl ${curl_opts} "https://api.${DNS_TLD}/supervisor/v1/update" \ while ! curl ${curl_opts} "https://api.${DNS_TLD}/supervisor/v1/update" \
--header "Content-Type: application/json" \ --header "Content-Type: application/json" \
--header "Authorization: Bearer $(cat <~/.balena/token)" \ --header "Authorization: Bearer $(cat <~/.balena/token)" \
@ -241,9 +246,9 @@ function check_running_release() {
local should_be_running_release local should_be_running_release
should_be_running_release="$(get_release_commit)" should_be_running_release="$(get_release_commit)"
[[ -z $should_be_running_release ]] && false [[ -z "$should_be_running_release" ]] && false
if [[ -n $balena_device_uuid ]]; then if [[ -n "${balena_device_uuid:-}" ]]; then
while ! [[ $(balena device "${balena_device_uuid}" | grep -E ^COMMIT | awk '{print $2}') =~ ${should_be_running_release} ]]; do while ! [[ $(balena device "${balena_device_uuid}" | grep -E ^COMMIT | awk '{print $2}') =~ ${should_be_running_release} ]]; do
running_release_id="$(balena device "${balena_device_uuid}" | grep -E ^COMMIT | awk '{print $2}')" running_release_id="$(balena device "${balena_device_uuid}" | grep -E ^COMMIT | awk '{print $2}')"
printf 'please wait, device %s should be running %s, but is still running %s...\n' \ printf 'please wait, device %s should be running %s, but is still running %s...\n' \
@ -266,7 +271,7 @@ function get_os_version() {
} }
function upload_release_asset() { function upload_release_asset() {
if [[ "$RELEASE_ASSETS_TEST" =~ true ]]; then if [[ "${RELEASE_ASSETS_T:-}" =~ true ]]; then
local release_id local release_id
release_id=${1:-1} release_id=${1:-1}
release_asset="$(find / -type f -name '*.png' | head -n 1)" release_asset="$(find / -type f -name '*.png' | head -n 1)"
@ -282,11 +287,11 @@ function upload_release_asset() {
} }
# --- main # --- main
if [[ "$PRODUCTION_MODE" =~ true ]]; then if [[ "${PRODUCTION_MODE:-}" =~ true ]]; then
exit exit
fi fi
if [[ -n "${BALENA_DEVICE_UUID}" ]]; then if [[ -n "${BALENA_DEVICE_UUID:-}" ]]; then
# prepend the device UUID if running on balenaOS # prepend the device UUID if running on balenaOS
TLD="${BALENA_DEVICE_UUID}.${DNS_TLD}" TLD="${BALENA_DEVICE_UUID}.${DNS_TLD}"
else else
@ -303,7 +308,19 @@ GUEST_IMAGE=${GUEST_IMAGE:-/balena/balena.img}
OS_VERSION="$(get_os_version)" OS_VERSION="$(get_os_version)"
TEST_FLEET=${TEST_FLEET:-test-fleet} TEST_FLEET=${TEST_FLEET:-test-fleet}
[[ -f "$CONF" ]] && source "${CONF}" # wait here until global config is ready
until [[ -s "$CONF" ]]; do
echo 'waiting for config...'
sleep "$(( (RANDOM % 5) + 5 ))s"
done
source "${CONF}"
# wait her until we have valid login credentials
until [[ -n "${SUPERUSER_EMAIL:-}" ]] && [[ -n "${SUPERUSER_PASSWORD:-}" ]]; do
echo 'waiting for credentials...'
sleep "$(( (RANDOM % 5) + 5 ))s"
source "${CONF}"
done
update_ca_certificates # ensure self-signed root CA certificate(s) trust update_ca_certificates # ensure self-signed root CA certificate(s) trust

View File

@ -1,6 +1,6 @@
# https://hub.docker.com/r/qemux/qemu-docker # https://hub.docker.com/r/qemux/qemu-docker
# https://github.com/qemus/qemu-docker # https://github.com/qemus/qemu-docker
FROM qemux/qemu-docker:5.16 FROM qemux/qemu-docker:5.18
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
minicom \ minicom \