CI: Assign a common variable

This commit is contained in:
Anton Maklakov 2017-06-07 09:58:35 +08:00
parent 6606c51728
commit 450b9a4e5c

View File

@ -6,6 +6,9 @@ stages:
- test_report
- deploy
variables:
IDF_PATH: "$CI_PROJECT_DIR"
before_script:
# add gitlab ssh key
- mkdir -p ~/.ssh
@ -30,7 +33,6 @@ build_template_app:
- build
variables:
IDF_PATH: "$CI_PROJECT_DIR"
GIT_STRATEGY: clone
BATCH_BUILD: "1"
IDF_CI_BUILD: "1"
@ -61,7 +63,6 @@ build_template_app:
- build
variables:
IDF_PATH: "$CI_PROJECT_DIR"
GIT_STRATEGY: clone
BATCH_BUILD: "1"
V: "0"
@ -118,7 +119,6 @@ build_examples:
- build_examples/*/*/*/build/bootloader/*.bin
expire_in: 6 mos
variables:
IDF_PATH: "$CI_PROJECT_DIR"
IDF_CI_BUILD: "1"
script:
# it's not possible to build 100% out-of-tree and have the "artifacts"
@ -179,8 +179,6 @@ test_build_system:
image: $CI_DOCKER_REGISTRY/esp32-ci-env
tags:
- build_test
variables:
IDF_PATH: "$CI_PROJECT_DIR"
script:
- ./make/test_configure_ci_environment.sh
- ./make/test_build_system.sh
@ -373,7 +371,6 @@ assign_test:
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/integration_test"
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml"
CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/integration_test/CIConfigs/$CI_JOB_NAME.yml"
IDF_PATH: "$CI_PROJECT_DIR"
artifacts:
when: always
@ -418,7 +415,6 @@ assign_test:
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/unit_test"
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml"
CONFIG_FILE: "$CI_PROJECT_DIR/components/idf_test/unit_test/CIConfigs/$CI_JOB_NAME.yml"
IDF_PATH: "$CI_PROJECT_DIR"
UT_001_01:
<<: *unit_test_template