Changeset 23326


Ignore:
Timestamp:
09/19/18 18:58:24 (7 years ago)
Author:
jdquinn
Message:

CHG: Modified packager to use new RSA key for connecting to ross

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/packagers/win10/package64.sh

    r23314 r23326  
    5252ls -lah $TARBALL_NAME
    5353
     54# Ship binaries to website
     55echo "Shipping binaries to website"
    5456
    55 #To upload to website:
    56 scp $TARBALL_NAME websites:/home/larour/files/$TARBALL_NAME
     57# We're using public key authentication method to upload the tarball The
     58# following lines check to see if the SSH Agent is running. If not, then it is
     59# started and relevant information is forwarded to a script.
     60pgrep "ssh-agent" > /dev/null
     61
     62if [ $? -ne 0 ]; then
     63        echo "SSH agent is not running. Starting it..."
     64        ssh-agent > ~/.ssh/agent.sh
     65else
     66        echo "SSH agent is running..."
     67fi
     68
     69source ~/.ssh/agent.sh
     70ssh-add ~/.ssh/win_bins-geidi_prime_to_ross
     71
     72scp $TARBALL_NAME jenkins@ross.ics.uci.edu:/var/www/html/$TARBALL_NAME
     73
     74if [ $? -ne 0 ]; then
     75        echo "The upload failed."
     76        echo "Perhaps the SSH agent was started by some other means."
     77        echo "Try killing the agent and running again."
     78fi
Note: See TracChangeset for help on using the changeset viewer.