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

Fix demorunner docker #194

Merged
merged 2 commits into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ipol_demo/modules/core/core/router.py
Original file line number Diff line number Diff line change
@@ -241,7 +241,7 @@ async def run(
return {"error": str(ex), "status": "KO"}
except IPOLFindSuitableDR as ex:
try:
if core.get_demo_metadata(demo_id).json()["state"].lower() == "published":
if core.get_demo_metadata(demo_id)["state"].lower() == "published":
core.send_email_no_demorunner(demo_id)
except BrokenPipeError:
pass
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ After=network.target

[Service]
ExecStart=/home/ipol/ipolDevel/ipol_demo/modules/demorunner-docker/bin/ipol-demorunner
ExecStartPre=-/home/ipol/.cargo/bin/cargo install --git https://github.com/ipol-journal/ipol-demorunner.git --rev 1cf7e851590cda71ae9b9f12dd02d477baffaee6 --root . --target-dir target --debug --force --locked
ExecStartPre=-/home/ipol/.cargo/bin/cargo install --git https://github.com/ipol-journal/ipol-demorunner.git --rev 6fa8ce059c30a4c2eef485050f1c4394ab1cef1d --root . --target-dir target --debug --force --locked
TimeoutStartSec=300
WorkingDirectory=/home/ipol/ipolDevel/ipol_demo/modules/demorunner-docker/
Environment=ROCKET_PROFILE=ipol-integration
2 changes: 1 addition & 1 deletion sysadmin/systemd/limule/ipol-demorunner-docker-gpu.service
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ After=network.target

[Service]
ExecStart=/home/ipol/ipolDevel/ipol_demo/modules/demorunner-docker/bin/ipol-demorunner
ExecStartPre=-/home/ipol/.cargo/bin/cargo install --git https://github.com/ipol-journal/ipol-demorunner.git --rev 1cf7e851590cda71ae9b9f12dd02d477baffaee6 --root . --target-dir target --debug --force --locked
ExecStartPre=-/home/ipol/.cargo/bin/cargo install --git https://github.com/ipol-journal/ipol-demorunner.git --rev 6fa8ce059c30a4c2eef485050f1c4394ab1cef1d --root . --target-dir target --debug --force --locked
TimeoutStartSec=300
WorkingDirectory=/home/ipol/ipolDevel/ipol_demo/modules/demorunner-docker/
Environment=ROCKET_PROFILE=ipol-limule-gpu
2 changes: 1 addition & 1 deletion sysadmin/systemd/limule/ipol-demorunner-docker.service
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ After=network.target

[Service]
ExecStart=/home/ipol/ipolDevel/ipol_demo/modules/demorunner-docker/bin/ipol-demorunner
ExecStartPre=-/home/ipol/.cargo/bin/cargo install --git https://github.com/ipol-journal/ipol-demorunner.git --rev 1cf7e851590cda71ae9b9f12dd02d477baffaee6 --root . --target-dir target --debug --force --locked
ExecStartPre=-/home/ipol/.cargo/bin/cargo install --git https://github.com/ipol-journal/ipol-demorunner.git --rev 6fa8ce059c30a4c2eef485050f1c4394ab1cef1d --root . --target-dir target --debug --force --locked
TimeoutStartSec=300
WorkingDirectory=/home/ipol/ipolDevel/ipol_demo/modules/demorunner-docker/
Environment=ROCKET_PROFILE=ipol-limule