Changeset 20610
- Timestamp:
- 05/12/16 12:31:35 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/packagers/ubuntu/package.sh ¶
r18769 r20610 5 5 cat generic_static.m | sed -e "s/generic_static/generic/g" > generic.m 6 6 echo "move mpiexec to bin" 7 cp ../externalpackages/mpich/install/bin/mpiexec .8 cp ../externalpackages/mpich/install/bin/hydra_pmi_proxy .9 7 10 8 #Check that test101 runs … … 28 26 echo "Creating tarball: ${tarball_name}" 29 27 cd $ISSM_DIR 30 tar -czf $tarball_name ./bin ./lib ./test ./examples 28 rm -rf trunk 29 mkdir trunk 30 cp -rf bin lib test examples trunk/ 31 tar -czf $tarball_name trunk 31 32 ls -lah $tarball_name 32 33 33 34 echo "Shipping binaries to website" 34 cp $tarball_name /u/astrid-r1b/morlighe/public/ 35 chmod 777 /u/astrid-r1b/morlighe/public/$tarball_name 36 scp $tarball_name websites.jpl.nasa.gov:/home/larour/files/$tarball_name 35 36 # We're using public key authentication method to upload the tarball The 37 # following lines check to see if the SSH Agent is running. If not, then it is 38 # started and relevant information is forwarded to a script. 39 pgrep "ssh-agent" > /dev/null 40 if [ $? -ne 0 ]; then 41 echo "SSH Agent is not running. Starting it..." 42 ssh-agent > ~/.ssh/agent.sh 43 else 44 echo "SSH Agent is running..." 45 fi 46 47 source ~/.ssh/agent.sh 48 ssh-add ~/.ssh/ubuntu-bins_jenkins-to-ross 49 50 scp $tarball_name ross.ics.uci.edu:/var/www/html/$tarball_name 51 52 if [ $? -ne 0 ]; then 53 echo "The upload failed." 54 echo "Perhaps the SSH Agent was started by some other means." 55 echo "Try killing the agent and running again." 56 fi
Note:
See TracChangeset
for help on using the changeset viewer.