Commit Graph

12 Commits

Author SHA1 Message Date
Paulo Castro
deb3e4c4ac Improve error handling (remove most occurrences of process.exit())
Finally delete the deprecated exitWithExpectedError() function from
'lib/errors.ts'.

Change-type: patch
2021-08-27 00:53:21 +01:00
Paulo Castro
68b61e7424 Refactor automation scripts (reduce need for MSYS to build on Windows)
Change-type: patch
2021-03-23 00:04:43 +00:00
Pagan Gazzard
648a73fd91 Tests: check shrinkwrap is deduped
Change-type: patch
2020-08-12 15:34:53 +01:00
Pagan Gazzard
5e94f3f9c9 Add typing info to requires wherever possible
Change-type: patch
2020-06-30 23:21:39 +01:00
Thomas Manning
b3948d538c Debug mode can now be disabled with DEBUG=0 env var
Added assignment to `process.env.DEBUG` if `process.env.DEBUG` is negative string to `lib/app.ts` and `automation/run.ts` entrypoints

Resolves: #1502
Change-type: patch
Signed-off-by: Thomas Manning <thomasm@balena.io>
2020-02-05 11:17:12 +09:00
Pagan Gazzard
27e1f3f7d7 Remove unnecessary code now that typescript understands process.exit
Change-type: patch
2020-02-03 13:06:23 +00:00
Paulo Castro
9db6961a7e Add catch-uncommitted to balena CI build
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2020-01-20 23:25:24 +00:00
Paulo Castro
7bb2741a5a Deploy scripts: edit GitHub release descriptions given semver ranges
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-08-30 18:09:58 +01:00
Paulo Castro
7c750f9e43 balena CI: Add balena-cli executable signing step
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-04 20:01:08 +01:00
Paulo Castro
0afbd6f17a Refactor build:standalone / build:installer / run release
So that:
- Standalone zip files are created in the standalone step,
- oclif installers are renamed in the installer step, and
- npm run release (which is skipped by balena CI) is reduced to
  uploading the files to the GitHub releases page.

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-04 20:01:07 +01:00
Paulo Castro
66b997d98c balena CI integration: Use C:\tmp to avoid 260-char path length limit
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-03 11:56:03 +01:00
Paulo Castro
dafbdd5f34 Add native installers for Windows and macOS
Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-06-04 13:52:33 +01:00