Mercurial > code > home > repos > patchablegraph
comparison tasks.py @ 5:506f6941a38c
fix registry hostname
author | drewp@bigasterisk.com |
---|---|
date | Wed, 24 Nov 2021 19:48:07 -0800 |
parents | c3f0a692c4cb |
children | 1eac25669333 |
comparison
equal
deleted
inserted
replaced
4:dc4f852d0d70 | 5:506f6941a38c |
---|---|
8 def release(ctx): | 8 def release(ctx): |
9 local_release(ctx) | 9 local_release(ctx) |
10 | 10 |
11 @task | 11 @task |
12 def browser_test_build(ctx): | 12 def browser_test_build(ctx): |
13 ctx.run(f'docker build --network=host -t bang:5000/patchable_graph_browser_test .') | 13 ctx.run(f'docker build --network=host -t bang5:5000/patchable_graph_browser_test .') |
14 | 14 |
15 @task(pre=[browser_test_build]) | 15 @task(pre=[browser_test_build]) |
16 def browser_test(ctx): | 16 def browser_test(ctx): |
17 ctx.run(f'docker run ' | 17 ctx.run(f'docker run ' |
18 f'--name patchable_graph_browser_test ' | 18 f'--name patchable_graph_browser_test ' |
19 f'--rm -it ' | 19 f'--rm -it ' |
20 f'--net=host ' | 20 f'--net=host ' |
21 f'-v `pwd`:/opt ' | 21 f'-v `pwd`:/opt ' |
22 f'bang:5000/patchable_graph_browser_test ' | 22 f'bang5:5000/patchable_graph_browser_test ' |
23 f'/bin/bash', #f'python3 browser_test.py', | 23 f'/bin/bash', #f'python3 browser_test.py', |
24 pty=True) | 24 pty=True) |