storing documentation and results of runtime tests
This commit is contained in:
parent
464fafa736
commit
c7632dcf42
|
@ -16,8 +16,10 @@ stages:
|
|||
- example
|
||||
- performance
|
||||
- createDocumentation
|
||||
- saveDocumentation
|
||||
- updateMaster
|
||||
- clean
|
||||
- releaseLock
|
||||
|
||||
###################################################################################################
|
||||
before_script:
|
||||
|
@ -92,6 +94,7 @@ checkout:
|
|||
- git submodule update --init
|
||||
- source DAMASK_env.sh
|
||||
- make processing
|
||||
- mkdir $BACKUP/$CI_COMMIT_SHA
|
||||
except:
|
||||
- master
|
||||
- release
|
||||
|
@ -434,7 +437,7 @@ SpectralRuntime:
|
|||
- cd $DAMASKROOT
|
||||
- make clean spectral processing OPTIMIZATION=AGGRESSIVE
|
||||
- cd $DAMASKROOT/PRIVATE/testing
|
||||
- SpectralAll_runtime/test.py
|
||||
- SpectralAll_runtime/test.py -d $TESTROOT
|
||||
except:
|
||||
- master
|
||||
- release
|
||||
|
@ -476,6 +479,19 @@ Spectral:
|
|||
- master
|
||||
- release
|
||||
|
||||
##################################################################################################
|
||||
mergeIntoMaster:
|
||||
stage: saveDocumentation
|
||||
script:
|
||||
- cp $TESTROOT/time.txt $BACKUP/$CI_COMMIT_SHA
|
||||
- mv $TESTROOT/time.png $BACKUP/$CI_COMMIT_SHA
|
||||
- cp $TESTROOT/time.txt $BACKUP/$CI_COMMIT_SHA
|
||||
- mv $TESTROOT/time.png $BACKUP/$CI_COMMIT_SHA
|
||||
- mv $DAMASKROOT/PRIVATE/documenting/DAMASK_* $BACKUP/$CI_COMMIT_SHA/
|
||||
except:
|
||||
- master
|
||||
- release
|
||||
|
||||
##################################################################################################
|
||||
mergeIntoMaster:
|
||||
stage: updateMaster
|
||||
|
@ -492,13 +508,24 @@ mergeIntoMaster:
|
|||
- 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
|
||||
- sed -i "/$CI_PIPELINE_ID/d" $TESTROOT/GitLabCI.queue
|
||||
only:
|
||||
- development
|
||||
|
||||
###################################################################################################
|
||||
removeLock:
|
||||
removeData:
|
||||
stage: clean
|
||||
before_script:
|
||||
- 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
|
||||
|
||||
###################################################################################################
|
||||
removeLock:
|
||||
stage: releaseLock
|
||||
before_script:
|
||||
- echo 'Do nothing'
|
||||
when: always
|
||||
|
|
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
|||
Subproject commit 3ba3671e3d0ec9ac1dcc6a5521822b4828574581
|
||||
Subproject commit a629ee95c53924f2da16e8981855f9abcc1d50f7
|
Loading…
Reference in New Issue