Feature Request: Private Links for `cml publish`
See original GitHub issueI’m still learning cml
, I noticed when I run:
cml publish dvc_plots/index.html
It creates a url at https://asset.cml.dev/
with a token. I’m using a private repo, so it was a little alarming to see that my data is being uploaded to a publicly available site, previously I thought it must be using some gitlab/github internals to upload the image to the mr/pr that I didn’t yet understand.
In my case I’m using gcs
as a dvc
remote, so I think my workaround will be to instead upload the results to gcs
then only people logged into a google account with access to the gcp
project will have access.
It would be great if it was made clearer in the documentation that cml
publish is uploading to cml.dev
and if my use case with a private dvc remote
is pretty typical it would be nice to provide a flag to cml publish
that let’s me instead upload to my private infrastructure.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
if you are using GitLab there is a
--native
flag you can use, additionally there is a--url
component to do exactly that. It is lacking some documentation as we haven’t really put together a guide for its setup.example
Here is an internal test using this feature which you can use/snoop around with:
https://github.com/iterative/cml/blob/e87a23b11e12d72a0a8c7488348db930b4dcc121/bin/cml/publish.js#L35-L39
Related to https://github.com/iterative/cml.dev/issues/266