mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-11 12:11:32 +00:00
Show a clear message immediately as the deploy starts, if we're deploying an image.
Change-Type: patch
This commit is contained in:
parent
5a28d4c92f
commit
c8d51d92e7
@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- `package-lock.json` for `npm5` users
|
- `package-lock.json` for `npm5` users
|
||||||
- Added ability to run an emulated build silently with `resin build`
|
- Added ability to run an emulated build silently with `resin build`
|
||||||
- Gzip images when uploading in `resin deploy`
|
- Gzip images when uploading in `resin deploy`
|
||||||
|
- Show a clear message immediately as the deploy starts, if we're deploying an image.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
@ -226,6 +226,7 @@ module.exports = {
|
|||||||
}).then(function(arg1) {
|
}).then(function(arg1) {
|
||||||
var buildLogs, imageName;
|
var buildLogs, imageName;
|
||||||
imageName = arg1.image, buildLogs = arg1.log;
|
imageName = arg1.image, buildLogs = arg1.log;
|
||||||
|
logging.logInfo(logStreams, 'Initializing deploy...');
|
||||||
logs = buildLogs;
|
logs = buildLogs;
|
||||||
return Promise.all([dockerUtils.bufferImage(docker, imageName, bufferFile), token, username, url, params.appName, logStreams]).spread(performUpload);
|
return Promise.all([dockerUtils.bufferImage(docker, imageName, bufferFile), token, username, url, params.appName, logStreams]).spread(performUpload);
|
||||||
})["finally"](function() {
|
})["finally"](function() {
|
||||||
|
@ -192,6 +192,8 @@ module.exports =
|
|||||||
else
|
else
|
||||||
{ image: imageName, log: '' }
|
{ image: imageName, log: '' }
|
||||||
.then ({ image: imageName, log: buildLogs }) ->
|
.then ({ image: imageName, log: buildLogs }) ->
|
||||||
|
logging.logInfo(logStreams, 'Initializing deploy...')
|
||||||
|
|
||||||
logs = buildLogs
|
logs = buildLogs
|
||||||
Promise.all [
|
Promise.all [
|
||||||
dockerUtils.bufferImage(docker, imageName, bufferFile)
|
dockerUtils.bufferImage(docker, imageName, bufferFile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user