New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 12444 for utils/CI – NEMO

Changeset 12444 for utils/CI


Ignore:
Timestamp:
2020-02-24T15:14:49+01:00 (4 years ago)
Author:
mathiot
Message:

Corrections after Simon review: add AGRIF context file in the synchronisation, update sette_rpt.sh to keep old and new usage available, update sette comments and issue with old set as revision in get_dorv (ticket #2304)

Location:
utils/CI/sette_ticket2304
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette_ticket2304/all_functions.sh

    r12422 r12444  
    103103         rsync $lREF/EXPREF/*namelist*_cfg  $lCFG/EXP00/. 
    104104         rsync $lREF/EXPREF/iodef.xml       $lCFG/EXP00/. 
    105          rsync $lREF/EXPREF/context_*.xml   $lCFG/EXP00/. 
     105         rsync $lREF/EXPREF/*context_*.xml  $lCFG/EXP00/. 
    106106         rsync $lREF/EXPREF/file_def_*.xml  $lCFG/EXP00/. 
    107107      fi 
  • utils/CI/sette_ticket2304/sette.sh

    r12422 r12444  
    55 
    66# Parse command-line arguments 
    7 # 
    8 #  -t "test configurations": select active test configurations 
    9 #                            (overrides selection made using 
    10 #                            environment variable SETTE_TEST_CONFIGS) 
    11  
    127if [ $# -gt 0 ]; then 
    138  while getopts t:csh option; do  
  • utils/CI/sette_ticket2304/sette_rpt.sh

    r12431 r12444  
    1515    dorv=`ls -1rt $vdir/$nam/$mach/ | tail -1l ` 
    1616    dorv=`echo $dorv | sed -e 's:.*/::'` 
    17     dorv2=`ls -1rt $vdir/$nam2/$mach/ | tail -1l ` 
     17    dorv2=`ls -1rt $vdir/$nam2/$mach/ 2>/dev/null | tail -1l ` 
    1818    dorv2=`echo $dorv2 | sed -e 's:.*/::'` 
    1919  else 
     
    442442       case $option in 
    443443          c) mach=$OPTARG;; 
    444           r) lastchange=$OPTARG;; 
     444          r) rev=$OPTARG;; 
    445445          h | *) echo '' 
    446446                 echo 'sette_rpt.sh : '  
     
    456456    shift $((OPTIND - 1)) 
    457457fi 
     458 
     459# if $1 (remaining arguments) 
     460if [[ ! -z $1 ]] ; then rev=$1 ; fi 
     461 
     462# by default use the current lastchanged revision 
     463lastchange=${rev:-$lastchange} 
    458464 
    459465echo "" 
Note: See TracChangeset for help on using the changeset viewer.