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

Split docker_cmd #19604

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

bernt-matthias
Copy link
Contributor

for podman IT setups it seems necessary to set an environment variable (HOME) for the podman call in the job script (we overwrite HOME for the job).

Without this change the Popen call would fail with no such file or directory: HOME="..."

We could use shlex.split(..., posix=False) if we want (with posix=True the quotes around the env value are removed).

Also fixes the example podman_cmd in the example job config. Since it was wrong so far, @sveinugu wanted to double check if it is necessary in his setup.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

bernt-matthias and others added 2 commits February 13, 2025 10:11
for podman IT setups [it seems necessary](https://github.com/galaxyproject/galaxy/blob/a81c573f037b9389ff928864b30cfe46b2232727/config/job_conf.yml.interactivetools.podman#L32)
to set an environment variable (`HOME`) for the podman call in the job
script (we overwrite `HOME` for the job).

Without this change the Popen call would fail with
`no such file or directory: HOME="..."`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant