report all pipelines in front of me

This commit is contained in:
Martin Diehl 2020-09-18 14:19:23 +02:00
parent beb8f07a91
commit 25ad077640
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ before_script:
fi fi
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ]; - while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ];
do sleep 5m; do sleep 5m;
echo "next pipeline in queue has ID $(head -n 1 $TESTROOT/GitLabCI.queue)"; echo -e "Currently queued pipelines:\n$(cat $TESTROOT/GitLabCI.queue)\n";
done done
- source $DAMASKROOT/env/DAMASK.sh - source $DAMASKROOT/env/DAMASK.sh
- cd $DAMASKROOT/PRIVATE/testing - cd $DAMASKROOT/PRIVATE/testing
@ -88,7 +88,7 @@ checkout:
- echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue - echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ]; - while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ];
do sleep 5m; do sleep 5m;
echo "next pipeline in queue has ID $(head -n 1 $TESTROOT/GitLabCI.queue)"; echo -e "Currently queued pipelines:\n$(cat $TESTROOT/GitLabCI.queue)\n";
done done
script: script:
- mkdir -p $DAMASKROOT - mkdir -p $DAMASKROOT