balena-cloud-apps 1.0.44 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/.circleci/config.yml +6 -3
  2. package/.log +0 -0
  3. package/README.md +16 -7
  4. package/package.json +2 -1
  5. package/test/build/balena-cloud-apps/.circleci/config.yml +6 -3
  6. package/test/build/balena-cloud-apps/.log +0 -0
  7. package/test/build/balena-cloud-apps/README.md +16 -7
  8. package/test/build/balena-cloud-apps/balena-cloud-apps/.circleci/config.yml +6 -3
  9. package/test/build/balena-cloud-apps/balena-cloud-apps/.log +0 -0
  10. package/test/build/balena-cloud-apps/balena-cloud-apps/README.md +16 -7
  11. package/test/build/balena-cloud-apps/balena-cloud-apps/package.json +2 -1
  12. package/test/build/balena-cloud-apps/balena-cloud-apps/vendor/cni/balena_deploy.sh +1 -1
  13. package/test/build/balena-cloud-apps/balena-cloud-apps/vendor/cni/git_fix_issue.sh +5 -0
  14. package/test/build/balena-cloud-apps/balena-cloud-apps/vendor/cni/git_fix_issue_close.sh +6 -0
  15. package/test/build/balena-cloud-apps/balena-cloud-apps/vendor/cni/update_templates.sh +1 -1
  16. package/test/build/balena-cloud-apps/balena-cloud-apps/yarn.lock +134 -0
  17. package/test/build/balena-cloud-apps/package.json +2 -1
  18. package/test/build/balena-cloud-apps/vendor/cni/balena_deploy.sh +1 -1
  19. package/test/build/balena-cloud-apps/vendor/cni/git_fix_issue.sh +5 -0
  20. package/test/build/balena-cloud-apps/vendor/cni/git_fix_issue_close.sh +6 -0
  21. package/test/build/balena-cloud-apps/vendor/cni/update_templates.sh +1 -1
  22. package/test/build/balena-cloud-apps/yarn.lock +134 -0
  23. package/vendor/cni/balena_deploy.sh +1 -1
  24. package/vendor/cni/git_fix_issue.sh +5 -0
  25. package/vendor/cni/git_fix_issue_close.sh +6 -0
  26. package/vendor/cni/update_templates.sh +1 -1
  27. package/test/build/balena-cloud-apps/balena-cloud-apps/package-lock.json +0 -209
  28. package/test/build/balena-cloud-apps/package-lock.json +0 -209
@@ -26,7 +26,7 @@ jobs:
26
26
  - v1-dependencies-{{ checksum "package.json" }}
27
27
  # fallback to using the latest cache if no exact match is found
28
28
  - v1-dependencies-
29
- - run: npm install
29
+ - run: yarn
30
30
  - run:
31
31
  name: Run tests
32
32
  command: |
@@ -36,7 +36,7 @@ jobs:
36
36
  set -e
37
37
  $SUDO cp vendor/cni/init_functions.sh /usr/local/bin/init_functions
38
38
  $SUDO chmod +x /usr/local/bin/init_functions
39
- npm test
39
+ yarn test
40
40
 
41
41
  - save_cache:
42
42
  paths:
@@ -60,6 +60,7 @@ jobs:
60
60
  - run:
61
61
  name: Publish package
62
62
  command: |
63
+ npm install
63
64
  npm ci
64
65
  npm publish
65
66
 
@@ -76,4 +77,6 @@ workflows:
76
77
  - test
77
78
  filters:
78
79
  branches:
79
- only: /v.*/
80
+ only: master
81
+ tags:
82
+ only: /v(\.?[0-9]+)*/
package/.log ADDED
File without changes
package/README.md CHANGED
@@ -7,7 +7,8 @@ Within an open source application, like [balena-sound](https://github.com/balen
7
7
  ```Shell
8
8
  #!/usr/bin/env bash
9
9
  cd application
10
- npm install balena-cloud-apps
10
+ yarn add balena-cloud-apps
11
+ npm link balena-cloud-apps
11
12
  ```
12
13
 
13
14
  ### Template fields
@@ -39,7 +40,7 @@ PRIMARY_HUB=docker-hub-balenalib-repo\\/container-servìce-image
39
40
  # Test
40
41
  Run unit tests on local host or CI
41
42
 
42
- npm test
43
+ yarn test
43
44
 
44
45
  ### Build dependencies
45
46
  Docker Image dependencies are required to validate test units. Theses dependencies include build images needed by Docker based environments:
@@ -65,16 +66,24 @@ Deploy to Docker or BalenaOS, easy, choose targets:
65
66
 
66
67
  You can build locally:
67
68
 
68
- docker_build .
69
+ docker_build . . <DOCKER_USER>/<IMAGE>:<TAG> <BALENA_ARCH>
69
70
 
70
71
  In BASH scripts, use arguments:
71
- ```Console
72
- balena_deploy . x86_64 --nobuild --exit
73
- balena_deploy . armhf --balena
74
- ```
72
+
73
+ balena_deploy . x86_64 --nobuild --exit
74
+ balena_deploy . armhf --balena
75
+
75
76
 
76
77
  # Updating and managing npm version
77
78
  Follow general guidelines in the documention about [versioning this project on npm](https://docs.npmjs.com/packages-and-modules/updating-and-managing-your-published-packages)
78
79
 
80
+ Basically, commit all your changes and bump to the next version, then push tags:
81
+
82
+ # version string without the leading "v."
83
+ npm version "0.0.1"
84
+ git push --tags
85
+
86
+ The continuous integration system will detect the new version tag and deploy to NPMJS if all build steps succeed.
87
+
79
88
  # CLI functions
80
89
  All endpoints in command line shell scripts are registered in package.json. When balena-cloud-apps installs itself, the functions become available to environment PATH.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balena-cloud-apps",
3
- "version": "1.0.44",
3
+ "version": "1.0.47",
4
4
  "description": "Shell scripts package to the containers native interface BalenaOS for the Raspberry Pi.",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -16,6 +16,7 @@
16
16
  "docker_build": "vendor/cni/docker_build.sh",
17
17
  "init_functions": "vendor/cni/init_functions.sh",
18
18
  "post_install": "vendor/cni/post_install.sh",
19
+ "git_retag": "vendor/cni/git_retag.sh",
19
20
  "git_fix_issue": "vendor/cni/git_fix_issue.sh",
20
21
  "git_fix_issue_close": "vendor/cni/git_fix_issue_close.sh",
21
22
  "update_templates": "vendor/cni/update_templates.sh"
@@ -26,7 +26,7 @@ jobs:
26
26
  - v1-dependencies-{{ checksum "package.json" }}
27
27
  # fallback to using the latest cache if no exact match is found
28
28
  - v1-dependencies-
29
- - run: npm install
29
+ - run: yarn
30
30
  - run:
31
31
  name: Run tests
32
32
  command: |
@@ -36,7 +36,7 @@ jobs:
36
36
  set -e
37
37
  $SUDO cp vendor/cni/init_functions.sh /usr/local/bin/init_functions
38
38
  $SUDO chmod +x /usr/local/bin/init_functions
39
- npm test
39
+ yarn test
40
40
 
41
41
  - save_cache:
42
42
  paths:
@@ -60,6 +60,7 @@ jobs:
60
60
  - run:
61
61
  name: Publish package
62
62
  command: |
63
+ npm install
63
64
  npm ci
64
65
  npm publish
65
66
 
@@ -76,4 +77,6 @@ workflows:
76
77
  - test
77
78
  filters:
78
79
  branches:
79
- only: /v.*/
80
+ only: master
81
+ tags:
82
+ only: /v(\.?[0-9]+)*/
File without changes
@@ -7,7 +7,8 @@ Within an open source application, like [balena-sound](https://github.com/balen
7
7
  ```Shell
8
8
  #!/usr/bin/env bash
9
9
  cd application
10
- npm install balena-cloud-apps
10
+ yarn add balena-cloud-apps
11
+ npm link balena-cloud-apps
11
12
  ```
12
13
 
13
14
  ### Template fields
@@ -39,7 +40,7 @@ PRIMARY_HUB=docker-hub-balenalib-repo\\/container-servìce-image
39
40
  # Test
40
41
  Run unit tests on local host or CI
41
42
 
42
- npm test
43
+ yarn test
43
44
 
44
45
  ### Build dependencies
45
46
  Docker Image dependencies are required to validate test units. Theses dependencies include build images needed by Docker based environments:
@@ -65,16 +66,24 @@ Deploy to Docker or BalenaOS, easy, choose targets:
65
66
 
66
67
  You can build locally:
67
68
 
68
- docker_build .
69
+ docker_build . . <DOCKER_USER>/<IMAGE>:<TAG> <BALENA_ARCH>
69
70
 
70
71
  In BASH scripts, use arguments:
71
- ```Console
72
- balena_deploy . x86_64 --nobuild --exit
73
- balena_deploy . armhf --balena
74
- ```
72
+
73
+ balena_deploy . x86_64 --nobuild --exit
74
+ balena_deploy . armhf --balena
75
+
75
76
 
76
77
  # Updating and managing npm version
77
78
  Follow general guidelines in the documention about [versioning this project on npm](https://docs.npmjs.com/packages-and-modules/updating-and-managing-your-published-packages)
78
79
 
80
+ Basically, commit all your changes and bump to the next version, then push tags:
81
+
82
+ # version string without the leading "v."
83
+ npm version "0.0.1"
84
+ git push --tags
85
+
86
+ The continuous integration system will detect the new version tag and deploy to NPMJS if all build steps succeed.
87
+
79
88
  # CLI functions
80
89
  All endpoints in command line shell scripts are registered in package.json. When balena-cloud-apps installs itself, the functions become available to environment PATH.
@@ -26,7 +26,7 @@ jobs:
26
26
  - v1-dependencies-{{ checksum "package.json" }}
27
27
  # fallback to using the latest cache if no exact match is found
28
28
  - v1-dependencies-
29
- - run: npm install
29
+ - run: yarn
30
30
  - run:
31
31
  name: Run tests
32
32
  command: |
@@ -36,7 +36,7 @@ jobs:
36
36
  set -e
37
37
  $SUDO cp vendor/cni/init_functions.sh /usr/local/bin/init_functions
38
38
  $SUDO chmod +x /usr/local/bin/init_functions
39
- npm test
39
+ yarn test
40
40
 
41
41
  - save_cache:
42
42
  paths:
@@ -60,6 +60,7 @@ jobs:
60
60
  - run:
61
61
  name: Publish package
62
62
  command: |
63
+ npm install
63
64
  npm ci
64
65
  npm publish
65
66
 
@@ -76,4 +77,6 @@ workflows:
76
77
  - test
77
78
  filters:
78
79
  branches:
79
- only: /v.*/
80
+ only: master
81
+ tags:
82
+ only: /v(\.?[0-9]+)*/
@@ -7,7 +7,8 @@ Within an open source application, like [balena-sound](https://github.com/balen
7
7
  ```Shell
8
8
  #!/usr/bin/env bash
9
9
  cd application
10
- npm install balena-cloud-apps
10
+ yarn add balena-cloud-apps
11
+ npm link balena-cloud-apps
11
12
  ```
12
13
 
13
14
  ### Template fields
@@ -39,7 +40,7 @@ PRIMARY_HUB=docker-hub-balenalib-repo\\/container-servìce-image
39
40
  # Test
40
41
  Run unit tests on local host or CI
41
42
 
42
- npm test
43
+ yarn test
43
44
 
44
45
  ### Build dependencies
45
46
  Docker Image dependencies are required to validate test units. Theses dependencies include build images needed by Docker based environments:
@@ -65,16 +66,24 @@ Deploy to Docker or BalenaOS, easy, choose targets:
65
66
 
66
67
  You can build locally:
67
68
 
68
- docker_build .
69
+ docker_build . . <DOCKER_USER>/<IMAGE>:<TAG> <BALENA_ARCH>
69
70
 
70
71
  In BASH scripts, use arguments:
71
- ```Console
72
- balena_deploy . x86_64 --nobuild --exit
73
- balena_deploy . armhf --balena
74
- ```
72
+
73
+ balena_deploy . x86_64 --nobuild --exit
74
+ balena_deploy . armhf --balena
75
+
75
76
 
76
77
  # Updating and managing npm version
77
78
  Follow general guidelines in the documention about [versioning this project on npm](https://docs.npmjs.com/packages-and-modules/updating-and-managing-your-published-packages)
78
79
 
80
+ Basically, commit all your changes and bump to the next version, then push tags:
81
+
82
+ # version string without the leading "v."
83
+ npm version "0.0.1"
84
+ git push --tags
85
+
86
+ The continuous integration system will detect the new version tag and deploy to NPMJS if all build steps succeed.
87
+
79
88
  # CLI functions
80
89
  All endpoints in command line shell scripts are registered in package.json. When balena-cloud-apps installs itself, the functions become available to environment PATH.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balena-cloud-apps",
3
- "version": "1.0.43",
3
+ "version": "1.0.47",
4
4
  "description": "Shell scripts package to the containers native interface BalenaOS for the Raspberry Pi.",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -16,6 +16,7 @@
16
16
  "docker_build": "vendor/cni/docker_build.sh",
17
17
  "init_functions": "vendor/cni/init_functions.sh",
18
18
  "post_install": "vendor/cni/post_install.sh",
19
+ "git_retag": "vendor/cni/git_retag.sh",
19
20
  "git_fix_issue": "vendor/cni/git_fix_issue.sh",
20
21
  "git_fix_issue_close": "vendor/cni/git_fix_issue_close.sh",
21
22
  "update_templates": "vendor/cni/update_templates.sh"
@@ -259,7 +259,7 @@ while true; do
259
259
  native_compose_file_set
260
260
  if command -v balena > /dev/null; then
261
261
  # shellcheck disable=SC2046
262
- balena_push $(balena fleets | awk '{if (NR>1) print $2}') || true
262
+ balena_push $(balena fleet list | awk '{if (NR>1) print $2}') || true
263
263
  else
264
264
  log_warning_msg "Balena Cloud not installed. Using git push."
265
265
  git push -uf balena || true
@@ -2,6 +2,11 @@
2
2
  if [ -z "$1" ]; then
3
3
  echo "Missing argument issue number!"
4
4
  else
5
+ # shellcheck source=init_functions.sh
6
+ . "$(command -v init_functions)" "${BASH_SOURCE[0]}"
7
+ [ "${DEBUG:-0}" != 0 ] && log_daemon_msg "passed args $*"
8
+
9
+ LOG=${LOG:-"$(new_log "." "$(basename "$project_root").log")"}
5
10
  printf "New issue fixture %s ...\n" "$1"
6
11
  sleep 1
7
12
  if [ "$(git branch fix/issue-"$1" >> "$LOG")" ]; then
@@ -2,6 +2,12 @@
2
2
  if [ -z "$1" ]; then
3
3
  echo "Missing argument issue number!"
4
4
  else
5
+ # shellcheck source=init_functions.sh
6
+ . "$(command -v init_functions)" "${BASH_SOURCE[0]}"
7
+ [ "${DEBUG:-0}" != 0 ] && log_daemon_msg "passed args $*"
8
+
9
+ LOG=${LOG:-"$(new_log "." "$(basename "$project_root").log")"}
10
+
5
11
  printf "Close fixture %s ...\n" "$1"
6
12
  sleep 1
7
13
  if [ "$(git checkout "$2" >> "$LOG")" ]; then
@@ -20,7 +20,7 @@ ARC=(armhf x86_64 aarch64)
20
20
  # Loop through the array and echo each value
21
21
  for arch in "${ARC[@]}"; do
22
22
  printf "Updating templates, %s \n" "$arch"
23
- echo "0" | balena_deploy "$dir" "$arch" 1 2> /dev/null > /dev/null
23
+ echo "0" | balena_deploy "$dir" "$arch" 1 0 0 2> /dev/null > /dev/null
24
24
  done
25
25
 
26
26
  git add "$dir"/docker-compose.yml
@@ -0,0 +1,134 @@
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ balanced-match@^1.0.0:
6
+ version "1.0.2"
7
+ resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
8
+ integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
9
+
10
+ brace-expansion@^1.1.7:
11
+ version "1.1.11"
12
+ resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz"
13
+ integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
14
+ dependencies:
15
+ balanced-match "^1.0.0"
16
+ concat-map "0.0.1"
17
+
18
+ concat-map@0.0.1:
19
+ version "0.0.1"
20
+ resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
21
+ integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
22
+
23
+ fs.realpath@^1.0.0:
24
+ version "1.0.0"
25
+ resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
26
+ integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
27
+
28
+ function-bind@^1.1.2:
29
+ version "1.1.2"
30
+ resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz"
31
+ integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==
32
+
33
+ glob@^7.0.0:
34
+ version "7.2.3"
35
+ resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz"
36
+ integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
37
+ dependencies:
38
+ fs.realpath "^1.0.0"
39
+ inflight "^1.0.4"
40
+ inherits "2"
41
+ minimatch "^3.1.1"
42
+ once "^1.3.0"
43
+ path-is-absolute "^1.0.0"
44
+
45
+ hasown@^2.0.2:
46
+ version "2.0.2"
47
+ resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz"
48
+ integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==
49
+ dependencies:
50
+ function-bind "^1.1.2"
51
+
52
+ inflight@^1.0.4:
53
+ version "1.0.6"
54
+ resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz"
55
+ integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==
56
+ dependencies:
57
+ once "^1.3.0"
58
+ wrappy "1"
59
+
60
+ inherits@2:
61
+ version "2.0.4"
62
+ resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
63
+ integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
64
+
65
+ interpret@^1.0.0:
66
+ version "1.4.0"
67
+ resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz"
68
+ integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
69
+
70
+ is-core-module@^2.16.0:
71
+ version "2.16.1"
72
+ resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz"
73
+ integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==
74
+ dependencies:
75
+ hasown "^2.0.2"
76
+
77
+ minimatch@^3.1.1:
78
+ version "3.1.2"
79
+ resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz"
80
+ integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
81
+ dependencies:
82
+ brace-expansion "^1.1.7"
83
+
84
+ once@^1.3.0:
85
+ version "1.4.0"
86
+ resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz"
87
+ integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
88
+ dependencies:
89
+ wrappy "1"
90
+
91
+ path-is-absolute@^1.0.0:
92
+ version "1.0.1"
93
+ resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz"
94
+ integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
95
+
96
+ path-parse@^1.0.7:
97
+ version "1.0.7"
98
+ resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz"
99
+ integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
100
+
101
+ rechoir@^0.6.2:
102
+ version "0.6.2"
103
+ resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz"
104
+ integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==
105
+ dependencies:
106
+ resolve "^1.1.6"
107
+
108
+ resolve@^1.1.6:
109
+ version "1.22.10"
110
+ resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz"
111
+ integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==
112
+ dependencies:
113
+ is-core-module "^2.16.0"
114
+ path-parse "^1.0.7"
115
+ supports-preserve-symlinks-flag "^1.0.0"
116
+
117
+ shelljs@^0.8.4:
118
+ version "0.8.5"
119
+ resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz"
120
+ integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==
121
+ dependencies:
122
+ glob "^7.0.0"
123
+ interpret "^1.0.0"
124
+ rechoir "^0.6.2"
125
+
126
+ supports-preserve-symlinks-flag@^1.0.0:
127
+ version "1.0.0"
128
+ resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz"
129
+ integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
130
+
131
+ wrappy@1:
132
+ version "1.0.2"
133
+ resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
134
+ integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balena-cloud-apps",
3
- "version": "1.0.43",
3
+ "version": "1.0.47",
4
4
  "description": "Shell scripts package to the containers native interface BalenaOS for the Raspberry Pi.",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -16,6 +16,7 @@
16
16
  "docker_build": "vendor/cni/docker_build.sh",
17
17
  "init_functions": "vendor/cni/init_functions.sh",
18
18
  "post_install": "vendor/cni/post_install.sh",
19
+ "git_retag": "vendor/cni/git_retag.sh",
19
20
  "git_fix_issue": "vendor/cni/git_fix_issue.sh",
20
21
  "git_fix_issue_close": "vendor/cni/git_fix_issue_close.sh",
21
22
  "update_templates": "vendor/cni/update_templates.sh"
@@ -259,7 +259,7 @@ while true; do
259
259
  native_compose_file_set
260
260
  if command -v balena > /dev/null; then
261
261
  # shellcheck disable=SC2046
262
- balena_push $(balena fleets | awk '{if (NR>1) print $2}') || true
262
+ balena_push $(balena fleet list | awk '{if (NR>1) print $2}') || true
263
263
  else
264
264
  log_warning_msg "Balena Cloud not installed. Using git push."
265
265
  git push -uf balena || true
@@ -2,6 +2,11 @@
2
2
  if [ -z "$1" ]; then
3
3
  echo "Missing argument issue number!"
4
4
  else
5
+ # shellcheck source=init_functions.sh
6
+ . "$(command -v init_functions)" "${BASH_SOURCE[0]}"
7
+ [ "${DEBUG:-0}" != 0 ] && log_daemon_msg "passed args $*"
8
+
9
+ LOG=${LOG:-"$(new_log "." "$(basename "$project_root").log")"}
5
10
  printf "New issue fixture %s ...\n" "$1"
6
11
  sleep 1
7
12
  if [ "$(git branch fix/issue-"$1" >> "$LOG")" ]; then
@@ -2,6 +2,12 @@
2
2
  if [ -z "$1" ]; then
3
3
  echo "Missing argument issue number!"
4
4
  else
5
+ # shellcheck source=init_functions.sh
6
+ . "$(command -v init_functions)" "${BASH_SOURCE[0]}"
7
+ [ "${DEBUG:-0}" != 0 ] && log_daemon_msg "passed args $*"
8
+
9
+ LOG=${LOG:-"$(new_log "." "$(basename "$project_root").log")"}
10
+
5
11
  printf "Close fixture %s ...\n" "$1"
6
12
  sleep 1
7
13
  if [ "$(git checkout "$2" >> "$LOG")" ]; then
@@ -20,7 +20,7 @@ ARC=(armhf x86_64 aarch64)
20
20
  # Loop through the array and echo each value
21
21
  for arch in "${ARC[@]}"; do
22
22
  printf "Updating templates, %s \n" "$arch"
23
- echo "0" | balena_deploy "$dir" "$arch" 1 2> /dev/null > /dev/null
23
+ echo "0" | balena_deploy "$dir" "$arch" 1 0 0 2> /dev/null > /dev/null
24
24
  done
25
25
 
26
26
  git add "$dir"/docker-compose.yml
@@ -0,0 +1,134 @@
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ balanced-match@^1.0.0:
6
+ version "1.0.2"
7
+ resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
8
+ integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
9
+
10
+ brace-expansion@^1.1.7:
11
+ version "1.1.11"
12
+ resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz"
13
+ integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
14
+ dependencies:
15
+ balanced-match "^1.0.0"
16
+ concat-map "0.0.1"
17
+
18
+ concat-map@0.0.1:
19
+ version "0.0.1"
20
+ resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
21
+ integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
22
+
23
+ fs.realpath@^1.0.0:
24
+ version "1.0.0"
25
+ resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
26
+ integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
27
+
28
+ function-bind@^1.1.2:
29
+ version "1.1.2"
30
+ resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz"
31
+ integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==
32
+
33
+ glob@^7.0.0:
34
+ version "7.2.3"
35
+ resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz"
36
+ integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
37
+ dependencies:
38
+ fs.realpath "^1.0.0"
39
+ inflight "^1.0.4"
40
+ inherits "2"
41
+ minimatch "^3.1.1"
42
+ once "^1.3.0"
43
+ path-is-absolute "^1.0.0"
44
+
45
+ hasown@^2.0.2:
46
+ version "2.0.2"
47
+ resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz"
48
+ integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==
49
+ dependencies:
50
+ function-bind "^1.1.2"
51
+
52
+ inflight@^1.0.4:
53
+ version "1.0.6"
54
+ resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz"
55
+ integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==
56
+ dependencies:
57
+ once "^1.3.0"
58
+ wrappy "1"
59
+
60
+ inherits@2:
61
+ version "2.0.4"
62
+ resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
63
+ integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
64
+
65
+ interpret@^1.0.0:
66
+ version "1.4.0"
67
+ resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz"
68
+ integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
69
+
70
+ is-core-module@^2.16.0:
71
+ version "2.16.1"
72
+ resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz"
73
+ integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==
74
+ dependencies:
75
+ hasown "^2.0.2"
76
+
77
+ minimatch@^3.1.1:
78
+ version "3.1.2"
79
+ resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz"
80
+ integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
81
+ dependencies:
82
+ brace-expansion "^1.1.7"
83
+
84
+ once@^1.3.0:
85
+ version "1.4.0"
86
+ resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz"
87
+ integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
88
+ dependencies:
89
+ wrappy "1"
90
+
91
+ path-is-absolute@^1.0.0:
92
+ version "1.0.1"
93
+ resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz"
94
+ integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
95
+
96
+ path-parse@^1.0.7:
97
+ version "1.0.7"
98
+ resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz"
99
+ integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
100
+
101
+ rechoir@^0.6.2:
102
+ version "0.6.2"
103
+ resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz"
104
+ integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==
105
+ dependencies:
106
+ resolve "^1.1.6"
107
+
108
+ resolve@^1.1.6:
109
+ version "1.22.10"
110
+ resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz"
111
+ integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==
112
+ dependencies:
113
+ is-core-module "^2.16.0"
114
+ path-parse "^1.0.7"
115
+ supports-preserve-symlinks-flag "^1.0.0"
116
+
117
+ shelljs@^0.8.4:
118
+ version "0.8.5"
119
+ resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz"
120
+ integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==
121
+ dependencies:
122
+ glob "^7.0.0"
123
+ interpret "^1.0.0"
124
+ rechoir "^0.6.2"
125
+
126
+ supports-preserve-symlinks-flag@^1.0.0:
127
+ version "1.0.0"
128
+ resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz"
129
+ integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
130
+
131
+ wrappy@1:
132
+ version "1.0.2"
133
+ resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
134
+ integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
@@ -259,7 +259,7 @@ while true; do
259
259
  native_compose_file_set
260
260
  if command -v balena > /dev/null; then
261
261
  # shellcheck disable=SC2046
262
- balena_push $(balena fleets | awk '{if (NR>1) print $2}') || true
262
+ balena_push $(balena fleet list | awk '{if (NR>1) print $2}') || true
263
263
  else
264
264
  log_warning_msg "Balena Cloud not installed. Using git push."
265
265
  git push -uf balena || true
@@ -2,6 +2,11 @@
2
2
  if [ -z "$1" ]; then
3
3
  echo "Missing argument issue number!"
4
4
  else
5
+ # shellcheck source=init_functions.sh
6
+ . "$(command -v init_functions)" "${BASH_SOURCE[0]}"
7
+ [ "${DEBUG:-0}" != 0 ] && log_daemon_msg "passed args $*"
8
+
9
+ LOG=${LOG:-"$(new_log "." "$(basename "$project_root").log")"}
5
10
  printf "New issue fixture %s ...\n" "$1"
6
11
  sleep 1
7
12
  if [ "$(git branch fix/issue-"$1" >> "$LOG")" ]; then
@@ -2,6 +2,12 @@
2
2
  if [ -z "$1" ]; then
3
3
  echo "Missing argument issue number!"
4
4
  else
5
+ # shellcheck source=init_functions.sh
6
+ . "$(command -v init_functions)" "${BASH_SOURCE[0]}"
7
+ [ "${DEBUG:-0}" != 0 ] && log_daemon_msg "passed args $*"
8
+
9
+ LOG=${LOG:-"$(new_log "." "$(basename "$project_root").log")"}
10
+
5
11
  printf "Close fixture %s ...\n" "$1"
6
12
  sleep 1
7
13
  if [ "$(git checkout "$2" >> "$LOG")" ]; then
@@ -20,7 +20,7 @@ ARC=(armhf x86_64 aarch64)
20
20
  # Loop through the array and echo each value
21
21
  for arch in "${ARC[@]}"; do
22
22
  printf "Updating templates, %s \n" "$arch"
23
- echo "0" | balena_deploy "$dir" "$arch" 1 2> /dev/null > /dev/null
23
+ echo "0" | balena_deploy "$dir" "$arch" 1 0 0 2> /dev/null > /dev/null
24
24
  done
25
25
 
26
26
  git add "$dir"/docker-compose.yml
@@ -1,209 +0,0 @@
1
- {
2
- "name": "balena-cloud-apps",
3
- "version": "1.0.43",
4
- "lockfileVersion": 3,
5
- "requires": true,
6
- "packages": {
7
- "": {
8
- "name": "balena-cloud-apps",
9
- "version": "1.0.43",
10
- "license": "Apache-2.0",
11
- "dependencies": {
12
- "shelljs": "^0.8.4"
13
- },
14
- "bin": {
15
- "auto_reboot": "vendor/cni/auto_reboot.sh",
16
- "balena_deploy": "vendor/cni/balena_deploy.sh",
17
- "clone_project": "vendor/cni/clone_project.sh",
18
- "docker_build": "vendor/cni/docker_build.sh",
19
- "git_retag": "vendor/cni/git_retag.sh",
20
- "init_functions": "vendor/cni/init_functions.sh",
21
- "post_install": "vendor/cni/post_install.sh"
22
- },
23
- "devDependencies": {}
24
- },
25
- "node_modules/balanced-match": {
26
- "version": "1.0.2",
27
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
28
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
29
- },
30
- "node_modules/brace-expansion": {
31
- "version": "1.1.11",
32
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
33
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
34
- "dependencies": {
35
- "balanced-match": "^1.0.0",
36
- "concat-map": "0.0.1"
37
- }
38
- },
39
- "node_modules/concat-map": {
40
- "version": "0.0.1",
41
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
42
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
43
- },
44
- "node_modules/fs.realpath": {
45
- "version": "1.0.0",
46
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
47
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
48
- },
49
- "node_modules/function-bind": {
50
- "version": "1.1.1",
51
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
52
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
53
- },
54
- "node_modules/glob": {
55
- "version": "7.2.3",
56
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
57
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
58
- "dependencies": {
59
- "fs.realpath": "^1.0.0",
60
- "inflight": "^1.0.4",
61
- "inherits": "2",
62
- "minimatch": "^3.1.1",
63
- "once": "^1.3.0",
64
- "path-is-absolute": "^1.0.0"
65
- },
66
- "engines": {
67
- "node": "*"
68
- },
69
- "funding": {
70
- "url": "https://github.com/sponsors/isaacs"
71
- }
72
- },
73
- "node_modules/has": {
74
- "version": "1.0.3",
75
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
76
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
77
- "dependencies": {
78
- "function-bind": "^1.1.1"
79
- },
80
- "engines": {
81
- "node": ">= 0.4.0"
82
- }
83
- },
84
- "node_modules/inflight": {
85
- "version": "1.0.6",
86
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
87
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
88
- "dependencies": {
89
- "once": "^1.3.0",
90
- "wrappy": "1"
91
- }
92
- },
93
- "node_modules/inherits": {
94
- "version": "2.0.4",
95
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
96
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
97
- },
98
- "node_modules/interpret": {
99
- "version": "1.4.0",
100
- "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz",
101
- "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==",
102
- "engines": {
103
- "node": ">= 0.10"
104
- }
105
- },
106
- "node_modules/is-core-module": {
107
- "version": "2.11.0",
108
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
109
- "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
110
- "dependencies": {
111
- "has": "^1.0.3"
112
- },
113
- "funding": {
114
- "url": "https://github.com/sponsors/ljharb"
115
- }
116
- },
117
- "node_modules/minimatch": {
118
- "version": "3.1.2",
119
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
120
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
121
- "dependencies": {
122
- "brace-expansion": "^1.1.7"
123
- },
124
- "engines": {
125
- "node": "*"
126
- }
127
- },
128
- "node_modules/once": {
129
- "version": "1.4.0",
130
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
131
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
132
- "dependencies": {
133
- "wrappy": "1"
134
- }
135
- },
136
- "node_modules/path-is-absolute": {
137
- "version": "1.0.1",
138
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
139
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
140
- "engines": {
141
- "node": ">=0.10.0"
142
- }
143
- },
144
- "node_modules/path-parse": {
145
- "version": "1.0.7",
146
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
147
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
148
- },
149
- "node_modules/rechoir": {
150
- "version": "0.6.2",
151
- "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",
152
- "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==",
153
- "dependencies": {
154
- "resolve": "^1.1.6"
155
- },
156
- "engines": {
157
- "node": ">= 0.10"
158
- }
159
- },
160
- "node_modules/resolve": {
161
- "version": "1.22.1",
162
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
163
- "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
164
- "dependencies": {
165
- "is-core-module": "^2.9.0",
166
- "path-parse": "^1.0.7",
167
- "supports-preserve-symlinks-flag": "^1.0.0"
168
- },
169
- "bin": {
170
- "resolve": "bin/resolve"
171
- },
172
- "funding": {
173
- "url": "https://github.com/sponsors/ljharb"
174
- }
175
- },
176
- "node_modules/shelljs": {
177
- "version": "0.8.5",
178
- "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz",
179
- "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==",
180
- "dependencies": {
181
- "glob": "^7.0.0",
182
- "interpret": "^1.0.0",
183
- "rechoir": "^0.6.2"
184
- },
185
- "bin": {
186
- "shjs": "bin/shjs"
187
- },
188
- "engines": {
189
- "node": ">=4"
190
- }
191
- },
192
- "node_modules/supports-preserve-symlinks-flag": {
193
- "version": "1.0.0",
194
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
195
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
196
- "engines": {
197
- "node": ">= 0.4"
198
- },
199
- "funding": {
200
- "url": "https://github.com/sponsors/ljharb"
201
- }
202
- },
203
- "node_modules/wrappy": {
204
- "version": "1.0.2",
205
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
206
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
207
- }
208
- }
209
- }
@@ -1,209 +0,0 @@
1
- {
2
- "name": "balena-cloud-apps",
3
- "version": "1.0.43",
4
- "lockfileVersion": 3,
5
- "requires": true,
6
- "packages": {
7
- "": {
8
- "name": "balena-cloud-apps",
9
- "version": "1.0.43",
10
- "license": "Apache-2.0",
11
- "dependencies": {
12
- "shelljs": "^0.8.4"
13
- },
14
- "bin": {
15
- "auto_reboot": "vendor/cni/auto_reboot.sh",
16
- "balena_deploy": "vendor/cni/balena_deploy.sh",
17
- "clone_project": "vendor/cni/clone_project.sh",
18
- "docker_build": "vendor/cni/docker_build.sh",
19
- "git_retag": "vendor/cni/git_retag.sh",
20
- "init_functions": "vendor/cni/init_functions.sh",
21
- "post_install": "vendor/cni/post_install.sh"
22
- },
23
- "devDependencies": {}
24
- },
25
- "node_modules/balanced-match": {
26
- "version": "1.0.2",
27
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
28
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
29
- },
30
- "node_modules/brace-expansion": {
31
- "version": "1.1.11",
32
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
33
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
34
- "dependencies": {
35
- "balanced-match": "^1.0.0",
36
- "concat-map": "0.0.1"
37
- }
38
- },
39
- "node_modules/concat-map": {
40
- "version": "0.0.1",
41
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
42
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
43
- },
44
- "node_modules/fs.realpath": {
45
- "version": "1.0.0",
46
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
47
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
48
- },
49
- "node_modules/function-bind": {
50
- "version": "1.1.1",
51
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
52
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
53
- },
54
- "node_modules/glob": {
55
- "version": "7.2.3",
56
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
57
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
58
- "dependencies": {
59
- "fs.realpath": "^1.0.0",
60
- "inflight": "^1.0.4",
61
- "inherits": "2",
62
- "minimatch": "^3.1.1",
63
- "once": "^1.3.0",
64
- "path-is-absolute": "^1.0.0"
65
- },
66
- "engines": {
67
- "node": "*"
68
- },
69
- "funding": {
70
- "url": "https://github.com/sponsors/isaacs"
71
- }
72
- },
73
- "node_modules/has": {
74
- "version": "1.0.3",
75
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
76
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
77
- "dependencies": {
78
- "function-bind": "^1.1.1"
79
- },
80
- "engines": {
81
- "node": ">= 0.4.0"
82
- }
83
- },
84
- "node_modules/inflight": {
85
- "version": "1.0.6",
86
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
87
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
88
- "dependencies": {
89
- "once": "^1.3.0",
90
- "wrappy": "1"
91
- }
92
- },
93
- "node_modules/inherits": {
94
- "version": "2.0.4",
95
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
96
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
97
- },
98
- "node_modules/interpret": {
99
- "version": "1.4.0",
100
- "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz",
101
- "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==",
102
- "engines": {
103
- "node": ">= 0.10"
104
- }
105
- },
106
- "node_modules/is-core-module": {
107
- "version": "2.11.0",
108
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
109
- "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",
110
- "dependencies": {
111
- "has": "^1.0.3"
112
- },
113
- "funding": {
114
- "url": "https://github.com/sponsors/ljharb"
115
- }
116
- },
117
- "node_modules/minimatch": {
118
- "version": "3.1.2",
119
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
120
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
121
- "dependencies": {
122
- "brace-expansion": "^1.1.7"
123
- },
124
- "engines": {
125
- "node": "*"
126
- }
127
- },
128
- "node_modules/once": {
129
- "version": "1.4.0",
130
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
131
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
132
- "dependencies": {
133
- "wrappy": "1"
134
- }
135
- },
136
- "node_modules/path-is-absolute": {
137
- "version": "1.0.1",
138
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
139
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
140
- "engines": {
141
- "node": ">=0.10.0"
142
- }
143
- },
144
- "node_modules/path-parse": {
145
- "version": "1.0.7",
146
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
147
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
148
- },
149
- "node_modules/rechoir": {
150
- "version": "0.6.2",
151
- "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",
152
- "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==",
153
- "dependencies": {
154
- "resolve": "^1.1.6"
155
- },
156
- "engines": {
157
- "node": ">= 0.10"
158
- }
159
- },
160
- "node_modules/resolve": {
161
- "version": "1.22.1",
162
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",
163
- "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",
164
- "dependencies": {
165
- "is-core-module": "^2.9.0",
166
- "path-parse": "^1.0.7",
167
- "supports-preserve-symlinks-flag": "^1.0.0"
168
- },
169
- "bin": {
170
- "resolve": "bin/resolve"
171
- },
172
- "funding": {
173
- "url": "https://github.com/sponsors/ljharb"
174
- }
175
- },
176
- "node_modules/shelljs": {
177
- "version": "0.8.5",
178
- "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz",
179
- "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==",
180
- "dependencies": {
181
- "glob": "^7.0.0",
182
- "interpret": "^1.0.0",
183
- "rechoir": "^0.6.2"
184
- },
185
- "bin": {
186
- "shjs": "bin/shjs"
187
- },
188
- "engines": {
189
- "node": ">=4"
190
- }
191
- },
192
- "node_modules/supports-preserve-symlinks-flag": {
193
- "version": "1.0.0",
194
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
195
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
196
- "engines": {
197
- "node": ">= 0.4"
198
- },
199
- "funding": {
200
- "url": "https://github.com/sponsors/ljharb"
201
- }
202
- },
203
- "node_modules/wrappy": {
204
- "version": "1.0.2",
205
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
206
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
207
- }
208
- }
209
- }