Skip to content

Freezing stages with parameter substitution #6070

Open
@plomtb

Description

@plomtb

Hi,
I'm opening this issue as discussed here. Using

# dvc.yaml
vars:
  - folder: .

stages:
  Test:
    cmd: dir ${folder}
    always_changed: true

as dvc.yaml and running
dvc freeze Test gives the following error:
ERROR: failed to freeze 'Test' - cannot dump a parametrized stage: 'Test'. I don't really understand why this is different from normal stages. Another question: Would it be possible to declare a (custom) stage an import stage, so that dvc update Test works, without freezing/unfreezing?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: templatingRelated to the templating featurefeature requestRequesting a new featurep2-mediumMedium priority, should be done, but less important

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions