cli, gapi: Add more information that deploy is running
There can be a non-obvious pause, so give some hint here...
This commit is contained in:
@@ -260,6 +260,7 @@ func (obj *DeployArgs) Run(ctx context.Context, data *cliUtil.Data) (bool, error
|
|||||||
return false, errwrap.Wrapf(err, "encoding error")
|
return false, errwrap.Wrapf(err, "encoding error")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Logf("pushing...")
|
||||||
// this nominally checks the previous git hash matches our expectation
|
// this nominally checks the previous git hash matches our expectation
|
||||||
if err := simpleDeploy.AddDeploy(ctx, id, hash, pHash, &str); err != nil {
|
if err := simpleDeploy.AddDeploy(ctx, id, hash, pHash, &str); err != nil {
|
||||||
return false, errwrap.Wrapf(err, "could not create deploy id `%d`", id)
|
return false, errwrap.Wrapf(err, "could not create deploy id `%d`", id)
|
||||||
|
|||||||
@@ -329,6 +329,7 @@ func (obj *GAPI) Cli(info *gapi.Info) (*gapi.Deploy, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// get the list of needed files (this is available after SetScope)
|
// get the list of needed files (this is available after SetScope)
|
||||||
|
logf("collecting files...")
|
||||||
fileList, err := ast.CollectFiles(iast)
|
fileList, err := ast.CollectFiles(iast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errwrap.Wrapf(err, "could not collect files")
|
return nil, errwrap.Wrapf(err, "could not collect files")
|
||||||
|
|||||||
Reference in New Issue
Block a user