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
Given the following yaml;
name: test script env scripts: direct-env: - sh: echo ${{ENV.SCRIPT_DIR}} script-env: - script: echo-env script-env-async: - script: name: echo-env async: true hosts: local-host : LOCAL roles: test-cgroups: hosts: - local-host run-scripts: - direct-env - script-env - script-env-async
with the echo-env script in another yaml, i.e. core-scripts/env-script.yaml;
echo-env
core-scripts/env-script.yaml
name: echo env scripts: echo-env: - sh: echo ${{ENV.SCRIPT_DIR}}
${{ENV.SCRIPT_DIR}} resolution is different depending on how the echo-env script is called
${{ENV.SCRIPT_DIR}}
12:17:42.793 [qdup-command-8] INFO qdup._tmp_20230329_121741 - script-env:49@LOCAL:echo-env 12:17:43.200 [qdup-scheduled-1] INFO qdup._tmp_20230329_121741 - direct-env:51@LOCAL:echo /tmp/qdup-env-scripts/. /tmp/qdup-env-scripts/. 12:17:43.203 [qdup-scheduled-2] INFO qdup._tmp_20230329_121741 - script-env:49@LOCAL:echo /tmp/qdup-env-scripts/core-script /tmp/qdup-env-scripts/core-script 12:17:43.882 [qdup-command-11] INFO qdup._tmp_20230329_121741 - script-env-async:47@LOCAL:script-cmd: echo-env 12:17:43.883 [qdup-command-4] INFO qdup._tmp_20230329_121741 - echo-env:65@LOCAL:echo-env 12:17:44.292 [qdup-scheduled-9] INFO qdup._tmp_20230329_121741 - echo-env:65@LOCAL:echo /tmp/qdup-env-scripts/. /tmp/qdup-env-scripts/.
This behaviour can break scripts in sub-dirs depending on if the calling script runs the script with async: true
async: true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given the following yaml;
with the
echo-env
script in another yaml, i.e.core-scripts/env-script.yaml
;${{ENV.SCRIPT_DIR}}
resolution is different depending on how theecho-env
script is calledThis behaviour can break scripts in sub-dirs depending on if the calling script runs the script with
async: true
The text was updated successfully, but these errors were encountered: