mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Show progress for URL installation. Temporarily break upload installation.
This commit is contained in:
parent
1d2afa65b4
commit
44378e625f
9 changed files with 288 additions and 88 deletions
16
lib/cli.js
16
lib/cli.js
|
@ -431,11 +431,26 @@ program
|
|||
, 'where to save files'
|
||||
, String
|
||||
, os.tmpdir())
|
||||
.option('--id <id>'
|
||||
, 'communication identifier'
|
||||
, String
|
||||
, 'storage')
|
||||
.option('--connect-push <endpoint>'
|
||||
, 'push endpoint'
|
||||
, cliutil.list)
|
||||
.action(function(options) {
|
||||
if (!options.connectPush) {
|
||||
this.missingArgument('--connect-push')
|
||||
}
|
||||
|
||||
require('./roles/storage/temp')({
|
||||
port: options.port
|
||||
, publicIp: options.publicIp
|
||||
, saveDir: options.saveDir
|
||||
, id: options.id
|
||||
, endpoints: {
|
||||
push: options.connectPush
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
@ -591,6 +606,7 @@ program
|
|||
, procutil.fork(__filename, [
|
||||
'storage-temp'
|
||||
, '--port', options.storagePort
|
||||
, '--connect-push', options.bindDevPull
|
||||
])
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue