2017-05-17 13:45:30 +05:30
|
|
|
---
|
2017-04-12 16:46:27 +05:30
|
|
|
stages:
|
|
|
|
- prepareAll
|
2017-04-13 19:36:35 +05:30
|
|
|
- preprocessing
|
|
|
|
- postprocessing
|
|
|
|
- compileSpectralIntel
|
|
|
|
- compileSpectralGNU
|
|
|
|
- prepareSpectral
|
|
|
|
- spectral
|
|
|
|
- compileMarc2015
|
|
|
|
- compileMarc2016
|
|
|
|
- marc
|
|
|
|
- compileAbaqus2016
|
|
|
|
- compileAbaqus2017
|
|
|
|
- example
|
2017-05-09 03:22:07 +05:30
|
|
|
- performance
|
2017-04-12 16:46:27 +05:30
|
|
|
- createDocumentation
|
2017-05-12 13:09:33 +05:30
|
|
|
- saveDocumentation
|
2017-04-20 11:56:09 +05:30
|
|
|
- updateMaster
|
2017-04-13 03:00:33 +05:30
|
|
|
- clean
|
2017-05-12 13:09:33 +05:30
|
|
|
- releaseLock
|
2017-04-12 16:46:27 +05:30
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
before_script:
|
2017-05-18 20:37:19 +05:30
|
|
|
- if [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue)x == 'x' ];
|
|
|
|
then echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue;
|
2017-05-17 13:45:30 +05:30
|
|
|
fi
|
2017-05-18 20:37:19 +05:30
|
|
|
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ];
|
|
|
|
do sleep 5m;
|
2017-05-17 13:45:30 +05:30
|
|
|
done
|
2017-05-20 19:06:56 +05:30
|
|
|
- source $DAMASKROOT/env/DAMASK.sh
|
2017-04-12 16:46:27 +05:30
|
|
|
- cd $DAMASKROOT/PRIVATE/testing
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
variables:
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# GitLab Settings
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
GIT_SUBMODULE_STRATEGY: none
|
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# Shortcut names
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
|
|
|
DAMASKROOT: "$TESTROOT/GitLabCI_Pipeline_$CI_PIPELINE_ID/DAMASK"
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# Names of module files to load
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# ++++++++++++ Compiler ++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
IntelCompiler16_0: "Compiler/Intel/16.0 Libraries/IMKL/2016"
|
|
|
|
IntelCompiler17_0: "Compiler/Intel/17.0 Libraries/IMKL/2017"
|
2018-05-18 02:28:23 +05:30
|
|
|
IntelCompiler18_1: "Compiler/Intel/18.1 Libraries/IMKL/2018"
|
2018-06-16 16:24:16 +05:30
|
|
|
GNUCompiler7_3: "Compiler/GNU/7.3"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ------------ Defaults ----------------------------------------------
|
2018-05-18 02:28:23 +05:30
|
|
|
IntelCompiler: "$IntelCompiler18_1"
|
2018-06-16 16:24:16 +05:30
|
|
|
GNUCompiler: "$GNUCompiler7_3"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ++++++++++++ MPI +++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
MPICH3_2Intel17_0: "MPI/Intel/17.0/MPICH/3.2"
|
2018-05-18 02:28:23 +05:30
|
|
|
MPICH3_2Intel18_1: "MPI/Intel/18.1/MPICH/3.2.1"
|
2018-06-16 16:24:16 +05:30
|
|
|
MPICH3_2GNU7_3: "MPI/GNU/7.3/MPICH/3.2.1"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ------------ Defaults ----------------------------------------------
|
2018-06-16 16:24:16 +05:30
|
|
|
MPICH_GNU: "$MPICH3_2GNU7_3"
|
2018-05-18 02:28:23 +05:30
|
|
|
MPICH_Intel: "$MPICH3_2Intel18_1"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ++++++++++++ PETSc +++++++++++++++++++++++++++++++++++++++++++++++++
|
2018-05-18 02:28:23 +05:30
|
|
|
PETSc3_9_1MPICH3_2Intel18_1: "Libraries/PETSc/3.9.1/Intel-18.1-MPICH-3.2.1"
|
2018-06-16 16:24:16 +05:30
|
|
|
PETSc3_9_1MPICH3_2GNU7_3: "Libraries/PETSc/3.9.1/GNU-7.3-MPICH-3.2.1"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ------------ Defaults ----------------------------------------------
|
2018-05-18 02:28:23 +05:30
|
|
|
PETSc_MPICH_Intel: "$PETSc3_9_1MPICH3_2Intel18_1"
|
2018-06-16 16:24:16 +05:30
|
|
|
PETSc_MPICH_GNU: "$PETSc3_9_1MPICH3_2GNU7_3"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ++++++++++++ FEM +++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
Abaqus2016: "FEM/Abaqus/2016"
|
|
|
|
Abaqus2017: "FEM/Abaqus/2017"
|
|
|
|
MSC2014: "FEM/MSC/2014"
|
|
|
|
MSC2014_2: "FEM/MSC/2014.2"
|
|
|
|
MSC2015: "FEM/MSC/2015"
|
|
|
|
MSC2016: "FEM/MSC/2016"
|
|
|
|
# ------------ Defaults ----------------------------------------------
|
|
|
|
Abaqus: "$Abaqus2017"
|
|
|
|
MSC: "$MSC2016"
|
|
|
|
# ++++++++++++ Documentation +++++++++++++++++++++++++++++++++++++++++
|
|
|
|
Doxygen1_8_13: "Documentation/Doxygen/1.8.13"
|
|
|
|
# ------------ Defaults ----------------------------------------------
|
|
|
|
Doxygen: "$Doxygen1_8_13"
|
|
|
|
|
|
|
|
|
|
|
|
###################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
checkout:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: prepareAll
|
2017-05-17 13:45:30 +05:30
|
|
|
before_script:
|
2017-05-12 00:32:10 +05:30
|
|
|
- echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue
|
2017-05-18 20:37:19 +05:30
|
|
|
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ];
|
|
|
|
do sleep 5m;
|
2017-05-17 13:45:30 +05:30
|
|
|
done
|
2017-04-12 16:46:27 +05:30
|
|
|
script:
|
2017-04-12 17:58:42 +05:30
|
|
|
- mkdir -p $DAMASKROOT
|
2017-04-13 11:25:37 +05:30
|
|
|
- cd $DAMASKROOT
|
2017-05-29 14:16:26 +05:30
|
|
|
- if [ -d DAMASK ]; then rm -rf DAMASK; fi # there might be some leftovers from a failed clone
|
2017-05-02 15:51:36 +05:30
|
|
|
- git clone -q git@magit1.mpie.de:damask/DAMASK.git .
|
2017-04-13 11:25:37 +05:30
|
|
|
- git checkout $CI_COMMIT_SHA
|
2017-04-15 16:28:13 +05:30
|
|
|
- git submodule update --init
|
2017-05-20 19:06:56 +05:30
|
|
|
- source env/DAMASK.sh
|
2017-04-18 08:59:00 +05:30
|
|
|
- make processing
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-12 16:46:27 +05:30
|
|
|
|
|
|
|
###################################################################################################
|
2017-04-13 19:36:35 +05:30
|
|
|
OrientationRelationship:
|
|
|
|
stage: preprocessing
|
|
|
|
script: OrientationRelationship/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Pre_SeedGeneration:
|
|
|
|
stage: preprocessing
|
|
|
|
script: PreProcessing_SeedGeneration/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Pre_GeomGeneration:
|
|
|
|
stage: preprocessing
|
|
|
|
script: PreProcessing_GeomGeneration/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Pre_GeomModification:
|
|
|
|
stage: preprocessing
|
|
|
|
script: PreProcessing_GeomModification/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Pre_General:
|
|
|
|
stage: preprocessing
|
|
|
|
script: PreProcessing/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Spectral_geometryPacking:
|
|
|
|
stage: preprocessing
|
|
|
|
script: Spectral_geometryPacking/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
Post_General:
|
|
|
|
stage: postprocessing
|
|
|
|
script: PostProcessing/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_GeometryReconstruction:
|
|
|
|
stage: postprocessing
|
|
|
|
script: Spectral_geometryReconstruction/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_addCurl:
|
|
|
|
stage: postprocessing
|
|
|
|
script: addCurl/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_addDivergence:
|
|
|
|
stage: postprocessing
|
|
|
|
script: addDivergence/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_addGradient:
|
|
|
|
stage: postprocessing
|
|
|
|
script: addGradient/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_ParaviewRelated:
|
|
|
|
stage: postprocessing
|
|
|
|
script: ParaviewRelated/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
Compile_Intel:
|
2017-05-17 13:45:30 +05:30
|
|
|
stage: compileSpectralIntel
|
2017-04-13 19:36:35 +05:30
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2017-04-18 08:59:00 +05:30
|
|
|
- SpectralAll_compile/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
Compile_GNU:
|
|
|
|
stage: compileSpectralGNU
|
|
|
|
script:
|
|
|
|
- module load $GNUCompiler $MPICH_GNU $PETSc_MPICH_GNU
|
2017-04-18 08:59:00 +05:30
|
|
|
- SpectralAll_compile/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
Compile_Intel_Prepare:
|
|
|
|
stage: prepareSpectral
|
2017-04-19 14:20:07 +05:30
|
|
|
script:
|
2017-05-02 15:51:36 +05:30
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2017-04-19 14:20:07 +05:30
|
|
|
- cd $DAMASKROOT
|
2017-04-18 08:59:00 +05:30
|
|
|
- make clean spectral processing
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-05-17 13:45:30 +05:30
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
###################################################################################################
|
|
|
|
Spectral_PackedGeometry:
|
|
|
|
stage: spectral
|
|
|
|
script: Spectral_PackedGeometry/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Spectral_parsingArguments:
|
|
|
|
stage: spectral
|
|
|
|
script: Spectral_parsingArguments/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
StateIntegration_compareVariants:
|
|
|
|
stage: spectral
|
|
|
|
script: StateIntegration_compareVariants/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
nonlocal_densityConservation:
|
|
|
|
stage: spectral
|
|
|
|
script: nonlocal_densityConservation/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Spectral_ipNeighborhood:
|
|
|
|
stage: spectral
|
|
|
|
script: Spectral_ipNeighborhood/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Nonlocal_Damage_DetectChanges:
|
|
|
|
stage: spectral
|
|
|
|
script: Nonlocal_Damage_DetectChanges/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
SpectralAll_restart:
|
|
|
|
stage: spectral
|
|
|
|
script: SpectralAll_restart/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
SpectralAll_parsingLoadCase:
|
|
|
|
stage: spectral
|
|
|
|
script: SpectralAll_parsingLoadCase/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
SpectralBasic_loadCaseRotation:
|
|
|
|
stage: spectral
|
|
|
|
script: SpectralBasic_loadCaseRotation/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Spectral_MPI:
|
|
|
|
stage: spectral
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
|
|
|
- Spectral_MPI/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Plasticity_DetectChanges:
|
|
|
|
stage: spectral
|
|
|
|
script: Plasticity_DetectChanges/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Homogenization:
|
|
|
|
stage: spectral
|
|
|
|
script: Homogenization/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Phenopowerlaw_singleSlip:
|
|
|
|
stage: spectral
|
|
|
|
script: Phenopowerlaw_singleSlip/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
HybridIA:
|
|
|
|
stage: spectral
|
|
|
|
script: HybridIA/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2018-03-08 22:05:59 +05:30
|
|
|
TextureComponents:
|
|
|
|
stage: spectral
|
|
|
|
script: TextureComponents/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
Marc_compileIfort2016:
|
|
|
|
stage: compileMarc2016
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler16_0 $MSC2016
|
|
|
|
- Marc_compileIfort/test.py -m 2016
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
Hex_elastic:
|
|
|
|
stage: marc
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler16_0 $MSC
|
|
|
|
- Hex_elastic/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
CubicFCC_elastic:
|
|
|
|
stage: marc
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler16_0 $MSC
|
|
|
|
- CubicFCC_elastic/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
CubicBCC_elastic:
|
|
|
|
stage: marc
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler16_0 $MSC
|
|
|
|
- CubicBCC_elastic/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
J2_plasticBehavior:
|
|
|
|
stage: marc
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler16_0 $MSC
|
|
|
|
- J2_plasticBehavior/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
Abaqus_compile2016:
|
|
|
|
stage: compileAbaqus2016
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler16_0 $Abaqus2016
|
|
|
|
- Abaqus_compileIfort/test.py -a 2016
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
Abaqus_compile2017:
|
|
|
|
stage: compileAbaqus2017
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler16_0 $Abaqus2017
|
|
|
|
- Abaqus_compileIfort/test.py -a 2017
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
SpectralExample:
|
|
|
|
stage: example
|
|
|
|
script: SpectralAll_example/test.py
|
2017-04-12 16:46:27 +05:30
|
|
|
only:
|
|
|
|
- development
|
2017-04-13 19:36:35 +05:30
|
|
|
|
|
|
|
AbaqusExample:
|
|
|
|
stage: example
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler16_0 $Abaqus
|
|
|
|
- Abaqus_example/test.py
|
|
|
|
only:
|
|
|
|
- development
|
|
|
|
|
2017-05-09 03:22:07 +05:30
|
|
|
###################################################################################################
|
|
|
|
SpectralRuntime:
|
|
|
|
stage: performance
|
2017-04-12 16:46:27 +05:30
|
|
|
script:
|
2017-05-09 03:22:07 +05:30
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2017-04-13 03:00:33 +05:30
|
|
|
- cd $DAMASKROOT
|
2017-05-09 03:22:07 +05:30
|
|
|
- make clean spectral processing OPTIMIZATION=AGGRESSIVE
|
2017-05-16 09:58:46 +05:30
|
|
|
- cd $TESTROOT/performance # location of old results
|
|
|
|
- git checkout . # undo any changes (i.e. run time data from non-development branch)
|
2017-05-09 03:22:07 +05:30
|
|
|
- cd $DAMASKROOT/PRIVATE/testing
|
2017-05-16 09:58:46 +05:30
|
|
|
- SpectralAll_runtime/test.py -d $TESTROOT/performance
|
2017-05-09 03:22:07 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-05-17 13:45:30 +05:30
|
|
|
|
2017-04-12 16:46:27 +05:30
|
|
|
###################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
AbaqusExp:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: createDocumentation
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel $Doxygen
|
|
|
|
- $DAMASKROOT/PRIVATE/documenting/runDoxygen.sh $DAMASKROOT abaqus_exp
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
AbaqusStd:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: createDocumentation
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel $Doxygen
|
|
|
|
- $DAMASKROOT/PRIVATE/documenting/runDoxygen.sh $DAMASKROOT abaqus_std
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
Marc:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: createDocumentation
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel $Doxygen
|
|
|
|
- $DAMASKROOT/PRIVATE/documenting/runDoxygen.sh $DAMASKROOT marc
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
Spectral:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: createDocumentation
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel $Doxygen
|
|
|
|
- $DAMASKROOT/PRIVATE/documenting/runDoxygen.sh $DAMASKROOT spectral
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-13 03:00:33 +05:30
|
|
|
|
2017-05-12 13:09:33 +05:30
|
|
|
##################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
backupData:
|
2017-05-12 13:09:33 +05:30
|
|
|
stage: saveDocumentation
|
|
|
|
script:
|
2017-05-16 09:58:46 +05:30
|
|
|
- cd $TESTROOT/performance # location of new runtime results
|
|
|
|
- git commit -am"${CI_PIPELINE_ID}_${CI_COMMIT_SHA}"
|
2017-05-13 19:57:11 +05:30
|
|
|
- mkdir $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}
|
2017-05-16 09:58:46 +05:30
|
|
|
- cp $TESTROOT/performance/time.txt $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
|
|
|
- mv $TESTROOT/performance/time.png $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
|
|
|
- cp $TESTROOT/performance/memory.txt $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
|
|
|
- mv $TESTROOT/performance/memory.png $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
2017-05-13 19:57:11 +05:30
|
|
|
- mv $DAMASKROOT/PRIVATE/documenting/DAMASK_* $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
2017-05-16 06:46:27 +05:30
|
|
|
only:
|
|
|
|
- development
|
2017-05-12 13:09:33 +05:30
|
|
|
|
2017-05-09 03:22:07 +05:30
|
|
|
##################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
mergeIntoMaster:
|
2017-05-09 03:22:07 +05:30
|
|
|
stage: updateMaster
|
|
|
|
script:
|
|
|
|
- cd $DAMASKROOT
|
|
|
|
- export TESTEDREV=$(git describe) # might be detached from development branch
|
|
|
|
- echo $TESTEDREV > VERSION
|
|
|
|
- git commit VERSION -m "[skip ci] updated version information after successful test of $TESTEDREV"
|
|
|
|
- export UPDATEDREV=$(git describe) # tested state + 1 commit
|
|
|
|
- git checkout master
|
|
|
|
- git merge $UPDATEDREV -s recursive -X ours # conflicts occur only for inconsistent state
|
|
|
|
- git push origin master # master is now tested version and has updated VERSION file
|
|
|
|
- git checkout development
|
|
|
|
- git pull
|
|
|
|
- git merge master -s recursive -X ours -m "[skip ci] Merge branch 'master' into development" # only possible conflict is in VERSION file
|
|
|
|
- git push origin development # development is unchanged (as master is based on it) but has updated VERSION file
|
|
|
|
only:
|
|
|
|
- development
|
|
|
|
|
2017-04-13 03:00:33 +05:30
|
|
|
###################################################################################################
|
2017-05-13 19:57:11 +05:30
|
|
|
removeData:
|
2017-04-13 03:00:33 +05:30
|
|
|
stage: clean
|
2017-05-13 19:57:11 +05:30
|
|
|
before_script:
|
2017-05-12 13:09:33 +05:30
|
|
|
- echo 'Do nothing'
|
|
|
|
script:
|
|
|
|
- rm -rf $TESTROOT/GitLabCI_Pipeline_$CI_PIPELINE_ID
|
|
|
|
- sed -i "/$CI_PIPELINE_ID/d" $TESTROOT/GitLabCI.queue # in case pipeline was manually (web GUI) restarted and releaseLock was performed already
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
removeLock:
|
2017-05-12 13:09:33 +05:30
|
|
|
stage: releaseLock
|
2017-05-17 13:45:30 +05:30
|
|
|
before_script:
|
2017-04-13 03:00:33 +05:30
|
|
|
- echo 'Do nothing'
|
|
|
|
when: always
|
2017-05-12 00:32:10 +05:30
|
|
|
script: sed -i "/$CI_PIPELINE_ID/d" $TESTROOT/GitLabCI.queue
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|