Skip to content

Commit

Permalink
Drop GALAXY_VIRTUAL_ENV env hack
Browse files Browse the repository at this point in the history
GALAXY_VIRTUAL_ENV is injected through job_wrapper.galaxy_virtual_env,
which does `os.environ.get(VIRTUAL_ENV, None)`, so this didn't work.
The previous commit addresses that.
  • Loading branch information
mvdbeek committed Feb 19, 2019
1 parent 32cad59 commit b931576
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/galaxy/jobs/runners/kubernetes.py
Expand Up @@ -263,14 +263,6 @@ def __get_k8s_containers(self, ajs):
k8s_container = {
"name": self.__get_k8s_container_name(ajs.job_wrapper),
"image": self._find_container(ajs.job_wrapper).container_id,
"env": [{
"name": "GALAXY_VIRTUAL_ENV",
"value": "None"
}, {
"name": "GALAXY_LIB",
"value": "None"
}
],
# this form of command overrides the entrypoint and allows multi command
# command line execution, separated by ;, which is what Galaxy does
# to assemble the command.
Expand Down

0 comments on commit b931576

Please sign in to comment.