Matthew Yarmolinsky
edb0fdc3c1
Drop deprecated --logs
flag
...
Resolves : #2499
Change-type: major
Signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
2022-08-01 15:35:13 +00:00
Akis Kesoglou
c7f56d92dd
Switch to balena-compose
...
Removes a bunch of individual dependencies by switching to `@balena/compose` which (currently) groups and manages those dependencies together in one package.
Change-type: minor
2022-07-14 13:05:21 +00:00
Thodoris Greasidis
d2c77760b3
deploy: Support all valid semver versions in balena.yml
...
Resolves : #2337
Change-type: minor
Depends-on: https://github.com/balena-io/open-balena-api/pull/982
Depends-on: https://github.com/balena-io/balena-api/pull/3584
See: https://jel.ly.fish/product-improvement-draft-releases-and-release-versioning-d0391f45-c2f9-4f4e-b964-1a7e9023a3f4
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2022-04-08 18:16:45 +03:00
Pagan Gazzard
bd021c0a2d
Convert lib/utils/compose to typescript
...
Change-type: patch
2022-01-03 15:26:19 +00:00
Paulo Castro
f12f2b79ef
build/deploy/push: Remove deprecated '--convert-eol' option
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
73572df7cf
build/deploy/push: Remove deprecated '--[no]gitignore' option
...
Change-type: major
2021-12-23 15:34:08 +00:00
Paulo Castro
09d004423c
Bump 'balena-lint' and fix 'no-floating-promises' warnings
...
Change-type: patch
2021-11-26 15:59:33 +00:00
Paulo Castro
23b07f8a41
deploy: Ensure the release fails if an image's digest (hash) is missing
...
Change-type: patch
2021-11-16 11:55:07 +00:00
Paulo Castro
8bb211e441
build, deploy: Improve logging of image build messages
...
Change-type: patch
2021-09-23 16:37:45 +00:00
toochevere
ffccbfba12
build, deploy: Add support for multiarch base images
...
Bump version of balena-multibuild to the one that supports multiarch
Remove previous hack to avoid sending platform information to multibuild
Change-type: minor
Signed-off-by: Paul Jonathan <pj@balena.io>
See: https://github.com/balena-io/balena-cli/issues/1508
2021-09-23 16:37:45 +00:00
Paulo Castro
305c9045f0
build, deploy: Fix processing of '--tag' option
...
Change-type: patch
Resolves : #825
Resolves : #1018
2021-09-10 23:11:20 +01:00
Paulo Castro
d6faf060e6
v13 preparations: Add feature switch for removal of '--gitignore' (push, build)
...
Change-type: patch
2021-09-08 18:10:22 +01:00
Paulo Castro
a8ff21af69
build, deploy: Extend CTRL-C coverage on Windows (PowerShell, cmd.exe)
...
Before this commit, `balena build` and `balena deploy` would almost
never respect CTRL-C on Windows (PowerShell, cmd.exe). Now CTRL-C
is respected over a large extent of runtime and, if CTRL-C is hit
while images are being uploaded (`balena deploy`), the release status
is correctly set to 'failed'.
Change-type: patch
2021-08-27 00:53:21 +01:00
Paulo Castro
d0cdc900a2
Add contract contents at release creation time
...
Change-type: patch
2021-08-26 16:11:23 +01:00
toochevere
9937b91606
Documentation update with debugging notes
...
Signed-off-by: Paul Jonathan <pj@balena.io>
2021-08-26 00:34:54 +00:00
toochevere
7d568a928b
Add balena.yml handling and --draft
to balena deploy
release creation
...
This change allows use of a contract and release semver when doing a push,
and is part of the larger feature to use the builder as part of a CI/CD pipeline.
Change-type: minor
Signed-off-by: Paul Jonathan <pj@balena.io>
2021-08-25 17:01:17 +00:00
Paulo Castro
c7bbbc4159
push, build: Improve error handling (identify which service failed)
...
Change-type: patch
2021-08-13 17:11:48 +01:00
Paulo Castro
64a44e7a5f
Rename applications to fleets (stage 1). See: https://git.io/JRuZr
...
- Add fleet(s) commands and -f, --fleet flags as aliases to the app(s)
commands and -a, --app, --application flags.
- Conditionally rename column/row headers and JSON object properties
from 'application' to 'fleet', with some variations.
- Print warning messages regarding the renaming, provided that stderr
is attached to an interactive terminal.
Change-type: minor
Resolves : #2302
2021-08-09 12:12:03 +01:00
Paulo Castro
f914fa2d8a
chore: Remove 'umount' dependency (as advised by "npm audit")
...
Address security advisory https://www.npmjs.com/advisories/1512
Change-type: patch
2021-07-21 23:56:57 +01:00
Paulo Castro
3a871a0003
chore: Update balena-lint
...
Change-type: patch
2021-07-20 18:02:16 +01:00
Pagan Gazzard
f79ccc0c95
Simplify runSpinner api
...
Change-type: patch
2021-07-20 15:46:54 +01:00
Paulo Castro
cfd790a193
Update 'devDependencies' in package.json
...
Change-type: patch
2021-07-09 21:34:09 +01:00
Paulo Castro
2c922ee6d2
Update dependencies (multibuild, dockerode, docker-toolbelt, docker-progress)
...
Update resin-multibuild from 4.7.2 to 4.11.0
Change-type: patch
2021-05-07 00:32:15 +01:00
Paulo Castro
732fc2d539
build: Workaround issue with Docker v20.10 + single-arch base images
...
Change-type: patch
2021-05-06 23:20:06 +01:00
Paulo Castro
535a443d7c
build: Fix "Total: undefined" image pull progress report
...
Change-type: patch
2021-05-03 15:48:16 +01:00
Paulo Castro
37c2880996
push: Fix docker-compose.dev.yml serialization ("should be object,null" error)
...
Change-type: patch
2021-03-20 22:17:20 +00:00
Scott Lowe
f3d750a024
Add support for docker-compose dev overlay in local pushes
...
Change-type: minor
Signed-off-by: Scott Lowe <scott@balena.io>
2021-02-09 13:06:03 +01:00
Marios Balamatsias
8d56fe9678
deploy: Add --release-tag flag
...
Now we can do:
`balena deploy myApp myApp/myImage --release-tag key1 value1`
Refactor and reuse the logic that parses and applies the
release tag options from the push command to the deploy
command.
Resolves : #892
Change-type: minor
Signed-off-by: Marios Balamatsias <mbalamatsias@gmail.com>
2021-01-15 00:46:39 +02:00
Scott Lowe
3edf7a038f
Remove remaining v12 switches
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-12-08 11:00:36 +01:00
Paulo Castro
d6b3249274
Livepush: Refactor dockerignore filtering and add test cases
...
Change-type: patch
2020-11-19 14:24:54 +00:00
Josh Bowling
02a5466746
Livepush: Ignore paths set in .dockerignore files
...
Change-type: minor
Signed-off-by: Josh Bowling <josh@balena.io>
2020-11-19 14:24:44 +00:00
Paulo Castro
3199f15662
build/deploy: Fix --buildArg option with docker-compose.yml projects
...
Resolves : #1053
Change-type: patch
2020-10-21 13:02:47 +01:00
Paulo Castro
2b22fb89f1
Convert more code to Typescript (compose.js)
...
Change-type: patch
2020-10-21 13:02:47 +01:00
Paulo Castro
478b5dd363
Revert styling of "balena CLI" as "balenaCLI"
...
Change-type: patch
2020-10-21 00:07:46 +01:00
Paulo Castro
6133bb2096
push: Fix accidental rename of -e
(emulated) option
...
Accidentally renamed during oclif conversion in CLI v12.9.7.
Change-type: patch
2020-10-01 23:49:14 +00:00
Paulo Castro
b1897a512d
Style "balena CLI" as "balenaCLI" and "balena cloud" as "balenaCloud"
...
Change-type: patch
2020-09-18 23:27:24 +01:00
Pagan Gazzard
497c8cd49b
Lazy load tar-stream
...
Change-type: patch
2020-08-10 12:01:55 +01:00
Thodoris Greasidis
a52a623fdf
Update balena-release to v3
...
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
2020-08-04 15:35:29 +00:00
Pagan Gazzard
ddb87f403d
Fix performance regressions from #1967
...
Change-type: patch
2020-08-03 11:04:36 +01:00
Pagan Gazzard
9aacb7ec56
Remove some bluebird usage
...
Change-type: patch
2020-07-31 10:33:51 +00:00
Scott Lowe
09b8cc495c
Convert command build
to typescript, oclif, and refactor
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-07-30 15:53:55 +02:00
Pagan Gazzard
d4f288394b
Switch from Bluebird.map to native version
...
Change-type: patch
2020-06-30 23:59:11 +01:00
Pagan Gazzard
5e94f3f9c9
Add typing info to requires wherever possible
...
Change-type: patch
2020-06-30 23:21:39 +01:00
Paulo Castro
eaf61d801c
Add --multi-dockerignore (-m) option to push/build/deploy commands
...
Connects-to: #1870
Change-type: minor
2020-06-28 23:55:30 +01:00
Scott Lowe
1308b64c67
Recategorize some errors as expected.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io>
2020-06-26 13:57:39 +02:00
Pagan Gazzard
667358b23e
Import just strip-tags from common-tags to reduce startup time
...
This saves ~100ms for me on startup with no fast-boot cache and ~50ms
with a fast-boot cache
Change-type: patch
2020-06-25 22:56:43 +01:00
Pagan Gazzard
b114697cab
Use native fs promises rather than promisify or mz
...
Change-type: patch
2020-06-24 18:13:48 +01:00
Pagan Gazzard
6dce5c1212
Use import type
where possible to explicitly import only type info
...
Change-type: patch
2020-06-24 13:46:27 +00:00
Paulo Castro
11d1a3f5a0
Add runtime warning for unused .dockerignore files
...
Change-type: patch
2020-06-22 01:14:27 +01:00
Paulo Castro
146de39b83
Add --gitignore (-g) option to push/build/deploy commands for v11 compatibility
...
Change-type: minor
2020-06-17 14:18:23 +01:00