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

Unable to suppress dvc pull #49

Closed
dmpetrov opened this issue Apr 13, 2020 · 1 comment · Fixed by #53
Closed

Unable to suppress dvc pull #49

dmpetrov opened this issue Apr 13, 2020 · 1 comment · Fixed by #53
Assignees

Comments

@dmpetrov
Copy link
Member

I've tried DVC_PULL: false and DVC_PULL: "". In any of the cases, it tries to pull data. What should I put?

      - name: dvc_action_run
        env:
          ....
          DVC_PULL: ""
@DavidGOrtega
Copy link
Contributor

DavidGOrtega commented Apr 13, 2020

It's not exposed. It's ready to be used but it's not reading the value from the variables. I was asking indeed if this was deprecated.

SHould be dvc_pull

const {
    baseline = BASELINE,
    metrics_format = METRICS_FORMAT,
    tag_prefix = DVC_TAG_PREFIX,
    dvc_pull = DVC_PULL
  } = process.env;

then

const setup_remote = async opts => {
--
17 | const { dvc_pull = true } = opts;
18 |  
19 | if (!dvc_pull) {
20 | console.log('Skipping dvc_pull');
21 | return;
22 | 

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

Successfully merging a pull request may close this issue.

2 participants