Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

DKTL_MODE and DKTL_PROJECT_DIRECTORY broken #336

Open
paul-m opened this issue Jun 13, 2022 · 1 comment
Open

DKTL_MODE and DKTL_PROJECT_DIRECTORY broken #336

paul-m opened this issue Jun 13, 2022 · 1 comment
Labels

Comments

@paul-m
Copy link
Contributor

paul-m commented Jun 13, 2022

Describe the bug

In support of WCMS-9796, I tried to get dktl to run under ddev.

This was unsuccessful, until I discovered I could use DKTL_MODE=HOST to force dktl to not manage the Docker containers.

However, this also did not work, because the dktl shell script ignores DKTL_PROJECT_DIRECTORY in a few important places.

Steps To Reproduce

Expected behavior

** Proposed Resolution **

Generally improve dktl so that it can run under vendor/bin/ in a project, and so that it can switch to DKTL_MODE=HOST while honoring DKTL_PROJECT_DIRECTORY.

@paul-m paul-m added the DevOps label Jun 13, 2022
@paul-m
Copy link
Contributor Author

paul-m commented Jun 13, 2022

PR: #337

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant