Skip to content

Commit

Permalink
hotfix/Fix cml runner with no cloud metadata; bump 0.7.6 (#770)
Browse files Browse the repository at this point in the history
* Fix cml runner with no cloud metadata

* Fix snapshot tests

* 0.7.6
  • Loading branch information
0x2b3bfa0 authored Oct 16, 2021
1 parent 81dcbe7 commit 47b3ed6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions bin/cml/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ exports.builder = (yargs) =>
cloudMetadata: {
type: 'array',
string: true,
default: [],
coerce: (items) => {
const keyValuePairs = items.map((item) => [
...item.split(/=(.+)/),
Expand Down
2 changes: 1 addition & 1 deletion bin/cml/runner.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Options:
native types like i.e. t2.micro [string]
--cloud-metadata Key Value pairs to associate cml-runner instance
on the provider i.e. tags/labels \\"key=value\\"
[array]
[array] [default: []]
--cloud-gpu GPU type.
[string] [choices: \\"nogpu\\", \\"k80\\", \\"v100\\", \\"tesla\\"]
--cloud-hdd-size HDD size in GB [number]
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dvcorg/cml",
"version": "0.7.5",
"version": "0.7.6",
"author": {
"name": "DVC",
"url": "http://cml.dev"
Expand Down

4 comments on commit 47b3ed6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.