-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Docs and tests for environment variable setting in containerized execution #16666
base: dev
Are you sure you want to change the base?
Changes from all commits
98c914e
2a98cd8
c202e88
085cd95
c94ba78
e76272d
3aa77e2
b8a152d
51e7291
0cac78a
1a98c81
43a07d6
7c68315
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,8 @@ echo \$(pwd) > '$pwd' && | |
echo "\$HOME" > '$home' && | ||
echo "\$TMP" > '$tmp' && | ||
echo "\$SOME_ENV_VAR" > '$some_env_var' && | ||
echo "\${JOBCONF_ENV_VAR:-UNSET}" > '$jobconf_env_var' && | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you remove the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we leave this: It just tests the documented behavior (as per this PR :) ) and you gave good reasons for not changing it. If at one time we allow certain env variables to be passed to the container, e.g. via |
||
echo "\${CONTAINER_ENV_VAR:-UNSET}" > '$container_env_var' && | ||
touch "\$_GALAXY_JOB_TMP_DIR/tmp_test" && | ||
touch "\$HOME/home_test" && | ||
|
||
|
@@ -28,6 +30,8 @@ touch "\${TMPDIR:-/tmp}/job_tmpdir" | |
<data name="home" format="txt" label="home" /> | ||
<data name="tmp" format="txt" label="tmp" /> | ||
<data name="some_env_var" format="txt" label="env_var" /> | ||
<data name="jobconf_env_var" format="txt" label="jobconf_env_var" /> | ||
<data name="container_env_var" format="txt" label="container_env_var" /> | ||
</outputs> | ||
<tests> | ||
</tests> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe if you mention this is a known bug - it would help alleviate @mvdbeek's concerns below somewhat?