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

WorkingDirectory has outputFiles property but it doesn't actually capture outputFiles #3693

Closed
anna-geller opened this issue May 8, 2024 · 0 comments · Fixed by #3711
Closed
Assignees
Labels
bug Something isn't working quick-win up to 2h
Milestone

Comments

@anna-geller
Copy link
Member

Describe the issue

Reproducer: the dbt task should capture all files from the cloned Git directory as outputFiles property:

image

id: git
namespace: tutorial

tasks:
  - id: dbt
    type: io.kestra.core.tasks.flows.WorkingDirectory
    outputFiles:
      - "**/*"
    tasks:
      - id: clone
        type: io.kestra.plugin.git.Clone
        url: https://github.com/kestra-io/dbt-example
        branch: main

  - id: list
    type: io.kestra.plugin.scripts.shell.Commands
    inputFiles: "{{ outputs.dbt.outputFiles }}"
    commands:
      - ls -R .

The log shows the files were captured:

image

However, it captures nothing in outputs:

image

image

Environment

  • Kestra Version:
  • Operating System (OS/Docker/Kubernetes):
  • Java Version (if you don't run kestra in Docker):
@anna-geller anna-geller added bug Something isn't working quick-win up to 2h labels May 8, 2024
@anna-geller anna-geller added this to the v0.17.0 milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working quick-win up to 2h
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants