comparison service/piNode/tasks.py @ 722:a93fbf0d0daa

dep updates; graph url renames; and other build updates Ignore-this: 4603ef3d8db650a13e543dad8580ade8
author drewp@bigasterisk.com
date Wed, 05 Feb 2020 00:23:06 -0800
parents accbbd521ecd
children 9d074317e16a
comparison
equal deleted inserted replaced
721:4fa5c6a61282 722:a93fbf0d0daa
38 def redeploy(ctx): 38 def redeploy(ctx):
39 ctx.run(f'sudo /my/proj/ansible/playbook -l pi -t {ANSIBLE_TAG}') 39 ctx.run(f'sudo /my/proj/ansible/playbook -l pi -t {ANSIBLE_TAG}')
40 40
41 @task 41 @task
42 def push_config(ctx): 42 def push_config(ctx):
43 ctx.run(f'docker run --rm --net=host -v `pwd`/config:/opt/config bang6:5000/arduino_node python pushConfig.py pi/') 43 ctx.run(f'docker run --name={JOB}_config --rm --net=host --dns 10.2.0.1 --dns-search bigasterisk.com -v `pwd`/config:/opt/config bang6:5000/arduino_node python pushConfig.py pi/')