We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With this directory structure
root/ ├── myke.yml (A) ├── myke.env.local (C) └── sub/ └── myke.yml (B)
(A) being :
project: root discover: - sub
(B) being :
project: sub tasks: deploy: cmd: echo "deploy with {{.OPTIONAL_ARGS}}"
(C) being :
OPTIONAL_ARGS="myOptionalArgs"
Current behaviour
cd root && myke deploy will return "deploy with ".
cd root && myke deploy
"deploy with "
root/myke.env.local will be ignored for tasks that are discovered in subs
root/myke.env.local
Behaviour I expect cd root && myke deploy to return "deploy with myOptionalArgs".
"deploy with myOptionalArgs"
Current workarounds If we want myke to pick up the extra args, we have to do one of the following :
myke
OPTIONAL_ARGS="myOptionalArgs" myke deploy
export
source
sub/task
root/myke.yml
sub/
root/ ├── myke.yml (A) ├── myke.env.local (C) └── sub/ ├── myke.yml (B) └── myke.env.local (D)
I believe values in (C) should override values in (D), when conflicting. Means export values in (D) first, then values in (C).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example
With this directory structure
(A) being :
(B) being :
(C) being :
Current behaviour
cd root && myke deploy
will return"deploy with "
.root/myke.env.local
will be ignored for tasks that are discovered in subsBehaviour I expect
cd root && myke deploy
to return"deploy with myOptionalArgs"
.Current workarounds
If we want
myke
to pick up the extra args, we have to do one of the following :OPTIONAL_ARGS="myOptionalArgs" myke deploy
which is slightly verbose. Orexport
orsource
to inject it in the env ourselves.sub/task
with a task inroot/myke.yml
which kind of makes discovery useless.root/myke.env.local
tosub/
. But in real life we have many of those.Other cases
Additional myke.env.local in sub
I believe values in (C) should override values in (D), when conflicting. Means export values in (D) first, then values in (C).
The text was updated successfully, but these errors were encountered: