Automatically create resultbaseurl for GCS if it doesn't exist. (#3259)
This commit is contained in:
parent
dfced15a4c
commit
e9d28b53ba
|
|
@ -1573,6 +1573,19 @@ module.exports.parseCommandLine = function parseCommandLine() {
|
|||
);
|
||||
}
|
||||
|
||||
if (
|
||||
argv.gcs &&
|
||||
argv.gcs.bucketname &&
|
||||
!argv.resultBaseUrl &&
|
||||
!argv.resultBaseURL
|
||||
) {
|
||||
set(
|
||||
argv,
|
||||
'resultBaseURL',
|
||||
'https://storage.googleapis.com/' + argv.gcs.bucketname
|
||||
);
|
||||
}
|
||||
|
||||
let urlsMetaData = cliUtil.getAliases(argv._, argv.urlAlias, argv.groupAlias);
|
||||
// Copy the alias so it is also used by Browsertime
|
||||
if (argv.urlAlias) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue