Mercurial > code > home > repos > homeauto
annotate service/piNode/makefile @ 466:1122016d16eb
stats handler, events output fix, build updaets
Ignore-this: 3f2d695e0e49e8be8084017de08b0539
author | drewp@bigasterisk.com |
---|---|
date | Sat, 20 Apr 2019 23:40:29 -0700 |
parents | cb3738b1a15a |
children |
rev | line source |
---|---|
365 | 1 build_image: gather_image_files |
2 docker build --network host -t bang6:5000/pi_node_pi:latest . | |
3 docker push bang6:5000/pi_node_pi:latest | |
4 | |
5 gather_image_files: | |
338
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
6 (cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py) |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
7 (cd /my/proj/homeauto/service/arduinoNode; tar czf /my/site/projects/rdfdb/more2.tgz static) |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
8 |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
9 shell: |
365 | 10 docker run -it bang6:5000/pi_node_pi:latest /bin/bash |
338
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
11 |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
12 local_run: |
365 | 13 docker run -it -p 9059:9059 bang6:5000/pi_node_pi:latest python ./piNode.py -v |
347 | 14 |
15 | |
16 push_config: | |
365 | 17 docker run -it --net=host -v `pwd`/config:/opt/config bang6:5000/arduino_node python pushConfig.py pi/ |
466
1122016d16eb
stats handler, events output fix, build updaets
drewp@bigasterisk.com
parents:
365
diff
changeset
|
18 |
1122016d16eb
stats handler, events output fix, build updaets
drewp@bigasterisk.com
parents:
365
diff
changeset
|
19 redeploy: build_image |
1122016d16eb
stats handler, events output fix, build updaets
drewp@bigasterisk.com
parents:
365
diff
changeset
|
20 sudo /my/proj/ansible/playbook -l pi -t raspi_io_node |