CI: Use the tagged image for static analysis

This commit is contained in:
Roland Dobai 2021-06-22 15:58:45 +02:00
parent dd1352dec3
commit 395575d94c
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ variables:
ESP_IDF_DOC_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-doc-env:v4.4-1-v1" ESP_IDF_DOC_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-doc-env:v4.4-1-v1"
ESP_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-env:v4.4-1" ESP_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-env:v4.4-1"
AFL_FUZZER_TEST_IMAGE: "$CI_DOCKER_REGISTRY/afl-fuzzer-test:v4.4-1-1" AFL_FUZZER_TEST_IMAGE: "$CI_DOCKER_REGISTRY/afl-fuzzer-test:v4.4-1-1"
CLANG_STATIC_ANALYSIS_IMAGE: "${CI_DOCKER_REGISTRY}/clang-static-analysis:v4.4-1-1"
# target test config file, used by assign test job # target test config file, used by assign test job
CI_TARGET_TEST_CONFIG_FILE: "$CI_PROJECT_DIR/.gitlab/ci/target-test.yml" CI_TARGET_TEST_CONFIG_FILE: "$CI_PROJECT_DIR/.gitlab/ci/target-test.yml"

View File

@ -3,7 +3,7 @@ clang_tidy_check:
extends: extends:
- .pre_check_base_template - .pre_check_base_template
- .rules:patterns:clang_tidy - .rules:patterns:clang_tidy
image: ${CI_DOCKER_REGISTRY}/clang-static-analysis image: ${CLANG_STATIC_ANALYSIS_IMAGE}
artifacts: artifacts:
reports: reports:
junit: $IDF_PATH/output.xml junit: $IDF_PATH/output.xml