Mercurial > code > home > repos > homeauto
annotate service/piNode/makefile @ 347:97f5cbcac00b
pi read config over etcd
Ignore-this: a7576b3077b88a9eb42f8fcb5d1c5dff
author | drewp@bigasterisk.com |
---|---|
date | Sun, 15 Apr 2018 04:18:11 -0700 |
parents | f64e20d3407e |
children | cb3738b1a15a |
rev | line source |
---|---|
338
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
1 build_image: |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
2 (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
|
3 (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
|
4 ssh pi@garage6 mkdir -p /tmp/piNode/ |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
5 rsync -av --exclude=lib --exclude=pi_base --delete ./ pi@garage6:/tmp/piNode/ |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
6 ssh pi@garage6 docker build -t bang6:5000/pi_node /tmp/piNode/ |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
7 ssh pi@garage6 docker push bang6:5000/pi_node |
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: |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
10 docker run -it bang6:5000/pi_node /bin/sh |
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: |
f64e20d3407e
RgbPixelsAnimation and docker build updates
drewp@bigasterisk.com
parents:
diff
changeset
|
13 docker run -it -p 9059:9059 bang6:5000/pi_node python ./piNode.py -v |
347 | 14 |
15 | |
16 push_config: | |
17 bin/python ../arduinoNode/pushConfig.py pi/ |