blob: 2f487eac85d5d93e546b8d1877797be2e37187b5 [file] [log] [blame]
Scott Bakerd6313f72014-01-21 23:19:05 -08001hpcobserver.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
12upload: hpcobserver.tar.gz
13 scp TARS/hpc_observer.tar.gz root@viccidev1.cs.princeton.edu:/opt/planetstack/
14
15up_install: upload
16 ssh root@viccidev1.cs.princeton.edu -C "cd /opt/planetstack; tar -xzf hpc_observer.tar.gz"