blob: 0c5acc8b3fef0354f79ee663f7c00245dbca4f90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import os
from os.path import exists
from pathlib import Path
from fragments import shared, garage, flavor
warp_bin = Path(os.path.dirname(__file__)) / "../../benchmarks/warp/warp"
bench = flavor.warp["warp-fast"]
def on_garage(params="mixed"):
shared.log(f"launching warp {warp_bin}")
shared.exec(f"{warp_bin} {params} --host={os.environ['IP']}:3900 --access-key={garage.key.access_key_id} --secret-key={garage.key.secret_access_key}")
shared.log(f"execution done")
|