Mercurial > code > home > repos > homeauto
annotate lib/patchablegraph/tasks.py @ 1561:fc45f01f66c2 dependabot/pip/service/colplay/twisted-19.7.0
Bump twisted from 16.0.0 to 19.7.0 in /service/colplay
Bumps [twisted](https://github.com/twisted/twisted) from 16.0.0 to 19.7.0.
- [Release notes](https://github.com/twisted/twisted/releases)
- [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst)
- [Commits](https://github.com/twisted/twisted/compare/twisted-16.0.0...twisted-19.7.0)
Signed-off-by: dependabot[bot] <support@github.com>
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
---|---|
date | Fri, 14 Feb 2020 10:01:19 +0000 |
parents | c829df2b0dd5 |
children |
rev | line source |
---|---|
1317 | 1 from invoke import task |
2 | |
3 import sys | |
4 sys.path.append('/my/proj/release') | |
5 from release import local_release | |
6 | |
7 @task | |
8 def release(ctx): | |
9 local_release(ctx) | |
1511
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
10 |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
11 @task |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
12 def browser_test_build(ctx): |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
13 ctx.run(f'docker build --network=host -t bang:5000/patchable_graph_browser_test .') |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
14 |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
15 @task(pre=[browser_test_build]) |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
16 def browser_test(ctx): |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
17 ctx.run(f'docker run ' |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
18 f'--name patchable_graph_browser_test ' |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
19 f'--rm -it ' |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
20 f'--net=host ' |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
21 f'-v `pwd`:/opt ' |
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
22 f'bang:5000/patchable_graph_browser_test ' |
1513
c829df2b0dd5
new graph output for browsers, with autorefresh
drewp <drewp@bigasterisk.com>
parents:
1511
diff
changeset
|
23 f'/bin/bash', #f'python3 browser_test.py', |
1511
9733063421e1
add browser_test server for playing with /graph resource
drewp <drewp@bigasterisk.com>
parents:
1317
diff
changeset
|
24 pty=True) |