Skip to content
Snippets Groups Projects
Commit f7315585 authored by dilawar's avatar dilawar :ant:
Browse files

chore: fixes to #3

parent ea4dbcf1
No related branches found
No related tags found
No related merge requests found
Pipeline #3623 failed with stages
in 11 seconds
......@@ -124,7 +124,7 @@ def submit_job(pipeline_zip: Path, server: str):
)
files = {"pipeline_zip": open(str(pipeline_zip), "rb")}
r = session.post(
f"{server}/submit", files=files, data=dict(filename=pipeline_zip), stream=True
f"{server}/api/v1/submit", files=files, data=dict(filename=pipeline_zip), stream=True
)
for line in r.iter_lines():
print(line.decode())
......
No preview for this file type
#!/bin/bash
set -e
poetry run bitia run "ls -ltrh /"
import bitia
import bitia.__main__
import sys
import subprocess
def test_sanity():
assert bitia.version()
def test_run_simple():
bitia.__main__.run_pipeline("ls -ltr /")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment