mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
Passthru for the YNHDEV_BACKEND variable to allow for incus in package_checker
This commit is contained in:
parent
f5d720ca3a
commit
87d11587bf
1 changed files with 2 additions and 0 deletions
2
run.py
2
run.py
|
@ -516,6 +516,7 @@ async def cleanup_old_package_check_if_lock_exists(worker, job, ignore_error=Fal
|
|||
"ARCH": app.config.ARCH,
|
||||
"DIST": app.config.DIST,
|
||||
"YNH_BRANCH": app.config.YNH_BRANCH,
|
||||
"YNHDEV_BACKEND": os.environ.get("YNHDEV_BACKEND", ""),
|
||||
"PATH": os.environ["PATH"]
|
||||
+ ":/usr/local/bin", # This is because lxc/lxd is in /usr/local/bin
|
||||
}
|
||||
|
@ -601,6 +602,7 @@ async def run_job(worker, job):
|
|||
"ARCH": app.config.ARCH,
|
||||
"DIST": app.config.DIST,
|
||||
"YNH_BRANCH": app.config.YNH_BRANCH,
|
||||
"YNHDEV_BACKEND": os.environ.get("YNHDEV_BACKEND", ""),
|
||||
"PATH": os.environ["PATH"]
|
||||
+ ":/usr/local/bin", # This is because lxc/lxd is in /usr/local/bin
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue