question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

public access to a dvc-cml project?

See original GitHub issue

@dmpetrov and I have been talking about how we’ll build tutorials for dvc-cml. One idea, which I’ve been building in a repo, is a project where anyone can make a fork and then submit a PR to see the workflow in action.

However, I’ve found this note on the Settings/Secrets page:

Secrets are not passed to workflows that are triggered by a pull request from a fork. Learn more.

If I understand correctly, this means that if someone in the public/outside DVC cloned our repo and attempted to make a PR, dvc repro might be triggered BUT the runner would not be able to access credentials, such as the Google Drive credentials needed to push/pull project artifacts. Does this sound correct?

If it’s an issue, seems like we could simply put the credentials in a config file in the repo- I think, with GDrive, this is often alright?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
shchekleincommented, Apr 3, 2020

will we have to worry about secrets not being passed to workflows “triggered by a pull request from a fork”?

yes, we won’t have to worry as far as I remember … i would ask @efiop and @DavidGOrtega to double check.

2reactions
shchekleincommented, Apr 3, 2020

It’s absolutely possible and safe to give public access to push branches I suppose in this case.

put the credentials in a config file in the repo- I think, with GDrive, this is often alright?

you mean JSON file? it means that people will have read/write access to that Drive. It’s probably fine if we create some demo account. But it’s not safe in general case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CML with DVC
In many ML projects, data isn't stored in a Git repository and needs to be downloaded from external sources. DVC is a common...
Read more >
Studio | Data Version Control - DVC
Open -source version control system for Data Science and Machine Learning projects. Git-like experience to organize your data, models, and experiments.
Read more >
Pioneer of Instructor-Led Hybrid Machine ... - Business Wire
With FourthBrain, students get access to popular, world-class curriculum including hands-on ML projects sponsored by leading employers guided by ...
Read more >
Continuous Machine Learning on Huggingface Transformer ...
One AWS IAM user with EC2 & S3 Developer Access. - S3 Bucket to store the Dataset ... fig: VisualStudioCode Screen of A...
Read more >
Open Source MLOps in 4 Weeks - O'Reilly Live Events
Identify steps to launch new machine learning projects ... Along the way, you'll dip into a toolbox that includes Git, DVC, CML, Docker,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found