streamlined
This commit is contained in:
parent
99865ac39c
commit
96d66a63b5
|
@ -1,17 +1,15 @@
|
||||||
---
|
---
|
||||||
stages:
|
stages:
|
||||||
- prepareAll
|
- prepare
|
||||||
- python
|
- python
|
||||||
- deprecated
|
|
||||||
- compile
|
- compile
|
||||||
- fortran
|
- fortran
|
||||||
- performance
|
- performance
|
||||||
- createPackage
|
- deploy
|
||||||
- createDocumentation
|
- backup
|
||||||
- saveDocumentation
|
- update_master
|
||||||
- updateMaster
|
- distclean
|
||||||
- clean
|
- clean
|
||||||
- releaseLock
|
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -73,7 +71,7 @@ variables:
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
checkout:
|
checkout:
|
||||||
stage: prepareAll
|
stage: prepare
|
||||||
before_script:
|
before_script:
|
||||||
- echo $CI_PIPELINE_ID >> $LOCAL_HOME/GitLabCI.queue
|
- echo $CI_PIPELINE_ID >> $LOCAL_HOME/GitLabCI.queue
|
||||||
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $LOCAL_HOME/GitLabCI.queue) != 1 ];
|
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $LOCAL_HOME/GitLabCI.queue) != 1 ];
|
||||||
|
@ -94,7 +92,7 @@ checkout:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
pytest_python:
|
processing:
|
||||||
stage: python
|
stage: python
|
||||||
script:
|
script:
|
||||||
- cd $DAMASKROOT/python
|
- cd $DAMASKROOT/python
|
||||||
|
@ -104,8 +102,8 @@ pytest_python:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
Pre_General:
|
preprocessing_deprecated:
|
||||||
stage: deprecated
|
stage: python
|
||||||
script: PreProcessing/test.py
|
script: PreProcessing/test.py
|
||||||
except:
|
except:
|
||||||
- master
|
- master
|
||||||
|
@ -153,7 +151,7 @@ compile_mesh_GNU:
|
||||||
- master
|
- master
|
||||||
- release
|
- release
|
||||||
|
|
||||||
compile_MARC:
|
compile_Marc:
|
||||||
stage: compile
|
stage: compile
|
||||||
script:
|
script:
|
||||||
- module load $IntelMarc $HDF5Marc $MSC
|
- module load $IntelMarc $HDF5Marc $MSC
|
||||||
|
@ -188,7 +186,7 @@ setup_mesh:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
pytest_fortran:
|
core:
|
||||||
stage: fortran
|
stage: fortran
|
||||||
script:
|
script:
|
||||||
- module load $IntelCompiler $MPI_Intel $PETSc_Intel
|
- module load $IntelCompiler $MPI_Intel $PETSc_Intel
|
||||||
|
@ -231,8 +229,8 @@ SpectralRuntime:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
createTar:
|
source_distribution:
|
||||||
stage: createPackage
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- cd $(mktemp -d)
|
- cd $(mktemp -d)
|
||||||
- $DAMASKROOT/PRIVATE/releasing/deployMe.sh $CI_COMMIT_SHA
|
- $DAMASKROOT/PRIVATE/releasing/deployMe.sh $CI_COMMIT_SHA
|
||||||
|
@ -240,9 +238,8 @@ createTar:
|
||||||
- master
|
- master
|
||||||
- release
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
library_documentation:
|
||||||
Python:
|
stage: deploy
|
||||||
stage: createDocumentation
|
|
||||||
script:
|
script:
|
||||||
- echo 'tbd one matesting1'
|
- echo 'tbd one matesting1'
|
||||||
except:
|
except:
|
||||||
|
@ -250,8 +247,8 @@ Python:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
##################################################################################################
|
##################################################################################################
|
||||||
backupData:
|
backup_runtime_measurement:
|
||||||
stage: saveDocumentation
|
stage: backup
|
||||||
script:
|
script:
|
||||||
- cd $LOCAL_HOME/performance # location of new runtime results
|
- cd $LOCAL_HOME/performance # location of new runtime results
|
||||||
- git commit -am"${CI_PIPELINE_ID}_${CI_COMMIT_SHA}"
|
- git commit -am"${CI_PIPELINE_ID}_${CI_COMMIT_SHA}"
|
||||||
|
@ -262,8 +259,8 @@ backupData:
|
||||||
- development
|
- development
|
||||||
|
|
||||||
##################################################################################################
|
##################################################################################################
|
||||||
mergeIntoMaster:
|
merge_into_master:
|
||||||
stage: updateMaster
|
stage: update_master
|
||||||
script:
|
script:
|
||||||
- cd $DAMASKROOT
|
- cd $DAMASKROOT
|
||||||
- export TESTEDREV=$(git describe) # might be detached from development branch
|
- export TESTEDREV=$(git describe) # might be detached from development branch
|
||||||
|
@ -281,8 +278,8 @@ mergeIntoMaster:
|
||||||
- development
|
- development
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
removeData:
|
remove_data:
|
||||||
stage: clean
|
stage: distclean
|
||||||
before_script:
|
before_script:
|
||||||
- echo "Removing data and lock of pipeline $CI_PIPELINE_ID"
|
- echo "Removing data and lock of pipeline $CI_PIPELINE_ID"
|
||||||
script:
|
script:
|
||||||
|
@ -293,8 +290,8 @@ removeData:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
removeLock:
|
remove_lock:
|
||||||
stage: releaseLock
|
stage: clean
|
||||||
before_script:
|
before_script:
|
||||||
- echo "Removing lock of pipeline $CI_PIPELINE_ID"
|
- echo "Removing lock of pipeline $CI_PIPELINE_ID"
|
||||||
when: always
|
when: always
|
||||||
|
|
Loading…
Reference in New Issue