Mercurial > code > home > repos > patchablegraph
comparison tasks.py @ 24:1eac25669333
rm some docker browser demo code that i'm not going to port
author | drewp@bigasterisk.com |
---|---|
date | Sat, 23 Apr 2022 23:48:55 -0700 |
parents | 506f6941a38c |
children |
comparison
equal
deleted
inserted
replaced
23:8d6ba6d372c8 | 24:1eac25669333 |
---|---|
5 from release import local_release | 5 from release import local_release |
6 | 6 |
7 @task | 7 @task |
8 def release(ctx): | 8 def release(ctx): |
9 local_release(ctx) | 9 local_release(ctx) |
10 | |
11 @task | |
12 def browser_test_build(ctx): | |
13 ctx.run(f'docker build --network=host -t bang5:5000/patchable_graph_browser_test .') | |
14 | |
15 @task(pre=[browser_test_build]) | |
16 def browser_test(ctx): | |
17 ctx.run(f'docker run ' | |
18 f'--name patchable_graph_browser_test ' | |
19 f'--rm -it ' | |
20 f'--net=host ' | |
21 f'-v `pwd`:/opt ' | |
22 f'bang5:5000/patchable_graph_browser_test ' | |
23 f'/bin/bash', #f'python3 browser_test.py', | |
24 pty=True) |