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

dbt.cli.Deps - not working anymore #170

Closed
theompm opened this issue Feb 10, 2025 · 1 comment
Closed

dbt.cli.Deps - not working anymore #170

theompm opened this issue Feb 10, 2025 · 1 comment
Assignees
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working

Comments

@theompm
Copy link

theompm commented Feb 10, 2025

Describe the issue

when runnning:

tasks:
  - id: working_dir
    type: io.kestra.plugin.core.flow.WorkingDirectory
    tasks:
      - id: clone_repository_terminology
        type: io.kestra.plugin.git.Clone
        url: some.repo.git
        branch: "{{ inputs.branch }}"
        username: "{{ kv('gitlab_user') }}"
        password: "{{ kv('gitlab_api_key')}}"

      - id: dbt_deps_terminology
        type: io.kestra.plugin.dbt.cli.Deps
        projectDir: "/terminology"

git clone works fine, but deps gets an error.

ERROR:

2025-02-10 11:20:07.468java.lang.UnsupportedOperationException
	at java.base/java.util.AbstractMap.put(Unknown Source)
	at java.base/java.util.AbstractMap.putAll(Unknown Source)
	at io.kestra.plugin.scripts.exec.scripts.runners.CommandsWrapper.addEnv(CommandsWrapper.java:129)
	at io.kestra.plugin.dbt.cli.AbstractDbt.run(AbstractDbt.java:183)
	at io.kestra.plugin.dbt.cli.AbstractDbt.run(AbstractDbt.java:33)
	at io.kestra.core.runners.WorkerTaskCallable.doCall(WorkerTaskCallable.java:78)
	at io.kestra.core.runners.AbstractWorkerCallable.call(AbstractWorkerCallable.java:62)
	at io.kestra.core.runners.WorkerSecurityService.callInSecurityContext(WorkerSecurityService.java:10)
	at io.kestra.core.runners.Worker.lambda$callJob$19(Worker.java:837)
	at io.kestra.core.trace.NoopTracer.inCurrentContext(NoopTracer.java:15)
	at io.kestra.core.runners.Worker.callJob(Worker.java:833)
	at io.kestra.core.runners.Worker.runAttempt(Worker.java:792)
	at io.kestra.core.runners.Worker.run(Worker.java:640)
	at io.kestra.core.runners.Worker.handleTask(Worker.java:372)
	at io.kestra.core.runners.Worker.lambda$run$8(Worker.java:261)
	at io.micrometer.core.instrument.internal.TimedRunnable.run(TimedRunnable.java:49)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Kestra Version: 0.21.1

Environment

  • Kestra Version: 0.21.1
  • Docker Version: 26.1.3
  • OS Ubuntu Server Version: 22.04.5 LTS
@theompm theompm added area/plugin Plugin-related issue or feature request bug Something isn't working labels Feb 10, 2025
@kestrabot kestrabot bot added this to Issues Feb 10, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Issues Feb 10, 2025
@mgabelle
Copy link
Contributor

#172
Backported in plugin-dbt 0.21.1

@github-project-automation github-project-automation bot moved this from Backlog to Done in Issues Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants