Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caliban cloud: providing project ID through CLI fails #51

Closed
arokem opened this issue Jul 23, 2020 · 1 comment
Closed

caliban cloud: providing project ID through CLI fails #51

arokem opened this issue Jul 23, 2020 · 1 comment

Comments

@arokem
Copy link

arokem commented Jul 23, 2020

I am seeing:

$caliban cloud --nogpu mnist.py -- --project_id landscape-238422


No project_id found. 'caliban cloud' requires that you either set a 
$PROJECT_ID environment variable with the ID of your Cloud project, or pass one 
explicitly via --project_id. Try again, please!

Setting the environment variable does seem to work.

@arokem arokem changed the title caliban cloud: providing project ID through CLI fails: caliban cloud: providing project ID through CLI fails Jul 23, 2020
@sritchie
Copy link
Collaborator

Ah, yes, @arokem that is a subtlety with the argument parsing. Anything that comes after -- is assumed to be an arg you want to pass directly into the container, to your script.

If you did this instead:

caliban cloud --nogpu --project_id landscape-238422 mnist.py

you should see it work out.

I'll be releasing an update today that removes the need for a service account key, which should make it slightly easier to get started.

let me know if this helps! Glad you got unblocked with the env variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants