view lib/patchablegraph/tasks.py @ 1573:d68e20c831f7 dependabot/pip/service/wifi/lxml-4.6.2

Bump lxml from 4.3.3 to 4.6.2 in /service/wifi Bumps [lxml](https://github.com/lxml/lxml) from 4.3.3 to 4.6.2. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.3.3...lxml-4.6.2) Signed-off-by: dependabot[bot] <support@github.com>
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
date Thu, 07 Jan 2021 22:55:33 +0000
parents c829df2b0dd5
children
line wrap: on
line source

from invoke import task

import sys
sys.path.append('/my/proj/release')
from release import local_release

@task
def release(ctx):
    local_release(ctx)

@task
def browser_test_build(ctx):
    ctx.run(f'docker build --network=host  -t bang:5000/patchable_graph_browser_test .')

@task(pre=[browser_test_build])
def browser_test(ctx):
    ctx.run(f'docker run '
            f'--name patchable_graph_browser_test '
            f'--rm -it '
            f'--net=host '
            f'-v `pwd`:/opt '
            f'bang:5000/patchable_graph_browser_test '
            f'/bin/bash',  #f'python3 browser_test.py',
            pty=True)