On Thu, Nov 19, 2020 at 10:43:58AM +0800, Xu Xijian wrote:
On Thu, Nov 19, 2020 at 08:47:17AM +0800, Yu Chuan wrote:
[Why] Result rootfs of dailybuild requires multiple test jobs.
requires => needs
Good.
[How]
- jobs/iso2rootfs.yaml.
Before: test_yaml, test_os_mount, test_testbox After: test1_yaml,test1_os_mount, test1_testbox test2_yaml,test2_os_mount, test2_testbox
Plsase add space after test1_yaml, and test2_yaml,
Got it.
- while [ -n "${test_yaml}" ]
- do
submit_one_yaml
test_yaml_index=$((${test_yaml_index} +1))
test_num="test${test_yaml_index}"
test_yaml="$(eval echo "\$${test_num}_yaml")"
- done
Can set a threshold of number of test_yaml files, MAX_TEST_YAML_NUM=100
Good point!
-------- Thanks Yu Chuan
Thanks, Xijian