Skip to content

Commit

Permalink
add variable TESTLIMIT to 50 which can be configurable in scheduled p…
Browse files Browse the repository at this point in the history
…ipeline
  • Loading branch information
shahzebsiddiqui committed Sep 12, 2023
1 parent 77f569f commit c43e401
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ stages:
stage: test
before_script:
- *setup-buildtest
variables:
TESTLIMIT: ${TESTLIMIT:-50} # Set LIMIT to 50 if it's not defined
script:
- buildtest buildspec find --rebuild --root $CI_PROJECT_DIR/buildspecs
- buildtest build -t $TAGNAME --limit 25 --account m3503_g --timeout 3600 --testdir $CFS/m3503/buildtest/runs/$CI_JOB_NAME/$(date +%F)
- buildtest build -t $TAGNAME --limit $TESTLIMIT --account m3503_g --timeout 3600 --testdir $CFS/m3503/buildtest/runs/$CI_JOB_NAME/$(date +%F)
- buildtest report --fail | tee $CI_PROJECT_DIR/.artifacts/report.txt
- buildtest cdash upload $CDASH_BUILD_NAME
- mkdir -p $CI_PROJECT_DIR/.artifacts
Expand Down

0 comments on commit c43e401

Please sign in to comment.