Changeset 30398


Ignore:
Timestamp:
2016-03-09T20:48:26+13:00 (8 years ago)
Author:
ak19
Message:

Parallel changes for the linux machines to use variables in create-expeditee.sh in place of fixed strings. The variables should be set to concrete values in rke-setup.sh.

Location:
other-projects/expeditee-release-kits
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • other-projects/expeditee-release-kits/create-expeditee.sh

    r30396 r30398  
    11#!/bin/bash
    22
    3 currentdir=`pwd`
    4 # set currentdir to /home/sjm84 (when on /opt/lsb) on the linux VM machines
    5 # that produce nightlies
     3
     4# http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
     5currentdir=$( cd "$(dirname "$0")" ; pwd -P )
    66
    77if ! test -f "$currentdir/expeditee-release-kits/rke-setup.sh"; then
     
    4848        # Uploading
    4949        mkdir uploads
    50         cp products/Expeditee-1-linux uploads/Expeditee-1-${DATE}-linux
    51         cp rke.out uploads/Expeditee-${DATE}-linux.out
    52         cd uploads && tar -c * | ssh -T -i "/root/.ssh/upload-expeditee-l32" [email protected]
     50        cp products/Expeditee-1${products_suffix} uploads/Expeditee-1-${DATE}${uploads_suffix}
     51        cp rke.out uploads/rke-${DATE}${out_suffix}.out
     52        cd uploads && tar -c * | ssh -T -i "${identity_file}" [email protected]
    5353
    5454        exit 0
  • other-projects/expeditee-release-kits/rke-setup.sh.in

    r30387 r30398  
    22
    33# $currentdir should have been set to the parent folder of expeditee-release-kits
     4
     5export os=
     6export products_suffix=-${os}
     7export uploads_suffix=${products_suffix}
     8export out_suffix=-${os}
     9# path to the private key
     10export identity_file=
    411
    512# Need to use a JDK8!!!
Note: See TracChangeset for help on using the changeset viewer.