13 # Common parameters for the 'make' during CI tests
14 MAKEFLAGS: "-j5 --no-keep-going"
16 # GitLab-CI environment
18 # more attempts for more robust
19 GET_SOURCES_ATTEMPTS: "10"
20 ARTIFACT_DOWNLOAD_ATTEMPTS: "10"
22 # We use get_sources.sh script to fetch the submodules and/or re-fetch the repo
23 # if it was corrupted (if submodule update fails this can happen)
25 GIT_SUBMODULE_STRATEGY: none
29 IDF_PATH: "$CI_PROJECT_DIR"
32 APPLY_BOT_FILTER_SCRIPT: "$CI_PROJECT_DIR/tools/ci/apply_bot_filter.py"
33 CHECKOUT_REF_SCRIPT: "$CI_PROJECT_DIR/tools/ci/checkout_project_ref.py"
36 BOT_DOCKER_IMAGE_TAG: ":latest"
38 # When 'fetch' strategy is used, Gitlab removes untracked files before checking out
39 # new revision. However if the new revision doesn't include some of the submodules
40 # which were present in the old revision, such submodule directories would not be
41 # removed by the checkout. This extra step ensures that these stale submodules
43 .git_clean_stale_submodules: &git_clean_stale_submodules >
44 find . -name '.git' -not -path './.git' -printf '%P\n'
47 grep -q {} .gitmodules
48 || (echo "Removing {}, has .git directory but not in .gitmodules file"
51 # before each job, we need to check if this job is filtered by bot stage/job filter
52 .apply_bot_filter: &apply_bot_filter
53 python $APPLY_BOT_FILTER_SCRIPT || exit 0
56 - *git_clean_stale_submodules
57 # apply bot filter in before script
62 - echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64
63 - base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
64 - chmod 600 ~/.ssh/id_rsa
65 - echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
67 # Set IS_PRIVATE or IS_PUBLIC depending on if our branch is public or not
69 # (the same regular expressions are used to set these are used in 'only:' sections below
70 - source tools/ci/configure_ci_environment.sh
72 # fetch the submodules (& if necessary re-fetch repo) from gitlab
73 - time ./tools/ci/get-full-sources.sh
75 # used for check scripts which we want to run unconditionally
76 .do_nothing_before_no_filter:
77 before_script: &do_nothing_before_no_filter
78 - *git_clean_stale_submodules
80 # used for everything else where we want to do no prep, except for bot filter
82 before_script: &do_nothing_before
83 - *git_clean_stale_submodules
84 # apply bot filter in before script
86 - echo "Not setting up GitLab key, not fetching submodules"
87 - source tools/ci/configure_ci_environment.sh
89 .add_gitlab_key_before:
90 before_script: &add_gitlab_key_before
91 - *git_clean_stale_submodules
92 # apply bot filter in before script
94 - echo "Not fetching submodules"
95 - source tools/ci/configure_ci_environment.sh
99 - echo -n $GITLAB_KEY > ~/.ssh/id_rsa_base64
100 - base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
101 - chmod 600 ~/.ssh/id_rsa
102 - echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
106 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
113 - git clone https://github.com/espressif/esp-idf-template.git
114 - cd esp-idf-template
115 # Try to use the same branch name for esp-idf-template that we're
116 # using on esp-idf. If it doesn't exist then just stick to the default
118 - python $CHECKOUT_REF_SCRIPT esp-idf-template
119 # Test debug build (default)
121 # Now test release build
123 - sed -i.bak -e's/CONFIG_OPTIMIZATION_LEVEL_DEBUG\=y/CONFIG_OPTIMIZATION_LEVEL_RELEASE=y/' sdkconfig
125 # Check if there are any stray printf/ets_printf references in WiFi libs
126 - cd ../components/esp32/lib
127 - test $(xtensa-esp32-elf-nm *.a | grep -w printf | wc -l) -eq 0
128 - test $(xtensa-esp32-elf-nm *.a | grep -w ets_printf | wc -l) -eq 0
131 .build_template: &build_template
133 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
140 .build_ssc_template: &build_ssc_template
147 SSC_CONFIG_FOLDER: "$CI_PROJECT_DIR/SSC/configs/ESP32_IDF"
149 - git clone $SSC_REPOSITORY
151 - python $CHECKOUT_REF_SCRIPT SSC
152 - MAKEFLAGS= ./ci_build_ssc.sh "${CI_JOB_NAME}" "${IDF_PATH}/.gitlab-ci.yml"
154 # don't forget to add to dependency to test_template when adding new build_ssc jobs
156 <<: *build_ssc_template
159 <<: *build_ssc_template
162 <<: *build_ssc_template
164 # If you want to add new build ssc jobs, please add it into dependencies of `assign_test` and `.test_template`
170 - tools/unit-test-app/output
171 - components/idf_test/unit_test/TestCaseAll.yml
172 - components/idf_test/unit_test/CIConfigs/*.yml
175 - cd tools/unit-test-app
176 - MAKEFLAGS= make help # make sure kconfig tools are built in single process
177 - make ut-clean-all-configs
178 - export EXTRA_CFLAGS="-Werror -Werror=deprecated-declarations"
179 - export EXTRA_CXXFLAGS=${EXTRA_CFLAGS}
180 - make ut-build-all-configs
181 - python tools/UnitTestParser.py
183 .build_examples_make_template: &build_examples_make_template
189 - build_examples/*/*/*/build/*.bin
190 - build_examples/*/*/*/build/*.elf
191 - build_examples/*/*/*/build/*.map
192 - build_examples/*/*/*/build/download.config
193 - build_examples/*/*/*/build/bootloader/*.bin
198 LOG_PATH: "$CI_PROJECT_DIR/log_examples_make"
200 # it's not possible to build 100% out-of-tree and have the "artifacts"
201 # mechanism work, but this is the next best thing
202 - rm -rf build_examples
203 - mkdir build_examples
205 # build some of examples
206 - mkdir -p ${LOG_PATH}
207 - ${IDF_PATH}/tools/ci/build_examples.sh "${CI_JOB_NAME}"
209 # same as above, but for CMake
210 .build_examples_cmake_template: &build_examples_cmake_template
216 - build_examples_cmake/*/*/*/build/*.bin
217 - build_examples_cmake/*/*/*/build/*.elf
218 - build_examples_cmake/*/*/*/build/*.map
219 - build_examples_cmake/*/*/*/build/download.config
220 - build_examples_cmake/*/*/*/build/bootloader/*.bin
225 LOG_PATH: "$CI_PROJECT_DIR/log_examples_cmake"
227 # it's not possible to build 100% out-of-tree and have the "artifacts"
228 # mechanism work, but this is the next best thing
229 - rm -rf build_examples_cmake
230 - mkdir build_examples_cmake
231 - cd build_examples_cmake
232 # build some of examples
233 - mkdir -p ${LOG_PATH}
234 - ${IDF_PATH}/tools/ci/build_examples_cmake.sh "${CI_JOB_NAME}"
236 build_examples_make_00:
237 <<: *build_examples_make_template
239 build_examples_make_01:
240 <<: *build_examples_make_template
242 build_examples_make_02:
243 <<: *build_examples_make_template
245 build_examples_make_03:
246 <<: *build_examples_make_template
248 build_examples_make_04:
249 <<: *build_examples_make_template
251 build_examples_make_05:
252 <<: *build_examples_make_template
254 build_examples_make_06:
255 <<: *build_examples_make_template
257 build_examples_make_07:
258 <<: *build_examples_make_template
260 build_examples_cmake_00:
261 <<: *build_examples_cmake_template
263 build_examples_cmake_01:
264 <<: *build_examples_cmake_template
266 build_examples_cmake_02:
267 <<: *build_examples_cmake_template
269 build_examples_cmake_03:
270 <<: *build_examples_cmake_template
272 build_examples_cmake_04:
273 <<: *build_examples_cmake_template
275 build_examples_cmake_05:
276 <<: *build_examples_cmake_template
278 build_examples_cmake_06:
279 <<: *build_examples_cmake_template
281 build_examples_cmake_07:
282 <<: *build_examples_cmake_template
284 # If you want to add new build example jobs, please add it into dependencies of `.example_test_template`
288 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
294 # English version of documentation
295 - docs/en/doxygen-warning-log.txt
296 - docs/en/sphinx-warning-log.txt
297 - docs/en/sphinx-warning-log-sanitized.txt
298 - docs/en/_build/html
299 # Chinese version of documentation
300 - docs/zh_CN/doxygen-warning-log.txt
301 - docs/zh_CN/sphinx-warning-log.txt
302 - docs/zh_CN/sphinx-warning-log-sanitized.txt
303 - docs/zh_CN/_build/html
307 - ./check_lang_folder_sync.sh
311 - ../check_doc_warnings.sh
315 - ../check_doc_warnings.sh
319 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
321 tools/cmake/run_cmake_lint.sh
323 .host_test_template: &host_test_template
325 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
331 <<: *host_test_template
333 - cd components/nvs_flash/test_nvs_host
337 <<: *host_test_template
340 - components/nvs_flash/test_nvs_host/coverage_report
344 # This job takes a few hours to finish, so only run it on demand
346 BOT_NEEDS_TRIGGER_BY_NAME: 1
348 - cd components/nvs_flash/test_nvs_host
349 - make coverage_report
351 test_partition_table_on_host:
352 <<: *host_test_template
356 - cd components/partition_table/test_gen_esp32part_host
357 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./gen_esp32part_tests.py
360 <<: *host_test_template
363 - components/wear_levelling/test_wl_host/coverage_report.zip
366 - cd components/wear_levelling/test_wl_host
370 <<: *host_test_template
372 - cd components/fatfs/test_fatfs_host/
375 .host_fuzzer_test_template: &host_fuzzer_test_template
377 image: $CI_DOCKER_REGISTRY/afl-fuzzer-test
384 - ${FUZZER_TEST_DIR}/out/crashes
385 - ${FUZZER_TEST_DIR}/fuzz_output.log
388 # can only be triggered
391 - export AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 && export AFL_SKIP_CPUFREQ=1
392 - cd ${FUZZER_TEST_DIR}
393 # run AFL fuzzer for one hour
394 - ( ( make ${FUZZER_PARAMS} fuzz | tee fuzz_output.log | grep -v '\(Fuzzing test case\|Entering queue cycle\)' ) || pkill sleep ) &
395 - ( sleep 3600 || mkdir -p out/crashes/env_failed ) && pkill afl-fuz
396 # check no crashes found
397 - test -z "$(ls out/crashes/)" || exit 1
399 test_mdns_fuzzer_on_host:
400 <<: *host_fuzzer_test_template
402 BOT_NEEDS_TRIGGER_BY_NAME: 1
403 FUZZER_TEST_DIR: components/mdns/test_afl_fuzz_host
405 test_lwip_dns_fuzzer_on_host:
406 <<: *host_fuzzer_test_template
408 BOT_NEEDS_TRIGGER_BY_NAME: 1
409 FUZZER_TEST_DIR: components/lwip/test_afl_host
410 FUZZER_PARAMS: MODE=dns
412 test_lwip_dhcp_fuzzer_on_host:
413 <<: *host_fuzzer_test_template
415 BOT_NEEDS_TRIGGER_BY_NAME: 1
416 FUZZER_TEST_DIR: components/lwip/test_afl_host
417 FUZZER_PARAMS: MODE=dhcp_client
419 test_lwip_dhcps_fuzzer_on_host:
420 <<: *host_fuzzer_test_template
422 BOT_NEEDS_TRIGGER_BY_NAME: 1
423 FUZZER_TEST_DIR: components/lwip/test_afl_host
424 FUZZER_PARAMS: MODE=dhcp_server
427 <<: *host_test_template
429 - cd components/spiffs/test_spiffs_host/
432 test_multi_heap_on_host:
433 <<: *host_test_template
435 - cd components/heap/test_multi_heap_host
436 - ./test_all_configs.sh
439 <<: *host_test_template
441 - cd tools/kconfig_new/test
442 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test_confserver.py
445 <<: *host_test_template
447 - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
448 - rm -rf test_build_system
449 - mkdir test_build_system
450 - cd test_build_system
451 - ${IDF_PATH}/tools/ci/test_build_system.sh
453 test_build_system_cmake:
454 <<: *host_test_template
456 - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
457 - rm -rf test_build_system
458 - mkdir test_build_system
459 - cd test_build_system
460 - ${IDF_PATH}/tools/ci/test_build_system_cmake.sh
463 <<: *host_test_template
467 - tools/test_idf_monitor/outputs/*
470 - cd ${IDF_PATH}/tools/test_idf_monitor
471 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./run_test_idf_monitor.py
474 <<: *host_test_template
478 - tools/test_idf_size/output
479 - tools/test_idf_size/.coverage
482 - cd ${IDF_PATH}/tools/test_idf_size
483 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test.sh
485 test_esp_err_to_name_on_host:
486 <<: *host_test_template
490 - components/esp32/esp_err_to_name.c
493 - cd ${IDF_PATH}/tools/
494 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 2.7.15 ./gen_esp_err_to_name.py
495 - git diff --exit-code -- ../components/esp32/esp_err_to_name.c || (echo 'Differences found. Please run gen_esp_err_to_name.py and commit the changes.'; exit 1)
496 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.4.8 ./gen_esp_err_to_name.py
497 - git diff --exit-code -- ../components/esp32/esp_err_to_name.c || (echo 'Differences found between running under Python 2 and 3.'; exit 1)
500 <<: *host_test_template
504 - components/espcoredump/test/.coverage
505 - components/espcoredump/test/output
508 - cd components/espcoredump/test/
509 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test_espcoredump.sh
513 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
519 - /^v\d+\.\d+(\.\d+)?($|-)/
522 before_script: *do_nothing_before
526 - echo -n $GH_PUSH_KEY > ~/.ssh/id_rsa_base64
527 - base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
528 - chmod 600 ~/.ssh/id_rsa
529 - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
530 - git remote remove github &>/dev/null || true
531 - git remote add github git@github.com:espressif/esp-idf.git
532 - tools/ci/push_to_github.sh
536 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
542 - /^v\d+\.\d+(\.\d+)?($|-)/
546 before_script: *do_nothing_before
550 - echo -n $DOCS_DEPLOY_KEY > ~/.ssh/id_rsa_base64
551 - base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
552 - chmod 600 ~/.ssh/id_rsa
553 - echo -e "Host $DOCS_SERVER\n\tStrictHostKeyChecking no\n\tUser $DOCS_SERVER_USER\n" >> ~/.ssh/config
554 - export GIT_VER=$(git describe --always)
557 - tar czvf $GIT_VER.tar.gz $GIT_VER
558 - scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/en
559 - ssh $DOCS_SERVER -x "cd $DOCS_PATH/en && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
560 - cd ../../zh_CN/_build/
562 - tar czvf $GIT_VER.tar.gz $GIT_VER
563 - scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/zh_CN
564 - ssh $DOCS_SERVER -x "cd $DOCS_PATH/zh_CN && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
565 # add link to preview doc
566 - echo "[document preview][en] $CI_DOCKER_REGISTRY/docs/esp-idf/en/${GIT_VER}/index.html"
567 - echo "[document preview][zh_CN] $CI_DOCKER_REGISTRY/docs/esp-idf/zh_CN/${GIT_VER}/index.html"
571 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
575 # can only be triggered
579 - docs/_build/linkcheck
582 # must be triggered with CHECK_LINKS=Yes, otherwise exit without test
583 - test "$CHECK_LINKS" = "Yes" || exit 0
584 # can only run on master branch (otherwise the commit is not on Github yet)
585 - test "${CI_COMMIT_REF_NAME}" = "master" || exit 0
589 .check_job_template: &check_job_template
591 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
595 before_script: *do_nothing_before_no_filter
598 <<: *check_job_template
600 - tools/ci/check-line-endings.sh ${IDF_PATH}
603 <<: *check_job_template
606 - git log -n10 --oneline
607 # commit start with "WIP: " need to be squashed before merge
608 - 'git log --pretty=%s master.. -- | grep "^WIP: " && exit 1 || exit 0'
611 <<: *check_job_template
613 - tools/ci/check-executable.sh
615 check_examples_cmake_make:
616 <<: *check_job_template
620 - /^v\d+\.\d+(\.\d+)?($|-)/
621 before_script: *do_nothing_before
623 - tools/ci/check_examples_cmake_make.sh
625 check_submodule_sync:
626 <<: *check_job_template
630 # check if all submodules are correctly synced to public repostory
631 - git submodule update --init --recursive
633 check_artifacts_expire_time:
634 <<: *check_job_template
636 # check if we have set expire time for all artifacts
637 - python tools/ci/check_artifacts_expire_time.py
642 image: $CI_DOCKER_REGISTRY/ubuntu-test-env$BOT_DOCKER_IMAGE_TAG
644 # gitlab ci do not support match job with RegEx or wildcard now in dependencies.
645 # we have a lot build example jobs. now we don't use dependencies, just download all artificats of build stage.
650 - build_esp_idf_tests
652 TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
653 EXAMPLE_CONFIG_OUTPUT_PATH: "$CI_PROJECT_DIR/examples/test_configs"
656 - components/idf_test/*/CIConfigs
657 - components/idf_test/*/TC.sqlite
658 - $EXAMPLE_CONFIG_OUTPUT_PATH
660 before_script: *add_gitlab_key_before
662 # assign example tests
663 - python $TEST_FW_PATH/CIAssignExampleTest.py $IDF_PATH/examples $IDF_PATH/.gitlab-ci.yml $EXAMPLE_CONFIG_OUTPUT_PATH
664 # assign unit test cases
665 - python $TEST_FW_PATH/CIAssignUnitTest.py $IDF_PATH/components/idf_test/unit_test/TestCaseAll.yml $IDF_PATH/.gitlab-ci.yml $IDF_PATH/components/idf_test/unit_test/CIConfigs
666 # clone test script to assign tests
667 - git clone $TEST_SCRIPT_REPOSITORY
668 - cd auto_test_script
669 - python $CHECKOUT_REF_SCRIPT auto_test_script
670 # assgin integration test cases
671 - python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/SSC/ssc_bin
673 .example_test_template: &example_test_template
674 stage: integration_test
679 - /^v\d+\.\d+(\.\d+)?($|-)/
684 - build_examples_make_00
685 - build_examples_make_01
686 - build_examples_make_02
687 - build_examples_make_03
688 - build_examples_make_04
689 - build_examples_make_05
690 - build_examples_make_06
691 - build_examples_make_07
692 - build_examples_cmake_00
693 - build_examples_cmake_01
694 - build_examples_cmake_02
695 - build_examples_cmake_03
696 - build_examples_cmake_04
697 - build_examples_cmake_05
698 - build_examples_cmake_06
699 - build_examples_cmake_07
706 TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
707 TEST_CASE_PATH: "$CI_PROJECT_DIR/examples"
708 CONFIG_FILE: "$CI_PROJECT_DIR/examples/test_configs/$CI_JOB_NAME.yml"
709 LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
710 ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
712 # first test if config file exists, if not exist, exit 0
713 - test -e $CONFIG_FILE || exit 0
714 # clone test env configs
715 - git clone $TEST_ENV_CONFIG_REPOSITORY
716 - cd ci-test-runner-configs
717 - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
720 - python Runner.py $TEST_CASE_PATH -c $CONFIG_FILE -e $ENV_FILE
722 .unit_test_template: &unit_test_template
723 <<: *example_test_template
727 - build_esp_idf_tests
729 TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
730 TEST_CASE_PATH: "$CI_PROJECT_DIR/tools/unit-test-app"
731 CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/unit_test/CIConfigs/$CI_JOB_NAME.yml"
732 LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
733 ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
735 .test_template: &test_template
736 stage: integration_test
741 - /^v\d+\.\d+(\.\d+)?($|-)/
755 LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32_IDF"
756 LOG_PATH: "$CI_PROJECT_DIR/$CI_COMMIT_SHA"
757 TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/integration_test"
758 MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml"
759 CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/integration_test/CIConfigs/$CI_JOB_NAME.yml"
760 before_script: *add_gitlab_key_before
762 # first test if config file exists, if not exist, exit 0
763 - test -e $CONFIG_FILE || exit 0
764 # clone local test env configs
765 - git clone $TEST_ENV_CONFIG_REPOSITORY
766 - cd ci-test-runner-configs
767 - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
769 - git clone $TEST_SCRIPT_REPOSITORY
770 - cd auto_test_script
771 - python $CHECKOUT_REF_SCRIPT auto_test_script
773 - python CIRunner.py -l "$LOG_PATH/$CI_JOB_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH -m $MODULE_UPDATE_FILE
787 # clone local test env configs
788 - git clone $TEST_ENV_CONFIG_REPOSITORY
789 - cd ci-test-runner-configs
790 - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
792 - git clone $TEST_SCRIPT_REPOSITORY
793 - cd auto_test_script
794 - git checkout ${CI_COMMIT_REF_NAME} || echo "Using default branch..."
796 - ./Tools/prepare_nvs_bin.sh
798 - python CIRunner.py -l "$LOG_PATH/$CI_JOB_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH -m $MODULE_UPDATE_FILE
801 <<: *example_test_template
807 <<: *example_test_template
808 image: $CI_DOCKER_REGISTRY/ubuntu-test-env$BOT_DOCKER_IMAGE_TAG
814 <<: *example_test_template
820 <<: *example_test_template
826 <<: *example_test_template
832 <<: *unit_test_template
838 <<: *unit_test_template
844 <<: *unit_test_template
850 <<: *unit_test_template
856 <<: *unit_test_template
862 <<: *unit_test_template
868 <<: *unit_test_template
874 <<: *unit_test_template
880 <<: *unit_test_template
886 <<: *unit_test_template
892 <<: *unit_test_template
898 <<: *unit_test_template
904 <<: *unit_test_template
910 <<: *unit_test_template
916 <<: *unit_test_template
922 <<: *unit_test_template
928 <<: *unit_test_template
934 <<: *unit_test_template
940 <<: *unit_test_template
946 <<: *unit_test_template
952 <<: *unit_test_template
958 <<: *unit_test_template
964 <<: *unit_test_template
970 <<: *unit_test_template
976 <<: *unit_test_template
982 <<: *unit_test_template
988 <<: *unit_test_template
994 <<: *unit_test_template
1000 <<: *unit_test_template
1006 <<: *unit_test_template
1012 <<: *unit_test_template
1018 <<: *unit_test_template
1024 <<: *unit_test_template
1030 <<: *unit_test_template
1036 <<: *unit_test_template
1042 <<: *unit_test_template
1048 <<: *unit_test_template
1054 <<: *unit_test_template
1060 <<: *unit_test_template
1066 <<: *unit_test_template
1072 <<: *unit_test_template
1078 <<: *unit_test_template
1084 <<: *unit_test_template
1091 <<: *unit_test_template
1098 <<: *unit_test_template
1105 <<: *unit_test_template
1112 <<: *unit_test_template
1119 <<: *unit_test_template
1126 <<: *unit_test_template
1133 <<: *unit_test_template
1140 <<: *unit_test_template
1147 <<: *unit_test_template
1154 <<: *unit_test_template
1161 <<: *unit_test_template
1168 <<: *unit_test_template
1175 <<: *unit_test_template
1182 <<: *unit_test_template
1189 <<: *unit_test_template
1196 <<: *unit_test_template
1202 <<: *unit_test_template
1208 <<: *unit_test_template
1214 <<: *unit_test_template
1221 <<: *unit_test_template
1227 <<: *unit_test_template
1233 <<: *unit_test_template
1239 <<: *unit_test_template
1246 <<: *unit_test_template
1252 <<: *unit_test_template
1258 <<: *unit_test_template
1264 <<: *unit_test_template
1271 <<: *unit_test_template
1277 <<: *unit_test_template
1283 <<: *unit_test_template
1289 <<: *unit_test_template
1296 <<: *unit_test_template
1302 <<: *unit_test_template
1308 <<: *unit_test_template
1314 <<: *unit_test_template
1321 <<: *unit_test_template
1328 <<: *unit_test_template
1335 <<: *unit_test_template