Skip to content

Commit 47b3ed6

Browse files
authored
hotfix/Fix cml runner with no cloud metadata; bump 0.7.6 (#770)
* Fix cml runner with no cloud metadata * Fix snapshot tests * 0.7.6
1 parent 81dcbe7 commit 47b3ed6

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

bin/cml/runner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ exports.builder = (yargs) =>
473473
cloudMetadata: {
474474
type: 'array',
475475
string: true,
476+
default: [],
476477
coerce: (items) => {
477478
const keyValuePairs = items.map((item) => [
478479
...item.split(/=(.+)/),

bin/cml/runner.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Options:
4444
native types like i.e. t2.micro [string]
4545
--cloud-metadata Key Value pairs to associate cml-runner instance
4646
on the provider i.e. tags/labels \\"key=value\\"
47-
[array]
47+
[array] [default: []]
4848
--cloud-gpu GPU type.
4949
[string] [choices: \\"nogpu\\", \\"k80\\", \\"v100\\", \\"tesla\\"]
5050
--cloud-hdd-size HDD size in GB [number]

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dvcorg/cml",
3-
"version": "0.7.5",
3+
"version": "0.7.6",
44
"author": {
55
"name": "DVC",
66
"url": "http://cml.dev"

0 commit comments

Comments
 (0)