This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a tempestrunrc for configuring run-tempest
Add a tempestrunrc file which is sourced by run-tempest to get input settings such as image-name and concurrency. Variables in tempestrunrc can be via the ExtraConfig of the image where the element is deployed. Change-Id: I24b04b22e911732ffb9884a15cc45afabc02100a
- Loading branch information
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{#tempestrun.concurrency}} | ||
# Number of test processes spawned by testr | ||
TEMPEST_RUN_CONCURRENCY={{tempestrun.concurrency}} | ||
{{/tempestrun.concurrency}} | ||
{{^tempestrun.concurrency}} | ||
# Number of test processes spawned by testr | ||
TEMPEST_RUN_CONCURRENCY=0 | ||
{{/tempestrun.concurrency}} | ||
{{#tempestrun.image}} | ||
# Name of the test image to be used | ||
TEMPEST_IMAGE_NAME={{tempestrun.image}} | ||
{{/tempestrun.image}} | ||
{{^tempestrun.image}} | ||
# Name of the test image to be used | ||
TEMPEST_IMAGE_NAME=user | ||
{{/tempestrun.image}} |