aboutsummaryrefslogtreecommitdiff
path: root/scenarios/garage-warp
diff options
context:
space:
mode:
Diffstat (limited to 'scenarios/garage-warp')
-rwxr-xr-xscenarios/garage-warp14
1 files changed, 7 insertions, 7 deletions
diff --git a/scenarios/garage-warp b/scenarios/garage-warp
index 3d80c79..5d338c0 100755
--- a/scenarios/garage-warp
+++ b/scenarios/garage-warp
@@ -1,16 +1,16 @@
#!/usr/bin/env python3
-from fragments import garage, warp, shared
+from fragments import garage, warp, shared, flavor
import sys
-for flavor in sys.argv[1:]:
- if flavor in garage.version_flavor:
- garage.version = garage.version_flavor[flavor]
- if flavor in warp.bench_flavor:
- warp.bench = warp.bench_flavor[flavor]
+for fl in sys.argv[1:]:
+ if fl in flavor.garage:
+ garage.version = flavor.garage[fl]
+ if fl in flavor.warp:
+ warp.bench = flavor.warp[fl]
if shared.id() == 1:
garage.deploy_coord(version=garage.version)
- warp.on_garage(params=warp_bench)
+ warp.on_garage(params=warp.bench)
garage.delete_key()
garage.destroy()
else: