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
343 # This job takes a few hours to finish, so only run it on demand
345 BOT_NEEDS_TRIGGER_BY_NAME: 1
347 - cd components/nvs_flash/test_nvs_host
348 - make coverage_report
350 test_partition_table_on_host:
351 <<: *host_test_template
355 - cd components/partition_table/test_gen_esp32part_host
356 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./gen_esp32part_tests.py
359 <<: *host_test_template
362 - components/wear_levelling/test_wl_host/coverage_report.zip
364 - cd components/wear_levelling/test_wl_host
368 <<: *host_test_template
370 - cd components/fatfs/test_fatfs_host/
373 .host_fuzzer_test_template: &host_fuzzer_test_template
375 image: $CI_DOCKER_REGISTRY/afl-fuzzer-test
382 - ${FUZZER_TEST_DIR}/out/crashes
383 - ${FUZZER_TEST_DIR}/fuzz_output.log
386 # can only be triggered
389 - export AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 && export AFL_SKIP_CPUFREQ=1
390 - cd ${FUZZER_TEST_DIR}
391 # run AFL fuzzer for one hour
392 - ( ( make ${FUZZER_PARAMS} fuzz | tee fuzz_output.log | grep -v '\(Fuzzing test case\|Entering queue cycle\)' ) || pkill sleep ) &
393 - ( sleep 3600 || mkdir -p out/crashes/env_failed ) && pkill afl-fuz
394 # check no crashes found
395 - test -z "$(ls out/crashes/)" || exit 1
397 test_mdns_fuzzer_on_host:
398 <<: *host_fuzzer_test_template
400 BOT_NEEDS_TRIGGER_BY_NAME: 1
401 FUZZER_TEST_DIR: components/mdns/test_afl_fuzz_host
403 test_lwip_dns_fuzzer_on_host:
404 <<: *host_fuzzer_test_template
406 BOT_NEEDS_TRIGGER_BY_NAME: 1
407 FUZZER_TEST_DIR: components/lwip/test_afl_host
408 FUZZER_PARAMS: MODE=dns
410 test_lwip_dhcp_fuzzer_on_host:
411 <<: *host_fuzzer_test_template
413 BOT_NEEDS_TRIGGER_BY_NAME: 1
414 FUZZER_TEST_DIR: components/lwip/test_afl_host
415 FUZZER_PARAMS: MODE=dhcp_client
417 test_lwip_dhcps_fuzzer_on_host:
418 <<: *host_fuzzer_test_template
420 BOT_NEEDS_TRIGGER_BY_NAME: 1
421 FUZZER_TEST_DIR: components/lwip/test_afl_host
422 FUZZER_PARAMS: MODE=dhcp_server
425 <<: *host_test_template
427 - cd components/spiffs/test_spiffs_host/
430 test_multi_heap_on_host:
431 <<: *host_test_template
433 - cd components/heap/test_multi_heap_host
434 - ./test_all_configs.sh
437 <<: *host_test_template
439 - cd tools/kconfig_new/test
440 - ./test_confserver.py
443 <<: *host_test_template
445 - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
446 - rm -rf test_build_system
447 - mkdir test_build_system
448 - cd test_build_system
449 - ${IDF_PATH}/tools/ci/test_build_system.sh
451 test_build_system_cmake:
452 <<: *host_test_template
454 - ${IDF_PATH}/tools/ci/test_configure_ci_environment.sh
455 - rm -rf test_build_system
456 - mkdir test_build_system
457 - cd test_build_system
458 - ${IDF_PATH}/tools/ci/test_build_system_cmake.sh
461 <<: *host_test_template
465 - tools/test_idf_monitor/outputs/*
468 - cd ${IDF_PATH}/tools/test_idf_monitor
469 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./run_test_idf_monitor.py
472 <<: *host_test_template
476 - tools/test_idf_size/output
477 - tools/test_idf_size/.coverage
480 - cd ${IDF_PATH}/tools/test_idf_size
481 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test.sh
483 test_esp_err_to_name_on_host:
484 <<: *host_test_template
488 - components/esp32/esp_err_to_name.c
491 - cd ${IDF_PATH}/tools/
492 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 2.7.15 ./gen_esp_err_to_name.py
493 - 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)
494 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.4.8 ./gen_esp_err_to_name.py
495 - git diff --exit-code -- ../components/esp32/esp_err_to_name.c || (echo 'Differences found between running under Python 2 and 3.'; exit 1)
498 <<: *host_test_template
502 - components/espcoredump/test/.coverage
503 - components/espcoredump/test/output
506 - cd components/espcoredump/test/
507 - ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh ./test_espcoredump.sh
511 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
517 - /^v\d+\.\d+(\.\d+)?($|-)/
520 before_script: *do_nothing_before
524 - echo -n $GH_PUSH_KEY > ~/.ssh/id_rsa_base64
525 - base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
526 - chmod 600 ~/.ssh/id_rsa
527 - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
528 - git remote remove github &>/dev/null || true
529 - git remote add github git@github.com:espressif/esp-idf.git
530 - tools/ci/push_to_github.sh
534 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
540 - /^v\d+\.\d+(\.\d+)?($|-)/
544 before_script: *do_nothing_before
548 - echo -n $DOCS_DEPLOY_KEY > ~/.ssh/id_rsa_base64
549 - base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
550 - chmod 600 ~/.ssh/id_rsa
551 - echo -e "Host $DOCS_SERVER\n\tStrictHostKeyChecking no\n\tUser $DOCS_SERVER_USER\n" >> ~/.ssh/config
552 - export GIT_VER=$(git describe --always)
555 - tar czvf $GIT_VER.tar.gz $GIT_VER
556 - scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/en
557 - ssh $DOCS_SERVER -x "cd $DOCS_PATH/en && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
558 - cd ../../zh_CN/_build/
560 - tar czvf $GIT_VER.tar.gz $GIT_VER
561 - scp $GIT_VER.tar.gz $DOCS_SERVER:$DOCS_PATH/zh_CN
562 - ssh $DOCS_SERVER -x "cd $DOCS_PATH/zh_CN && tar xzvf $GIT_VER.tar.gz && rm -f latest && ln -s $GIT_VER latest"
563 # add link to preview doc
564 - echo "[document preview][en] $CI_DOCKER_REGISTRY/docs/esp-idf/en/${GIT_VER}/index.html"
565 - echo "[document preview][zh_CN] $CI_DOCKER_REGISTRY/docs/esp-idf/zh_CN/${GIT_VER}/index.html"
569 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
573 # can only be triggered
577 - docs/_build/linkcheck
580 # must be triggered with CHECK_LINKS=Yes, otherwise exit without test
581 - test "$CHECK_LINKS" = "Yes" || exit 0
582 # can only run on master branch (otherwise the commit is not on Github yet)
583 - test "${CI_COMMIT_REF_NAME}" = "master" || exit 0
589 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
593 before_script: *do_nothing_before_no_filter
595 - tools/ci/check-line-endings.sh ${IDF_PATH}
599 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
603 before_script: *do_nothing_before_no_filter
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'
612 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
616 before_script: *do_nothing_before_no_filter
618 - tools/ci/check-executable.sh
620 check_examples_cmake_make:
622 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
628 - /^v\d+\.\d+(\.\d+)?($|-)/
630 before_script: *do_nothing_before
632 - tools/ci/check_examples_cmake_make.sh
634 check_submodule_sync:
636 image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
642 before_script: *do_nothing_before_no_filter
644 # check if all submodules are correctly synced to public repostory
645 - git submodule update --init --recursive
650 image: $CI_DOCKER_REGISTRY/ubuntu-test-env$BOT_DOCKER_IMAGE_TAG
652 # gitlab ci do not support match job with RegEx or wildcard now in dependencies.
653 # we have a lot build example jobs. now we don't use dependencies, just download all artificats of build stage.
658 - build_esp_idf_tests
660 TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
661 EXAMPLE_CONFIG_OUTPUT_PATH: "$CI_PROJECT_DIR/examples/test_configs"
664 - components/idf_test/*/CIConfigs
665 - components/idf_test/*/TC.sqlite
666 - $EXAMPLE_CONFIG_OUTPUT_PATH
668 before_script: *add_gitlab_key_before
670 # assign example tests
671 - python $TEST_FW_PATH/CIAssignExampleTest.py $IDF_PATH/examples $IDF_PATH/.gitlab-ci.yml $EXAMPLE_CONFIG_OUTPUT_PATH
672 # assign unit test cases
673 - 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
674 # clone test script to assign tests
675 - git clone $TEST_SCRIPT_REPOSITORY
676 - cd auto_test_script
677 - python $CHECKOUT_REF_SCRIPT auto_test_script
678 # assgin integration test cases
679 - python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $IDF_PATH/.gitlab-ci.yml -b $IDF_PATH/SSC/ssc_bin
681 .example_test_template: &example_test_template
682 stage: integration_test
687 - /^v\d+\.\d+(\.\d+)?($|-)/
692 - build_examples_make_00
693 - build_examples_make_01
694 - build_examples_make_02
695 - build_examples_make_03
696 - build_examples_make_04
697 - build_examples_make_05
698 - build_examples_make_06
699 - build_examples_make_07
700 - build_examples_cmake_00
701 - build_examples_cmake_01
702 - build_examples_cmake_02
703 - build_examples_cmake_03
704 - build_examples_cmake_04
705 - build_examples_cmake_05
706 - build_examples_cmake_06
707 - build_examples_cmake_07
714 TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
715 TEST_CASE_PATH: "$CI_PROJECT_DIR/examples"
716 CONFIG_FILE: "$CI_PROJECT_DIR/examples/test_configs/$CI_JOB_NAME.yml"
717 LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
718 ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
720 # first test if config file exists, if not exist, exit 0
721 - test -e $CONFIG_FILE || exit 0
722 # clone test env configs
723 - git clone $TEST_ENV_CONFIG_REPOSITORY
724 - cd ci-test-runner-configs
725 - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
728 - python Runner.py $TEST_CASE_PATH -c $CONFIG_FILE -e $ENV_FILE
730 .unit_test_template: &unit_test_template
731 <<: *example_test_template
735 - build_esp_idf_tests
737 TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
738 TEST_CASE_PATH: "$CI_PROJECT_DIR/tools/unit-test-app"
739 CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/unit_test/CIConfigs/$CI_JOB_NAME.yml"
740 LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
741 ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
743 .test_template: &test_template
744 stage: integration_test
749 - /^v\d+\.\d+(\.\d+)?($|-)/
763 LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32_IDF"
764 LOG_PATH: "$CI_PROJECT_DIR/$CI_COMMIT_SHA"
765 TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/integration_test"
766 MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml"
767 CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/integration_test/CIConfigs/$CI_JOB_NAME.yml"
768 before_script: *add_gitlab_key_before
770 # first test if config file exists, if not exist, exit 0
771 - test -e $CONFIG_FILE || exit 0
772 # clone local test env configs
773 - git clone $TEST_ENV_CONFIG_REPOSITORY
774 - cd ci-test-runner-configs
775 - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
777 - git clone $TEST_SCRIPT_REPOSITORY
778 - cd auto_test_script
779 - python $CHECKOUT_REF_SCRIPT auto_test_script
781 - 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
795 # clone local test env configs
796 - git clone $TEST_ENV_CONFIG_REPOSITORY
797 - cd ci-test-runner-configs
798 - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs
800 - git clone $TEST_SCRIPT_REPOSITORY
801 - cd auto_test_script
802 - git checkout ${CI_COMMIT_REF_NAME} || echo "Using default branch..."
804 - ./Tools/prepare_nvs_bin.sh
806 - 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
809 <<: *example_test_template
815 <<: *example_test_template
816 image: $CI_DOCKER_REGISTRY/ubuntu-test-env$BOT_DOCKER_IMAGE_TAG
822 <<: *example_test_template
828 <<: *example_test_template
834 <<: *unit_test_template
840 <<: *unit_test_template
846 <<: *unit_test_template
852 <<: *unit_test_template
858 <<: *unit_test_template
864 <<: *unit_test_template
870 <<: *unit_test_template
876 <<: *unit_test_template
882 <<: *unit_test_template
888 <<: *unit_test_template
894 <<: *unit_test_template
900 <<: *unit_test_template
906 <<: *unit_test_template
912 <<: *unit_test_template
918 <<: *unit_test_template
924 <<: *unit_test_template
930 <<: *unit_test_template
936 <<: *unit_test_template
942 <<: *unit_test_template
948 <<: *unit_test_template
954 <<: *unit_test_template
960 <<: *unit_test_template
966 <<: *unit_test_template
972 <<: *unit_test_template
978 <<: *unit_test_template
984 <<: *unit_test_template
990 <<: *unit_test_template
996 <<: *unit_test_template
1002 <<: *unit_test_template
1008 <<: *unit_test_template
1014 <<: *unit_test_template
1020 <<: *unit_test_template
1026 <<: *unit_test_template
1032 <<: *unit_test_template
1038 <<: *unit_test_template
1044 <<: *unit_test_template
1050 <<: *unit_test_template
1056 <<: *unit_test_template
1062 <<: *unit_test_template
1068 <<: *unit_test_template
1074 <<: *unit_test_template
1080 <<: *unit_test_template
1086 <<: *unit_test_template
1093 <<: *unit_test_template
1100 <<: *unit_test_template
1107 <<: *unit_test_template
1114 <<: *unit_test_template
1121 <<: *unit_test_template
1128 <<: *unit_test_template
1135 <<: *unit_test_template
1142 <<: *unit_test_template
1149 <<: *unit_test_template
1156 <<: *unit_test_template
1163 <<: *unit_test_template
1170 <<: *unit_test_template
1177 <<: *unit_test_template
1183 <<: *unit_test_template
1189 <<: *unit_test_template
1195 <<: *unit_test_template
1202 <<: *unit_test_template
1208 <<: *unit_test_template
1214 <<: *unit_test_template
1220 <<: *unit_test_template
1227 <<: *unit_test_template
1233 <<: *unit_test_template
1239 <<: *unit_test_template
1245 <<: *unit_test_template
1252 <<: *unit_test_template
1258 <<: *unit_test_template
1264 <<: *unit_test_template
1270 <<: *unit_test_template
1277 <<: *unit_test_template
1283 <<: *unit_test_template
1289 <<: *unit_test_template
1295 <<: *unit_test_template