Skip to content

Commit

Permalink
dispatcher: passthrough environment variables
Browse files Browse the repository at this point in the history
Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Jan 16, 2025
1 parent df879eb commit 529f1fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions teuthology/dispatcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def main(args):
run_args,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
env=os.environ,
)
job_procs.add(job_proc)
log.info('Job supervisor PID: %s', job_proc.pid)
Expand Down
1 change: 1 addition & 0 deletions teuthology/dispatcher/supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def run_job(job_config, teuth_bin_path, archive_dir, verbose):
args=arg,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
env=os.environ,
)
log.info("Job archive: %s", job_config['archive_path'])
log.info("Job PID: %s", str(p.pid))
Expand Down

0 comments on commit 529f1fd

Please sign in to comment.