kopia lustrzana https://github.com/espressif/esp-idf
ci: cache policy is pull-only for most of the jobs
rodzic
0a64094a60
commit
83965c22b7
|
@ -87,8 +87,12 @@ variables:
|
||||||
CI_PYTHON_CONSTRAINT_FILE: "espidf.constraints.v5.0.txt"
|
CI_PYTHON_CONSTRAINT_FILE: "espidf.constraints.v5.0.txt"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
key: pip-cache
|
||||||
paths:
|
paths:
|
||||||
- .cache/pip
|
- .cache/pip
|
||||||
|
# pull only for most of the use cases since it's cache dir.
|
||||||
|
# Only set "pull-push" policy for "scan_test" since it would **possibly** install all pypi packages
|
||||||
|
policy: pull
|
||||||
|
|
||||||
.setup_tools_unless_target_test: &setup_tools_unless_target_test |
|
.setup_tools_unless_target_test: &setup_tools_unless_target_test |
|
||||||
if [[ -n "$IDF_DONT_USE_MIRRORS" ]]; then
|
if [[ -n "$IDF_DONT_USE_MIRRORS" ]]; then
|
||||||
|
|
|
@ -153,6 +153,13 @@ scan_tests:
|
||||||
- $TEST_APPS_OUTPUT_DIR
|
- $TEST_APPS_OUTPUT_DIR
|
||||||
- $COMPONENT_UT_OUTPUT_DIR
|
- $COMPONENT_UT_OUTPUT_DIR
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
cache:
|
||||||
|
key: pip-cache
|
||||||
|
paths:
|
||||||
|
- .cache/pip
|
||||||
|
# pull only for most of the use cases since it's cache dir.
|
||||||
|
# Only set "pull-push" policy for "scan_test" since it would **possibly** install all pypi packages
|
||||||
|
policy: pull-push
|
||||||
variables:
|
variables:
|
||||||
EXAMPLE_TEST_DIR: ${CI_PROJECT_DIR}/examples
|
EXAMPLE_TEST_DIR: ${CI_PROJECT_DIR}/examples
|
||||||
EXAMPLE_TEST_OUTPUT_DIR: ${CI_PROJECT_DIR}/examples/test_configs
|
EXAMPLE_TEST_OUTPUT_DIR: ${CI_PROJECT_DIR}/examples/test_configs
|
||||||
|
|
Ładowanie…
Reference in New Issue