Scott Baker | d6313f7 | 2014-01-21 23:19:05 -0800 | [diff] [blame] | 1 | hpcobserver.tar.gz: |
| 2 | rm -rf BUILD/hpc_observer |
| 3 | mkdir -p BUILD/hpc_observer |
| 4 | mkdir -p BUILD/hpc_observer/steps |
| 5 | mkdir -p BUILD/hpc_observer/deleters |
| 6 | cp hpclib.py hpc_observer_config run.sh start.sh stop.sh BUILD/hpc_observer/ |
| 7 | cp steps/*.py BUILD/hpc_observer/steps/ |
| 8 | cp deleters/*.py BUILD/hpc_observer/deleters/ |
| 9 | mkdir -p TARS |
| 10 | cd BUILD; tar -czf ../TARS/hpc_observer.tar.gz hpc_observer |
| 11 | |
| 12 | upload: hpcobserver.tar.gz |
| 13 | scp TARS/hpc_observer.tar.gz root@viccidev1.cs.princeton.edu:/opt/planetstack/ |
| 14 | |
| 15 | up_install: upload |
| 16 | ssh root@viccidev1.cs.princeton.edu -C "cd /opt/planetstack; tar -xzf hpc_observer.tar.gz" |