mirror of
https://github.com/balena-io/open-balena.git
synced 2025-06-24 18:25:16 +00:00
Compare commits
216 Commits
Author | SHA1 | Date | |
---|---|---|---|
e3cb369bc0 | |||
927e41a9e5 | |||
d3694bbd6e | |||
b65c8301d8 | |||
60d8c5b393 | |||
bb47956aa6 | |||
65bb9aa00b | |||
7d6b0aed3c | |||
2ba2d6aadd | |||
561dccbe13 | |||
69e246efd6 | |||
6742366dbb | |||
0d3e5f9eb8 | |||
8912b7c216 | |||
b122b301fd | |||
a9abd83c60 | |||
29ba2f2475 | |||
a068dafe1c | |||
90a1a791b4 | |||
09e0ffd199 | |||
eceb7deb86 | |||
1378d26adc | |||
0196d6f275 | |||
7dcbd0ea01 | |||
f8c71f7fb2 | |||
5ce87e1894 | |||
aec392953f | |||
bc47611d0b | |||
1bfbe7e671 | |||
9e7dca1e77 | |||
0016a812d6 | |||
19473db450 | |||
d796f9c7a9 | |||
cb5784534a | |||
74defe3e37 | |||
e2dd1d1e7c | |||
1210e3657b | |||
c738ed5018 | |||
777aecb83c | |||
3d685adafa | |||
21f1e90f67 | |||
8e416c235b | |||
f5c4ab1166 | |||
36df27a0a5 | |||
33cce523a0 | |||
7c7ab49b0f | |||
affcbc5c92 | |||
c20c3c9b47 | |||
ecaf1c7e1d | |||
900907f07e | |||
e308b28fe8 | |||
c2e8424ad8 | |||
5248f2bc16 | |||
f353fbbbc2 | |||
e6eb50b64a | |||
6f60eb41aa | |||
11f7a27d3e | |||
74cfc75e4b | |||
7ec3dbcbc0 | |||
62c653d7fe | |||
aacb88a4f6 | |||
c54f82e81e | |||
373af1b08b | |||
1cd7f13ad8 | |||
6b00c0bf43 | |||
e3f9ce631f | |||
5a5d8f4974 | |||
71a6518db0 | |||
d00a7c95df | |||
c1a16744b2 | |||
eeedce9219 | |||
f32815c05d | |||
154f2eeb6f | |||
2f79c6e233 | |||
0d88815b20 | |||
2111c694a1 | |||
db40007f15 | |||
b8e98e5246 | |||
3655a59c29 | |||
daec2b7709 | |||
1c28d800cf | |||
3f8ecb9b6e | |||
d61ab65d60 | |||
be6af919b1 | |||
7aab53f4a1 | |||
ad6f491e56 | |||
7879d34af9 | |||
1d12982256 | |||
90c1f5fa8e | |||
688f0a5e02 | |||
6a4182b26e | |||
124e28352c | |||
06bd4b6561 | |||
19b85a87bb | |||
b488898517 | |||
44b6e5a4c1 | |||
20a88db22a | |||
bb78665e39 | |||
7924ee920a | |||
ff6c7b5a75 | |||
b1c0bafec7 | |||
b3c8709b24 | |||
81749928ee | |||
3d5b0fb071 | |||
24ff058819 | |||
e396706d4d | |||
e077e8811d | |||
2a0edead1d | |||
c7440999a2 | |||
a2b1a247bc | |||
b0f79a0d84 | |||
5468ef100b | |||
ab3eb4c2b9 | |||
d4683c028a | |||
2c30ef662a | |||
551c4a77e0 | |||
dc7fd065f9 | |||
96c34c8b19 | |||
0b43bc00f1 | |||
cfb35f9d39 | |||
13ebf060e3 | |||
df38e7491c | |||
b023d3a470 | |||
3674d61bc6 | |||
2c11632dfa | |||
7fd045814c | |||
0e4a5aca3b | |||
68021551f3 | |||
7ddb50c19f | |||
3ffd7d863b | |||
376a318db3 | |||
0328960ecc | |||
acd642ab57 | |||
722cba49eb | |||
3e29f30697 | |||
5f1d1f4a01 | |||
9fde727b80 | |||
88e2ee6cf0 | |||
96d5617889 | |||
297fff91c1 | |||
8d2d09146d | |||
52d0eb6c4d | |||
4c6d1ea812 | |||
add319430d | |||
5c790da01d | |||
268cb73c96 | |||
c1b7d2cf2d | |||
e54aae2846 | |||
80b7981239 | |||
8a38747f30 | |||
6e4aae7a82 | |||
8a81ef33a6 | |||
a15b049f54 | |||
5a3e2f1ac8 | |||
7f9d14b452 | |||
900e87ac98 | |||
331c952a1f | |||
cb52c0224c | |||
10e2908b4e | |||
85fd15d7b3 | |||
7ee348c449 | |||
b11566ea60 | |||
538bcfe959 | |||
563bababb9 | |||
b416ec376a | |||
422a34218c | |||
3183c8a6c9 | |||
9a4bb5317e | |||
51cee3df4f | |||
65cc3e6ecc | |||
a2b62a6495 | |||
a23f11f345 | |||
0ba199be9d | |||
fe3bc20a30 | |||
e58bf5a4c0 | |||
437c26fe47 | |||
9a172b03f7 | |||
96868c1787 | |||
0f86f5638a | |||
173a99d363 | |||
9c013c9b44 | |||
049cbcaf9b | |||
aefe256e81 | |||
6cf045aea9 | |||
0848e06003 | |||
c4d94801f6 | |||
33eb988eef | |||
91ea4936bf | |||
0e28278a37 | |||
f3091b5b2e | |||
ee4bf0218c | |||
be879e9fd9 | |||
1aa73874a2 | |||
afb9865b52 | |||
a49e96d84f | |||
dce88ff01b | |||
cde52c24da | |||
cd4c361b8c | |||
78da3c5a1a | |||
41d6129911 | |||
da4647515e | |||
e67e435971 | |||
ced0fe4b17 | |||
6c8786f4f9 | |||
1a9d7fa230 | |||
f69dba08f7 | |||
e742df4e89 | |||
742d19dd6c | |||
4bcf8c5ace | |||
252398e130 | |||
008a06fb96 | |||
3a42e20809 | |||
25e2346f2d | |||
aad05c96de | |||
2510c1644f | |||
6dd753b744 |
8
.github/actionlint.yaml
vendored
Normal file
8
.github/actionlint.yaml
vendored
Normal 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
|
14
.github/workflows/flowzone.yml
vendored
14
.github/workflows/flowzone.yml
vendored
@ -25,15 +25,6 @@ jobs:
|
||||
with:
|
||||
jobs_timeout_minutes: 60
|
||||
cloudflare_website: open-balena
|
||||
custom_runs_on: |
|
||||
[
|
||||
[
|
||||
"self-hosted",
|
||||
"Linux",
|
||||
"X64"
|
||||
]
|
||||
]
|
||||
|
||||
balena_slugs: |
|
||||
balena/open-balena
|
||||
|
||||
@ -50,8 +41,3 @@ jobs:
|
||||
github.event_name == 'pull_request_target'
|
||||
)) && github.event.action != 'closed'
|
||||
secrets: inherit
|
||||
with:
|
||||
environment: balena-cloud.com
|
||||
fleet: balena/open-balena
|
||||
# https://dash.cloudflare.com/001b3ed2352612aaa068aca1b0022736/balena-devices.com/dns
|
||||
dns_tld: balena-devices.com
|
||||
|
15
.github/workflows/renovate.json
vendored
Normal file
15
.github/workflows/renovate.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": [
|
||||
".*"
|
||||
],
|
||||
"matchStrings": [
|
||||
".*amiFilter=(?<packageName>.*?)\n(.*currentImageName=(?<currentDigest>.*?)\n)?(.*\n)?.*?(?<depName>[a-zA-Z0-9-_:]*)[ ]*?[:|=][ ]*?[\"|']?(?<currentValue>ami-[a-z0-9]{17})[\"|']?.*"
|
||||
],
|
||||
"datasourceTemplate": "aws-machine-image",
|
||||
"versioningTemplate": "aws-machine-image"
|
||||
}
|
||||
]
|
||||
}
|
792
.github/workflows/tests.yml
vendored
792
.github/workflows/tests.yml
vendored
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,910 @@
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v26.1.6
|
||||
hash: d3694bbd6e14403dc6581b47c4879e1b1c29a1c7
|
||||
body: |
|
||||
Update balena/open-balena-api from 26.1.5 to 26.1.6
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.57
|
||||
title: ""
|
||||
date: 2024-08-10T03:18:52.046Z
|
||||
- commits:
|
||||
- subject: Update aws-actions/configure-aws-credentials digest to 39228ca
|
||||
hash: bb47956aa66a79fd31dc96810dee2ce2431a824c
|
||||
body: |
|
||||
Update aws-actions/configure-aws-credentials
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.56
|
||||
title: ""
|
||||
date: 2024-08-10T02:34:34.556Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-vpn Docker tag to v11.30.31
|
||||
hash: 2ba2d6aadd2c7e36c1fb849d4476423c004bf7f7
|
||||
body: |
|
||||
Update balena/open-balena-vpn from 11.30.27 to 11.30.31
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.55
|
||||
title: ""
|
||||
date: 2024-08-06T14:52:02.295Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v26.1.5
|
||||
hash: 6742366dbb25f966b9aa86d0fe1430cf522df443
|
||||
body: |
|
||||
Update balena/open-balena-api from 26.1.3 to 26.1.5
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.54
|
||||
title: ""
|
||||
date: 2024-08-05T22:16:49.357Z
|
||||
- commits:
|
||||
- subject: Update actions/checkout digest to 9a9194f
|
||||
hash: b122b301fdb8cf132bddd54ae8b063b8c8436d2e
|
||||
body: |
|
||||
Update actions/checkout
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.53
|
||||
title: ""
|
||||
date: 2024-08-05T21:02:28.674Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-registry Docker tag to v2.39.65
|
||||
hash: a068dafe1cd6c694885435dc2af90309f3ec0bac
|
||||
body: |
|
||||
Update balena/open-balena-registry from 2.39.63 to 2.39.65
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.52
|
||||
title: ""
|
||||
date: 2024-08-01T19:27:14.377Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v26.1.3
|
||||
hash: eceb7deb864ef77b21902f9be1571a37110c292b
|
||||
body: |
|
||||
Update balena/open-balena-api from 26.1.2 to 26.1.3
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.51
|
||||
title: ""
|
||||
date: 2024-07-23T20:23:52.809Z
|
||||
- commits:
|
||||
- subject: Update aws-actions/configure-aws-credentials digest to 12e3392
|
||||
hash: 7dcbd0ea01f5bd554494fd8d36aaedc21f84b4dc
|
||||
body: |
|
||||
Update aws-actions/configure-aws-credentials
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.50
|
||||
title: ""
|
||||
date: 2024-07-23T04:14:31.183Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v26
|
||||
hash: aec392953ff40c20e47fae000769d4d8ff8fb167
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.2.8 to 26.1.2
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.49
|
||||
title: ""
|
||||
date: 2024-07-22T15:21:11.990Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-registry Docker tag to v2.39.63
|
||||
hash: 9e7dca1e77afc8ad19db3c6675bc031199f8c032
|
||||
body: |
|
||||
Update balena/open-balena-registry from 2.39.62 to 2.39.63
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.48
|
||||
title: ""
|
||||
date: 2024-07-19T18:33:11.552Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-s3 Docker tag to v2.28.50
|
||||
hash: d796f9c7a91285e38237a55443c677dad498475d
|
||||
body: |
|
||||
Update balena/open-balena-s3 from 2.28.49 to 2.28.50
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.47
|
||||
title: ""
|
||||
date: 2024-07-19T17:33:39.487Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-vpn Docker tag to v11.30.27
|
||||
hash: e2dd1d1e7c0a21c05352bc1335ae2e0fb28cc61a
|
||||
body: |
|
||||
Update balena/open-balena-vpn from 11.30.26 to 11.30.27
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.46
|
||||
title: ""
|
||||
date: 2024-07-17T11:32:13.393Z
|
||||
- commits:
|
||||
- subject: Update aws-actions/configure-aws-credentials digest to 6116f2b
|
||||
hash: 777aecb83ca294be1ff0eb03fb1072d8cb4b4632
|
||||
body: |
|
||||
Update aws-actions/configure-aws-credentials
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.45
|
||||
title: ""
|
||||
date: 2024-07-17T10:18:53.984Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.33
|
||||
hash: 8e416c235bb659e55e10877efd4cf9c3fc076525
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.32 to 18.2.33
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.44
|
||||
title: ""
|
||||
date: 2024-07-17T09:22:09.080Z
|
||||
- commits:
|
||||
- subject: Remove custom_runs_on instruction from flowzone.yml
|
||||
hash: 33cce523a0a6091d0dce18c25c21d032e555e193
|
||||
body: |
|
||||
This project has no custom actions to run, and was using
|
||||
the legacy input format for custom jobs that is being deprecated.
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Kyle Harding
|
||||
nested: []
|
||||
version: 4.1.43
|
||||
title: ""
|
||||
date: 2024-07-16T18:34:53.997Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.32
|
||||
hash: c20c3c9b4799daddfb8b0d40c47b631ef5764ccd
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.31 to 18.2.32
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.42
|
||||
title: ""
|
||||
date: 2024-07-16T16:19:12.990Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.2.8
|
||||
hash: e308b28fe82974ec25ea35971d3f630cad21104e
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.2.7 to 25.2.8
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.41
|
||||
title: ""
|
||||
date: 2024-07-16T15:43:44.456Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.31
|
||||
hash: f353fbbbc23484d1eb325efe203e734d5f6cef69
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.30 to 18.2.31
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.40
|
||||
title: ""
|
||||
date: 2024-07-15T22:17:15.441Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.30
|
||||
hash: 11f7a27d3e0a5492da0b5949b06016f7e9853a67
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.29 to 18.2.30
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.39
|
||||
title: ""
|
||||
date: 2024-07-15T20:02:03.290Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.2.7
|
||||
hash: 62c653d7feec0984095a6287acf63e6ae0d6972f
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.2.5 to 25.2.7
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.38
|
||||
title: ""
|
||||
date: 2024-07-15T16:53:48.116Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.29
|
||||
hash: 373af1b08bc88810e64b28e5835949985f02c687
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.28 to 18.2.29
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.37
|
||||
title: ""
|
||||
date: 2024-07-12T16:22:10.988Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.28
|
||||
hash: e3f9ce631f9a59f7e58f45458ba8d42eae39cbc5
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.25 to 18.2.28
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.36
|
||||
title: ""
|
||||
date: 2024-07-12T14:19:27.958Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-vpn Docker tag to v11.30.26
|
||||
hash: d00a7c95df84dfac2589067cee8bdcc8dd0cab8c
|
||||
body: |
|
||||
Update balena/open-balena-vpn from 11.30.23 to 11.30.26
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.35
|
||||
title: ""
|
||||
date: 2024-07-12T00:22:23.539Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-registry Docker tag to v2.39.62
|
||||
hash: f32815c05de34bd089cf43c30384fcf5602a97a9
|
||||
body: |
|
||||
Update balena/open-balena-registry from 2.39.61 to 2.39.62
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.34
|
||||
title: ""
|
||||
date: 2024-07-11T22:32:18.638Z
|
||||
- commits:
|
||||
- subject: Update aws-actions/configure-aws-credentials digest to 96589f5
|
||||
hash: 0d88815b2099bf7cb894d07c23ae0a31c72c3803
|
||||
body: |
|
||||
Update aws-actions/configure-aws-credentials
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.33
|
||||
title: ""
|
||||
date: 2024-07-11T20:56:36.530Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-s3 Docker tag to v2.28.49
|
||||
hash: b8e98e52463c4ab455b1b2fcb7b3e7a9047c6553
|
||||
body: |
|
||||
Update balena/open-balena-s3 from 2.28.48 to 2.28.49
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.32
|
||||
title: ""
|
||||
date: 2024-07-11T17:17:34.659Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.2.5
|
||||
hash: 1c28d800cfb9005b29b6ee70373309b243ac4a5d
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.2.0 to 25.2.5
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.31
|
||||
title: ""
|
||||
date: 2024-07-11T16:22:22.102Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.25
|
||||
hash: be6af919b1ed89ec4cb57a9b506d32383948e500
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.22 to 18.2.25
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.30
|
||||
title: ""
|
||||
date: 2024-07-11T15:50:44.267Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.22
|
||||
hash: 7879d34af93f294cef526628c4cc0ed3ce887107
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.20 to 18.2.22
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.29
|
||||
title: ""
|
||||
date: 2024-07-10T18:20:25.967Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-registry Docker tag to v2.39.61
|
||||
hash: 688f0a5e0235d9255cd9d041795ca9fe936ec2dc
|
||||
body: |
|
||||
Update balena/open-balena-registry from 2.39.60 to 2.39.61
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.28
|
||||
title: ""
|
||||
date: 2024-07-09T21:13:43.409Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.2.0
|
||||
hash: 06bd4b6561a90a5d09891d872223d388f593108e
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.29 to 25.2.0
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.27
|
||||
title: ""
|
||||
date: 2024-07-09T20:23:31.619Z
|
||||
- commits:
|
||||
- subject: Relax regex to match all Let's Encrypt CNs
|
||||
hash: 44b6e5a4c12f754aa2ed1b9a5ec9d3d7a01b5778
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.26
|
||||
title: ""
|
||||
date: 2024-07-09T19:15:06.632Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-s3 Docker tag to v2.28.48
|
||||
hash: 7924ee920abca8caa0a499cd9a3af7efc6f06342
|
||||
body: |
|
||||
Update balena/open-balena-s3 from 2.28.47 to 2.28.48
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.25
|
||||
title: ""
|
||||
date: 2024-07-09T16:57:27.685Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.29
|
||||
hash: b3c8709b247dede72f9809d3109a80b82b207c84
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.27 to 25.1.29
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.24
|
||||
title: ""
|
||||
date: 2024-07-09T16:17:45.722Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-vpn Docker tag to v11.30.23
|
||||
hash: 24ff05881929ed860a004f83fa3d65299db59361
|
||||
body: |
|
||||
Update balena/open-balena-vpn from 11.30.22 to 11.30.23
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.23
|
||||
title: ""
|
||||
date: 2024-07-08T20:04:49.447Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.27
|
||||
hash: 2a0edead1d2c5d41e98ed344efbb145dca8ec659
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.24 to 25.1.27
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.22
|
||||
title: ""
|
||||
date: 2024-07-08T16:37:30.112Z
|
||||
- commits:
|
||||
- subject: Make tests more reliable
|
||||
hash: b0f79a0d84742b0a96aaec934a2ad6ec72bb3d6e
|
||||
body: |
|
||||
* ensure config and creds are ready before attempting auth
|
||||
* warn instead of error on DUT shutdown failures
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.21
|
||||
title: ""
|
||||
date: 2024-07-08T14:49:09.165Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.20
|
||||
hash: d4683c028ae10fcfaf67c4f68dc322aa6602a896
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.19 to 18.2.20
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.20
|
||||
title: ""
|
||||
date: 2024-07-05T22:14:20.547Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.19
|
||||
hash: dc7fd065f9265d6baf29e612a06d1e5109a47fa8
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.10 to 18.2.19
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.19
|
||||
title: ""
|
||||
date: 2024-07-05T14:38:10.804Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.24
|
||||
hash: cfb35f9d3946fd54e0057df5725114e56fd74296
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.19 to 25.1.24
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.18
|
||||
title: ""
|
||||
date: 2024-07-05T00:33:15.468Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-registry Docker tag to v2.39.60
|
||||
hash: b023d3a47002823e18926b231aeadc104f4c0094
|
||||
body: |
|
||||
Update balena/open-balena-registry from 2.39.58 to 2.39.60
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.17
|
||||
title: ""
|
||||
date: 2024-07-04T23:28:20.756Z
|
||||
- commits:
|
||||
- subject: Update aws-actions/configure-aws-credentials digest to febab93
|
||||
hash: 7fd045814c95f4566d38e53f7738dd67440f0115
|
||||
body: |
|
||||
Update aws-actions/configure-aws-credentials
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.16
|
||||
title: ""
|
||||
date: 2024-07-04T22:17:01.050Z
|
||||
- commits:
|
||||
- subject: pin balena-cli version
|
||||
hash: 7ddb50c19fb470aa3cc975ce7a0afc2f6d47ba2f
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.15
|
||||
title: ""
|
||||
date: 2024-07-04T21:54:28.567Z
|
||||
- commits:
|
||||
- subject: shellcheck/lint workflow(s)
|
||||
hash: 0328960ecca2bd99cd5456392095e70227ccbcd0
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.14
|
||||
title: ""
|
||||
date: 2024-07-04T21:33:41.784Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.19
|
||||
hash: 3e29f306972c9565574894d8a0d0a9d783d2df4b
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.7 to 25.1.19
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.13
|
||||
title: ""
|
||||
date: 2024-07-02T21:17:06.373Z
|
||||
- commits:
|
||||
- subject: Only delete your (matrix) own test instance
|
||||
hash: 96d56178897f96d470d23e313b5555412cfb7f4e
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.12
|
||||
title: ""
|
||||
date: 2024-07-02T20:48:44.727Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-s3 Docker tag to v2.28.47
|
||||
hash: 52d0eb6c4d3fe244ca231ffe9507586145376f02
|
||||
body: |
|
||||
Update balena/open-balena-s3 from 2.28.45 to 2.28.47
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.11
|
||||
title: ""
|
||||
date: 2024-07-02T16:08:15.757Z
|
||||
- commits:
|
||||
- subject: Update aws-actions/configure-aws-credentials digest to af7e7d4
|
||||
hash: 5c790da01dbb4dadb2827937a71f5e432e26208c
|
||||
body: |
|
||||
Update aws-actions/configure-aws-credentials
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.10
|
||||
title: ""
|
||||
date: 2024-06-27T22:16:09.999Z
|
||||
- commits:
|
||||
- subject: capture termination instance reason
|
||||
hash: e54aae284624173d6e05b24f9dd0df7f13f0947e
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.9
|
||||
title: ""
|
||||
date: 2024-06-27T18:27:24.183Z
|
||||
- commits:
|
||||
- subject: Exit instead of breaking out of while loops
|
||||
hash: 6e4aae7a82aeedd57d3ace87de6702b8b267fada
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.8
|
||||
title: ""
|
||||
date: 2024-06-27T15:41:50.733Z
|
||||
- commits:
|
||||
- subject: Renovate AWS/EC2 AMI(s)
|
||||
hash: 5a3e2f1ac8cb4cd179c1d6b055e71ef447ddd227
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.7
|
||||
title: ""
|
||||
date: 2024-06-26T00:38:36.638Z
|
||||
- commits:
|
||||
- subject: check if AWS/EC2 instance is still running
|
||||
hash: 331c952a1f1235ff224cec6913d79e9bcc3e7cac
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.6
|
||||
title: ""
|
||||
date: 2024-06-25T23:43:44.670Z
|
||||
- commits:
|
||||
- subject: break from wait loops if EC2 instance is terminated
|
||||
hash: 85fd15d7b3528eb1f6dc0cb1955f5b9495cc4b02
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.5
|
||||
title: ""
|
||||
date: 2024-06-25T19:09:58.663Z
|
||||
- commits:
|
||||
- subject: show EC2 instance termination status
|
||||
hash: 538bcfe9593f3ad6fa406c820dfe71d92946c5f6
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.4
|
||||
title: ""
|
||||
date: 2024-06-25T18:27:13.520Z
|
||||
- commits:
|
||||
- subject: Update actions/checkout digest to 692973e
|
||||
hash: 422a34218c6955a5e65995961e3944b2c2f400b3
|
||||
body: |
|
||||
Update actions/checkout
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.3
|
||||
title: ""
|
||||
date: 2024-06-25T14:16:47.810Z
|
||||
- commits:
|
||||
- subject: fail early on EC2 instance termination (i.e. spot capacity)
|
||||
hash: a2b62a6495e54aaa3983d0e4afe75612e053c7a7
|
||||
body: ""
|
||||
footer:
|
||||
change-type: patch
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.2
|
||||
title: ""
|
||||
date: 2024-06-24T22:24:50.123Z
|
||||
- commits:
|
||||
- subject: Pin unfor19/install-aws-cli-action action to e8b481e
|
||||
hash: fe3bc20a300412d0918d985fa249844fe94953d4
|
||||
body: |
|
||||
Update unfor19/install-aws-cli-action
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.1.1
|
||||
title: ""
|
||||
date: 2024-06-24T20:56:51.820Z
|
||||
- commits:
|
||||
- subject: test compose workflow
|
||||
hash: 9a172b03f787a5194dc6ad79eb497196e8cac8f8
|
||||
body: >
|
||||
* docker-compose test workflow to broadly approximate the getting
|
||||
started guide,
|
||||
|
||||
since testing on balenaCloud/balenaOS alone doesn't give us a high level
|
||||
of
|
||||
|
||||
confidence the project boots/works on compose
|
||||
footer:
|
||||
change-type: minor
|
||||
author: Anton Belodedenko
|
||||
nested: []
|
||||
version: 4.1.0
|
||||
title: ""
|
||||
date: 2024-06-24T20:01:42.546Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.7
|
||||
hash: 173a99d363396e25be84bbebd51fa8b3fcc01129
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.6 to 25.1.7
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.57
|
||||
title: ""
|
||||
date: 2024-06-24T15:01:24.610Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.6
|
||||
hash: aefe256e81d2e17e5515eac9163a738f2980e5b7
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.5 to 25.1.6
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.56
|
||||
title: ""
|
||||
date: 2024-06-24T14:01:41.031Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.5
|
||||
hash: c4d94801f692b33e3d688605bd4e3240ce493f07
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.3 to 25.1.5
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.55
|
||||
title: ""
|
||||
date: 2024-06-24T05:59:14.616Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.10
|
||||
hash: 0e28278a37b8672364befaf34d25ae92a8a891b4
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.9 to 18.2.10
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.54
|
||||
title: ""
|
||||
date: 2024-06-21T21:04:47.853Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.9
|
||||
hash: be879e9fd9b12a8496999a640b39e5f618ec1834
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.8 to 18.2.9
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.53
|
||||
title: ""
|
||||
date: 2024-06-21T20:02:12.319Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.8
|
||||
hash: a49e96d84f4ea8795782b5c132ee569cf6d5566e
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.7 to 18.2.8
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.52
|
||||
title: ""
|
||||
date: 2024-06-21T19:00:11.650Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.7
|
||||
hash: cd4c361b8ca1e44730670c30fe0689cac805670f
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.6 to 18.2.7
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.51
|
||||
title: ""
|
||||
date: 2024-06-21T18:02:26.125Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.6
|
||||
hash: da4647515e74e7d2a8073d8ed11e7398326c8fe2
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.5 to 18.2.6
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.50
|
||||
title: ""
|
||||
date: 2024-06-21T15:59:09.758Z
|
||||
- commits:
|
||||
- subject: Update dependency balena-io/balena-cli to v18.2.5
|
||||
hash: 6c8786f4f9f9ae814bdc889eb571ae3465598de8
|
||||
body: |
|
||||
Update balena-io/balena-cli from 18.2.2 to 18.2.5
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.49
|
||||
title: ""
|
||||
date: 2024-06-21T13:04:36.164Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.3
|
||||
hash: e742df4e896bb47d841bdb077ab1991d0aa172f7
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.2 to 25.1.3
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.48
|
||||
title: ""
|
||||
date: 2024-06-19T17:57:48.261Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.2
|
||||
hash: 252398e13003f3115aaada4526494d09be8f271d
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.1 to 25.1.2
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.47
|
||||
title: ""
|
||||
date: 2024-06-19T13:57:45.166Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.1
|
||||
hash: 25e2346f2d557d8abe313ac0a27b1893c2681a4d
|
||||
body: |
|
||||
Update balena/open-balena-api from 25.1.0 to 25.1.1
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.46
|
||||
title: ""
|
||||
date: 2024-06-18T08:58:32.128Z
|
||||
- commits:
|
||||
- subject: Update aws-actions/configure-aws-credentials digest to 61a1105
|
||||
hash: 6dd753b744b8e4e73ce7a9bfe964aa1b017f4805
|
||||
body: |
|
||||
Update aws-actions/configure-aws-credentials
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Self-hosted Renovate Bot
|
||||
nested: []
|
||||
version: 4.0.45
|
||||
title: ""
|
||||
date: 2024-06-18T03:56:36.468Z
|
||||
- commits:
|
||||
- subject: Update balena/open-balena-api Docker tag to v25.1.0
|
||||
hash: b87f2662f9339f60ef44efd1850e514cb4168e14
|
||||
|
355
CHANGELOG.md
355
CHANGELOG.md
@ -4,6 +4,361 @@ All notable changes to this project will be documented in this file
|
||||
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
# 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
|
||||
## (2024-07-02)
|
||||
|
||||
* Update balena/open-balena-api Docker tag to v25.1.19 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.1.12
|
||||
## (2024-07-02)
|
||||
|
||||
* Only delete your (matrix) own test instance [Anton Belodedenko]
|
||||
|
||||
# v4.1.11
|
||||
## (2024-07-02)
|
||||
|
||||
* Update balena/open-balena-s3 Docker tag to v2.28.47 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.1.10
|
||||
## (2024-06-27)
|
||||
|
||||
* Update aws-actions/configure-aws-credentials digest to af7e7d4 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.1.9
|
||||
## (2024-06-27)
|
||||
|
||||
* capture termination instance reason [Anton Belodedenko]
|
||||
|
||||
# v4.1.8
|
||||
## (2024-06-27)
|
||||
|
||||
* Exit instead of breaking out of while loops [Anton Belodedenko]
|
||||
|
||||
# v4.1.7
|
||||
## (2024-06-26)
|
||||
|
||||
* Renovate AWS/EC2 AMI(s) [Anton Belodedenko]
|
||||
|
||||
# v4.1.6
|
||||
## (2024-06-25)
|
||||
|
||||
* check if AWS/EC2 instance is still running [Anton Belodedenko]
|
||||
|
||||
# v4.1.5
|
||||
## (2024-06-25)
|
||||
|
||||
* break from wait loops if EC2 instance is terminated [Anton Belodedenko]
|
||||
|
||||
# v4.1.4
|
||||
## (2024-06-25)
|
||||
|
||||
* show EC2 instance termination status [Anton Belodedenko]
|
||||
|
||||
# v4.1.3
|
||||
## (2024-06-25)
|
||||
|
||||
* Update actions/checkout digest to 692973e [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.1.2
|
||||
## (2024-06-24)
|
||||
|
||||
* fail early on EC2 instance termination (i.e. spot capacity) [Anton Belodedenko]
|
||||
|
||||
# v4.1.1
|
||||
## (2024-06-24)
|
||||
|
||||
* Pin unfor19/install-aws-cli-action action to e8b481e [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.1.0
|
||||
## (2024-06-24)
|
||||
|
||||
* test compose workflow [Anton Belodedenko]
|
||||
|
||||
# v4.0.57
|
||||
## (2024-06-24)
|
||||
|
||||
* Update balena/open-balena-api Docker tag to v25.1.7 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.56
|
||||
## (2024-06-24)
|
||||
|
||||
* Update balena/open-balena-api Docker tag to v25.1.6 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.55
|
||||
## (2024-06-24)
|
||||
|
||||
* Update balena/open-balena-api Docker tag to v25.1.5 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.54
|
||||
## (2024-06-21)
|
||||
|
||||
* Update dependency balena-io/balena-cli to v18.2.10 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.53
|
||||
## (2024-06-21)
|
||||
|
||||
* Update dependency balena-io/balena-cli to v18.2.9 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.52
|
||||
## (2024-06-21)
|
||||
|
||||
* Update dependency balena-io/balena-cli to v18.2.8 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.51
|
||||
## (2024-06-21)
|
||||
|
||||
* Update dependency balena-io/balena-cli to v18.2.7 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.50
|
||||
## (2024-06-21)
|
||||
|
||||
* Update dependency balena-io/balena-cli to v18.2.6 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.49
|
||||
## (2024-06-21)
|
||||
|
||||
* Update dependency balena-io/balena-cli to v18.2.5 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.48
|
||||
## (2024-06-19)
|
||||
|
||||
* Update balena/open-balena-api Docker tag to v25.1.3 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.47
|
||||
## (2024-06-19)
|
||||
|
||||
* Update balena/open-balena-api Docker tag to v25.1.2 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.46
|
||||
## (2024-06-18)
|
||||
|
||||
* Update balena/open-balena-api Docker tag to v25.1.1 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.45
|
||||
## (2024-06-18)
|
||||
|
||||
* Update aws-actions/configure-aws-credentials digest to 61a1105 [Self-hosted Renovate Bot]
|
||||
|
||||
# v4.0.44
|
||||
## (2024-06-17)
|
||||
|
||||
|
52
Makefile
52
Makefile
@ -3,15 +3,17 @@ SHELL := bash
|
||||
# export all variables to child processes by default
|
||||
export
|
||||
|
||||
# include the .env file
|
||||
# include the .env file if it exists
|
||||
-include .env
|
||||
|
||||
BALENARC_NO_ANALYTICS ?= 1
|
||||
DNS_TLD ?= $(error DNS_TLD not set)
|
||||
TMPKI := $(shell mktemp)
|
||||
STAGING_PKI ?= /usr/local/share/ca-certificates
|
||||
PRODUCTION_MODE ?= true
|
||||
ORG_UNIT ?= openBalena
|
||||
PRODUCTION_MODE ?= true
|
||||
STAGING_PKI ?= /usr/local/share/ca-certificates
|
||||
SUPERUSER_EMAIL ?= admin@$(DNS_TLD)
|
||||
TMPKI := $(shell mktemp)
|
||||
VERBOSE ?= false
|
||||
|
||||
.NOTPARALLEL: $(DOCKERCOMPOSE)
|
||||
|
||||
@ -39,23 +41,45 @@ ifneq ($(GANDI_API_TOKEN),)
|
||||
endif
|
||||
endif
|
||||
@rm -f .env
|
||||
@echo "BALENARC_NO_ANALYTICS=$(BALENARC_NO_ANALYTICS)" > .env
|
||||
@echo "DNS_TLD=$(DNS_TLD)" >> .env
|
||||
@echo "ORG_UNIT=$(ORG_UNIT)" >> .env
|
||||
@echo "SUPERUSER_EMAIL=$(SUPERUSER_EMAIL)" >> .env
|
||||
@echo "PRODUCTION_MODE=$(PRODUCTION_MODE)" >> .env
|
||||
@echo "GANDI_API_TOKEN=$(GANDI_API_TOKEN)" >> .env
|
||||
@echo "CLOUDFLARE_API_TOKEN=$(CLOUDFLARE_API_TOKEN)" >> .env
|
||||
@echo "SUPERUSER_EMAIL=$(SUPERUSER_EMAIL)" >> .env
|
||||
@echo "VERBOSE=$(VERBOSE)" >> .env
|
||||
ifneq ($(ACME_EMAIL),)
|
||||
@echo "ACME_EMAIL=$(ACME_EMAIL)" >> .env
|
||||
endif
|
||||
ifneq ($(CLOUDFLARE_API_TOKEN),)
|
||||
@echo "CLOUDFLARE_API_TOKEN=$(CLOUDFLARE_API_TOKEN)" >> .env
|
||||
endif
|
||||
ifneq ($(GANDI_API_TOKEN),)
|
||||
@echo "GANDI_API_TOKEN=$(GANDI_API_TOKEN)" >> .env
|
||||
endif
|
||||
ifneq ($(HAPROXY_CRT),)
|
||||
@echo "HAPROXY_CRT=$(HAPROXY_CRT)" >> .env
|
||||
endif
|
||||
ifneq ($(HAPROXY_KEY),)
|
||||
@echo "HAPROXY_KEY=$(HAPROXY_KEY)" >> .env
|
||||
endif
|
||||
ifneq ($(ROOT_CA),)
|
||||
@echo "ROOT_CA=$(ROOT_CA)" >> .env
|
||||
endif
|
||||
@$(MAKE) showenv
|
||||
|
||||
.PHONY: wait
|
||||
wait: ## Wait for service
|
||||
@until [[ $$(docker compose ps $(SERVICE) --format json | jq -r '.Health') =~ ^healthy$$ ]]; do printf '.'; sleep 3; done
|
||||
@printf '\n'
|
||||
|
||||
.PHONY: waitlog
|
||||
waitlog: ## Wait for log line
|
||||
@until docker compose logs $(SERVICE) | grep -Eq "$(LOG_STRING)"; do printf '.'; sleep 3; done
|
||||
|
||||
.PHONY: up
|
||||
up: config ## Start all services
|
||||
@docker compose up --build -d
|
||||
@until [[ $$(docker compose ps api --format json | jq -r '.Health') =~ healthy ]]; do printf '.'; sleep 3; done
|
||||
@printf '\n'
|
||||
@$(MAKE) wait SERVICE=api
|
||||
@$(MAKE) showenv
|
||||
@$(MAKE) showpass
|
||||
|
||||
@ -83,6 +107,7 @@ stop: down ## Alias for 'make down'
|
||||
.PHONY: restart
|
||||
restart: ## Restart all services
|
||||
@docker compose restart
|
||||
@$(MAKE) wait SERVICE=api
|
||||
|
||||
.PHONY: update
|
||||
update: # Pull and deploy latest changes from git
|
||||
@ -118,11 +143,10 @@ self-signed: ## Install self-signed CA certificates
|
||||
auto-pki: config # Start all services using LetsEncrypt and ACME
|
||||
@docker compose exec cert-manager rm -f /certs/export/chain.pem
|
||||
@docker compose up -d
|
||||
@until docker compose logs cert-manager | grep -Eq "/certs/export/chain.pem Certificate will not expire in [0-9] days"; do printf '.'; sleep 3; done
|
||||
@until docker compose logs cert-manager | grep -q "subject=CN = ${DNS_TLD}"; do printf '.'; sleep 3; done
|
||||
@until docker compose logs cert-manager | grep -q "issuer=C = US, O = Let's Encrypt, CN = R3"; do printf '.'; sleep 3; done
|
||||
@until [[ $$(docker compose ps haproxy --format json | jq -r '.Health') =~ healthy ]]; do printf '.'; sleep 3; done
|
||||
@printf '\n'
|
||||
@$(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="issuer=C = US, O = Let's Encrypt, CN = .*"
|
||||
@$(MAKE) wait SERVICE=haproxy
|
||||
@$(MAKE) showenv
|
||||
@$(MAKE) showpass
|
||||
|
||||
|
@ -23,4 +23,4 @@ data:
|
||||
- generic-amd64
|
||||
- genericx86-64-ext
|
||||
- intel-nuc
|
||||
version: 4.0.44
|
||||
version: 4.1.57
|
||||
|
@ -64,11 +64,11 @@ x-network-privileges-trait: &with-network-privileges
|
||||
- SYS_RESOURCE
|
||||
|
||||
x-base-service-definition: &base-service
|
||||
restart: unless-stopped
|
||||
restart: 'unless-stopped'
|
||||
# for docker-compose only, no effect on balenaCloud
|
||||
env_file:
|
||||
- .env
|
||||
tty: 'true' # send syastemd logs from containers to stdout
|
||||
tty: true # send syastemd logs from containers to stdout
|
||||
|
||||
services:
|
||||
# https://github.com/balena-io/open-balena-api
|
||||
@ -79,7 +79,7 @@ services:
|
||||
*with-default-privileges,
|
||||
*with-default-volumes,
|
||||
]
|
||||
image: balena/open-balena-api:v25.1.0
|
||||
image: balena/open-balena-api:v26.1.6
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
@ -110,7 +110,7 @@ services:
|
||||
TRUST_PROXY: 172.16.0.0/12
|
||||
VPN_PORT: 443
|
||||
WEBRESOURCES_S3_BUCKET: web-resources
|
||||
WEBRESOURCES_S3_REGION: "us-east-1" # this is required for minio
|
||||
WEBRESOURCES_S3_REGION: 'us-east-1' # this is required for minio
|
||||
|
||||
# https://github.com/balena-io/open-balena-registry
|
||||
registry:
|
||||
@ -119,7 +119,7 @@ services:
|
||||
*with-default-healthcheck,
|
||||
*with-default-privileges,
|
||||
]
|
||||
image: balena/open-balena-registry:v2.39.58
|
||||
image: balena/open-balena-registry:v2.39.65
|
||||
volumes:
|
||||
- certs-data:/certs
|
||||
- resin-data:/balena
|
||||
@ -146,7 +146,7 @@ services:
|
||||
*with-network-privileges,
|
||||
*with-default-privileges,
|
||||
]
|
||||
image: balena/open-balena-vpn:v11.30.22
|
||||
image: balena/open-balena-vpn:v11.30.31
|
||||
depends_on:
|
||||
- api
|
||||
environment:
|
||||
@ -175,7 +175,7 @@ services:
|
||||
*with-default-healthcheck,
|
||||
*with-default-privileges,
|
||||
]
|
||||
image: balena/open-balena-s3:v2.28.45
|
||||
image: balena/open-balena-s3:v2.28.50
|
||||
volumes:
|
||||
- s3-data:/export
|
||||
- certs-data:/certs
|
||||
@ -212,11 +212,11 @@ services:
|
||||
test: true | openssl s_client -connect localhost:443
|
||||
ports:
|
||||
# haproxy/http
|
||||
- "80:80/tcp"
|
||||
- '80:80/tcp'
|
||||
# haproxy/tcp-router
|
||||
- "443:443/tcp"
|
||||
- '443:443/tcp'
|
||||
# haproxy/stats
|
||||
- "1936:1936/tcp"
|
||||
- '1936:1936/tcp'
|
||||
environment:
|
||||
LOGLEVEL: info
|
||||
|
||||
@ -281,7 +281,7 @@ services:
|
||||
# only relevant when running in AWS/EC2
|
||||
tag-sidecar:
|
||||
build: src/tag-sidecar
|
||||
restart: no
|
||||
restart: 'no'
|
||||
environment:
|
||||
ENABLED: 'true'
|
||||
labels:
|
||||
@ -308,7 +308,7 @@ services:
|
||||
labels:
|
||||
io.balena.features.balena-api: 1
|
||||
io.balena.features.supervisor-api: 1
|
||||
restart: no
|
||||
restart: 'no'
|
||||
|
||||
# virtual Device Under Test (DUT)
|
||||
dut:
|
||||
@ -333,7 +333,7 @@ services:
|
||||
- resin-data:/balena
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
restart: no
|
||||
restart: 'no'
|
||||
|
||||
# https://hub.docker.com/_/docker
|
||||
# pseudo(builder) service for balena-tests
|
||||
@ -344,11 +344,23 @@ services:
|
||||
*with-network-privileges,
|
||||
]
|
||||
image: docker:dind
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- -c
|
||||
command:
|
||||
- |
|
||||
set -x
|
||||
|
||||
cp /certs/root-ca.pem /certs/server-ca.pem /usr/local/share/ca-certificates/ \
|
||||
&& update-ca-certificates
|
||||
|
||||
exec /usr/local/bin/dockerd-entrypoint.sh
|
||||
volumes:
|
||||
- builder-data:/var/lib/docker
|
||||
- /sys:/sys
|
||||
- builder-certs-ca:/docker-pki/ca
|
||||
- builder-certs-client:/docker-pki/client
|
||||
- /sys:/sys
|
||||
- builder-data:/var/lib/docker
|
||||
- certs-data:/certs
|
||||
environment:
|
||||
DOCKER_TLS_CERTDIR: /docker-pki
|
||||
healthcheck:
|
||||
|
@ -82,7 +82,7 @@ name and configure records.
|
||||
|
||||
```bash
|
||||
sudo useradd -s /bin/bash -m -G docker,sudo balena
|
||||
echo 'balena ALL=(ALL) NOPASSWD: ALL' | tee >/etc/sudoers.d/balena
|
||||
echo 'balena ALL=(ALL) NOPASSWD: ALL' | sudo tee /etc/sudoers.d/balena
|
||||
```
|
||||
|
||||
6. Switch user:
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM ubuntu:24.04
|
||||
|
||||
# renovate: datasource=github-releases depName=balena-io/balena-cli
|
||||
ARG BALENA_CLI_VERSION=v18.2.2
|
||||
ARG BALENA_CLI_VERSION=v18.2.33
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
bash \
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck disable=SC2154,SC2034,SC1090
|
||||
set -ae
|
||||
set -aeu
|
||||
|
||||
curl_opts="--retry 3 --fail"
|
||||
if [[ $VERBOSE =~ on|On|Yes|yes|true|True ]]; then
|
||||
@ -17,7 +17,7 @@ function remove_test_assets() {
|
||||
rm -rf /balena/config.json \
|
||||
"${GUEST_IMAGE}" \
|
||||
"${GUEST_IMAGE%.*}.ready" \
|
||||
"${tmpbuild}" \
|
||||
"${tmpbuild:-}" \
|
||||
/tmp/*.img
|
||||
}
|
||||
|
||||
@ -39,14 +39,16 @@ function shutdown_dut() {
|
||||
local balena_device_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}"
|
||||
balena device shutdown -f "${balena_device_uuid}" || true
|
||||
if ! with_backoff balena device shutdown -f "${balena_device_uuid}"; then
|
||||
echo 'DUT failed to shutdown properly'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
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}" \
|
||||
-H "Content-Type: application/json" | jq -r '.update_pending') == 'true' ]]; do
|
||||
|
||||
@ -88,6 +90,7 @@ function update_ca_certificates() {
|
||||
|
||||
function wait_for_api() {
|
||||
while ! curl ${curl_opts} "https://api.${DNS_TLD}/ping"; do
|
||||
echo 'waiting for API...'
|
||||
sleep "$(( (RANDOM % 5) + 5 ))s"
|
||||
done
|
||||
}
|
||||
@ -96,6 +99,7 @@ function open_balena_login() {
|
||||
while ! balena login --credentials \
|
||||
--email "${SUPERUSER_EMAIL}" \
|
||||
--password "${SUPERUSER_PASSWORD}"; do
|
||||
echo 'waiting for auth...'
|
||||
sleep "$(( (RANDOM % 5) + 5 ))s"
|
||||
done
|
||||
}
|
||||
@ -104,6 +108,7 @@ function create_fleet() {
|
||||
if ! balena fleet "${TEST_FLEET}"; then
|
||||
# wait for API to load DT contracts
|
||||
while ! balena fleet create "${TEST_FLEET}" --type "${DEVICE_TYPE}"; do
|
||||
echo 'waiting for device types...'
|
||||
sleep "$(( (RANDOM % 5) + 5 ))s"
|
||||
done
|
||||
|
||||
@ -175,7 +180,7 @@ function wait_for_device() {
|
||||
}
|
||||
|
||||
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}"
|
||||
|
||||
printf '{"https://index.docker.io/v1/": {"username":"%s", "password":"$s"}}' \
|
||||
@ -224,7 +229,7 @@ function supervisor_update_target_state() {
|
||||
local balena_device_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" \
|
||||
--header "Content-Type: application/json" \
|
||||
--header "Authorization: Bearer $(cat <~/.balena/token)" \
|
||||
@ -241,14 +246,14 @@ function check_running_release() {
|
||||
|
||||
local should_be_running_release
|
||||
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
|
||||
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' \
|
||||
"${balena_device_uuid}" \
|
||||
"${1}" \
|
||||
"${should_be_running_release}" \
|
||||
"${running_release_id}"
|
||||
|
||||
sleep "$(( (RANDOM % 5) + 5 ))s"
|
||||
@ -266,7 +271,7 @@ function get_os_version() {
|
||||
}
|
||||
|
||||
function upload_release_asset() {
|
||||
if [[ "$RELEASE_ASSETS_TEST" =~ true ]]; then
|
||||
if [[ "${RELEASE_ASSETS_T:-}" =~ true ]]; then
|
||||
local release_id
|
||||
release_id=${1:-1}
|
||||
release_asset="$(find / -type f -name '*.png' | head -n 1)"
|
||||
@ -282,11 +287,11 @@ function upload_release_asset() {
|
||||
}
|
||||
|
||||
# --- main
|
||||
if [[ "$PRODUCTION_MODE" =~ true ]]; then
|
||||
if [[ "${PRODUCTION_MODE:-}" =~ true ]]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
if [[ -n "${BALENA_DEVICE_UUID}" ]]; then
|
||||
if [[ -n "${BALENA_DEVICE_UUID:-}" ]]; then
|
||||
# prepend the device UUID if running on balenaOS
|
||||
TLD="${BALENA_DEVICE_UUID}.${DNS_TLD}"
|
||||
else
|
||||
@ -303,7 +308,19 @@ GUEST_IMAGE=${GUEST_IMAGE:-/balena/balena.img}
|
||||
OS_VERSION="$(get_os_version)"
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user