kestra-io / plugin-dataform

Kestra plugin to interact with Dataform
Apache License 2.0
0 stars 2 forks source link

Dataform encountered an error: Could not find a recent installed version of @dataform/core in the project. Ensure packages are installed and upgrade to a recent version. #3

Open anna-geller opened 10 months ago

anna-geller commented 10 months ago

Feature description

Reproducer:

id: dataform_plugin
namespace: qa

tasks:
  - id: wdir
    type: io.kestra.core.tasks.flows.WorkingDirectory
    tasks:
      - id: clone_repo
        type: io.kestra.plugin.git.Clone
        url: https://github.com/dataform-co/dataform-example-project-bigquery                

      - id: transform
        type: io.kestra.plugin.dataform.cli.DataformCLI
        beforeCommands:
          - dataform compile
        commands:
          - dataform run --dry-run

We need to find a proper way to install dataform core.

image

anna-geller commented 10 months ago

there's no need to cd into the project directory, the git clone task already does it

the problem here are only dataform core dependencies

image