following yamllint suggestions

This commit is contained in:
Martin Diehl 2017-05-17 10:15:30 +02:00
parent eff2b4ca1c
commit ee8afc33cf
1 changed files with 30 additions and 23 deletions

View File

@ -1,3 +1,4 @@
---
stages: stages:
- prepareAll - prepareAll
- preprocessing - preprocessing
@ -23,26 +24,30 @@ stages:
################################################################################################### ###################################################################################################
before_script: before_script:
- if [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue)x == 'x' ]; then echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue; fi - if [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue)x == 'x' ]
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) -ne 1 ];do sleep 5m; done then echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue
fi
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ]
do sleep 5m
done
- source $DAMASKROOT/DAMASK_env.sh - source $DAMASKROOT/DAMASK_env.sh
- cd $DAMASKROOT/PRIVATE/testing - cd $DAMASKROOT/PRIVATE/testing
################################################################################################### ###################################################################################################
variables: variables:
#================================================================================================ # ===============================================================================================
# GitLab Settings # GitLab Settings
#================================================================================================ # ===============================================================================================
GIT_SUBMODULE_STRATEGY: none GIT_SUBMODULE_STRATEGY: none
#================================================================================================ # ===============================================================================================
# Shortcut names # Shortcut names
#================================================================================================ # ===============================================================================================
DAMASKROOT: "$TESTROOT/GitLabCI_Pipeline_$CI_PIPELINE_ID/DAMASK" DAMASKROOT: "$TESTROOT/GitLabCI_Pipeline_$CI_PIPELINE_ID/DAMASK"
#================================================================================================ # ===============================================================================================
# Names of module files to load # Names of module files to load
#================================================================================================ # ===============================================================================================
# ++++++++++++ Compiler ++++++++++++++++++++++++++++++++++++++++++++++ # ++++++++++++ Compiler ++++++++++++++++++++++++++++++++++++++++++++++
IntelCompiler16_0: "Compiler/Intel/16.0 Libraries/IMKL/2016" IntelCompiler16_0: "Compiler/Intel/16.0 Libraries/IMKL/2016"
IntelCompiler17_0: "Compiler/Intel/17.0 Libraries/IMKL/2017" IntelCompiler17_0: "Compiler/Intel/17.0 Libraries/IMKL/2017"
@ -85,7 +90,9 @@ checkout:
stage: prepareAll stage: prepareAll
before_script: before_script:
- echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue - echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) -ne 1 ];do sleep 5m; done - while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ]
do sleep 5m
done
script: script:
- mkdir -p $DAMASKROOT - mkdir -p $DAMASKROOT
- cd $DAMASKROOT - cd $DAMASKROOT