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 12422 for utils/CI/sette_ticket2304/sette_reference-configurations.sh – NEMO

Ignore:
Timestamp:
2020-02-20T15:25:47+01:00 (4 years ago)
Author:
mathiot
Message:

merge sync_mysrc and sync_expcfg into sync_config, add a clean_config function and add option in sette.sh to activate synchronisation of MY_SCR/EXPREF with CONFIG_ST/EXP00/MY_SRC (-s option) or to clean a config with makenemo clean (-c option)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette_ticket2304/sette_reference-configurations.sh

    r12290 r12422  
    165165    # syncronisation if target directory/file exist (not done by makenemo) 
    166166    . ${SETTE_DIR}/all_functions.sh 
    167     sync_mysrc  GYRE_PISCES GYRE_PISCES_ST 
    168     sync_expcfg GYRE_PISCES GYRE_PISCES_ST 
     167    sync_config  GYRE_PISCES GYRE_PISCES_ST 'cfgs' 
     168    clean_config GYRE_PISCES GYRE_PISCES_ST 'cfgs' 
    169169    # 
    170170    . ./makenemo -m ${CMP_NAM} -n GYRE_PISCES_ST -r GYRE_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    311311    # syncronisation if target directory/file exist (not done by makenemo) 
    312312    . ${SETTE_DIR}/all_functions.sh 
    313     sync_mysrc  ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 
    314     sync_expcfg ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 
     313    sync_config  ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 'cfgs' 
     314    clean_config ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 'cfgs' 
    315315    # 
    316316    . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_PISCES_ST -r ORCA2_ICE_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    558558    # syncronisation if target directory/file exist (not done by makenemo) 
    559559    . ${SETTE_DIR}/all_functions.sh 
    560     sync_mysrc  ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 
    561     sync_expcfg ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 
     560    sync_config  ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 
     561    clean_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' 
    562562    # 
    563563    . ./makenemo -m ${CMP_NAM} -n ORCA2_OFF_PISCES_ST -r ORCA2_OFF_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    754754    # syncronisation if target directory/file exist (not done by makenemo) 
    755755    . ${SETTE_DIR}/all_functions.sh 
    756     sync_mysrc  AMM12 AMM12_ST 
    757     sync_expcfg AMM12 AMM12_ST 
     756    sync_config  AMM12 AMM12_ST 'cfgs' 
     757    clean_config AMM12 AMM12_ST 'cfgs' 
    758758    # 
    759759    . ./makenemo -m ${CMP_NAM} -n AMM12_ST -r AMM12 -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    887887    # syncronisation if target directory/file exist (not done by makenemo) 
    888888    . ${SETTE_DIR}/all_functions.sh 
    889     sync_mysrc  ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 
    890     sync_expcfg ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 
     889    sync_config  ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 'cfgs' 
     890    clean_config ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 'cfgs' 
    891891    # 
    892892    . ./makenemo -m ${CMP_NAM} -n ORCA2_SAS_ICE_ST -r ORCA2_SAS_ICE -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    10271027    # syncronisation if target directory/file exist (not done by makenemo) 
    10281028    . ${SETTE_DIR}/all_functions.sh 
    1029     sync_mysrc  ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 
    1030     sync_expcfg ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 
     1029    sync_config  ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 'cfgs' 
     1030    clean_config ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 'cfgs' 
    10311031    # 
    10321032    . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_OBS_ST -r ORCA2_ICE_PISCES -d "OCE ICE"  -j 8 add_key "key_asminc ${ADD_KEYS}" del_key "key_top" 
     
    11511151    # syncronisation if target directory/file exist (not done by makenemo) 
    11521152    . ${SETTE_DIR}/all_functions.sh 
    1153     sync_mysrc  AGRIF_DEMO AGRIF_DEMO_ST 
    1154     sync_expcfg AGRIF_DEMO AGRIF_DEMO_ST 
     1153    sync_config  AGRIF_DEMO AGRIF_DEMO_ST 'cfgs' 
     1154    clean_config AGRIF_DEMO AGRIF_DEMO_ST 'cfgs' 
    11551155    # 
    11561156    . ./makenemo -m ${CMP_NAM} -n AGRIF_DEMO_ST -r AGRIF_DEMO -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
     
    14261426    # syncronisation if target directory/file exist (not done by makenemo) 
    14271427    . ${SETTE_DIR}/all_functions.sh 
    1428     sync_mysrc  AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 
    1429     sync_expcfg AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 
     1428    sync_config  AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 'cfgs' 
     1429    clean_config AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 'cfgs' 
    14301430    # 
    14311431    . ./makenemo -m ${CMP_NAM} -n AGRIF_DEMO_NOAGRIF_ST -r AGRIF_DEMO -j 8 add_key "${ADD_KEYS}" del_key "key_agrif" 
     
    14691469    # syncronisation if target directory/file exist (not done by makenemo) 
    14701470    . ${SETTE_DIR}/all_functions.sh 
    1471     sync_mysrc  SPITZ12 SPITZ12_ST 
    1472     sync_expcfg SPITZ12 SPITZ12_ST 
     1471    sync_config  SPITZ12 SPITZ12_ST 'cfgs' 
     1472    clean_config SPITZ12 SPITZ12_ST 'cfgs' 
    14731473    # 
    14741474    . ./makenemo -m ${CMP_NAM} -n SPITZ12_ST -r SPITZ12 -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" 
Note: See TracChangeset for help on using the changeset viewer.