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
Paulo Castro
c619bd4b99
Update 'balena-lint' and apply new prettier rules
...
Change-type: patch
2020-06-15 23:53:07 +01:00
Paulo Castro
2ab8ae1c10
v12 preparations: Add feature switch for project directory validation
...
Connects-to: #1770
Change-type: patch
2020-05-29 22:03:55 +01:00
Paulo Castro
ba0024645d
balena deploy: Fix "access denied" pushing images to registry
...
Change-type: patch
2020-05-25 17:10:17 +01:00
Paulo Castro
8522363cd3
Convert selected functions to Typescript and async/await (compose.js)
...
Connects-to: #1045
Change-type: patch
2020-05-22 00:24:46 +01:00
Cameron Diver
77f3fa4b6c
Fix caching by preserving all file stats when pushing to device or cloud
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 12:01:34 +01:00
Paulo Castro
4577d72ead
push/build/deploy: add --nogitignore option and update dockerignore filter library
...
Connects-to: #1032
Connects-to: #1148
Change-type: minor
2020-05-13 22:33:37 +01:00
Cameron Diver
4e50d08f7b
Fix usage of livepush v3 features
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-12 09:24:05 +01:00