mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Squashes these original commits for release/v5.4 backport traceability: - 9b289dc5ad6 ci: apply idf-ci 1.x - 381df980d57 ci: remove pip-cache and other unused jobs - 32375a0a15e ci: apply common-scripts CI refactor
31 lines
786 B
YAML
31 lines
786 B
YAML
# pull only for most of the use cases for cache
|
|
# only set "push" policy for the jobs under this file.
|
|
# The cache would be updated when files matched specified patterns changes.
|
|
|
|
.upload_cache_template:
|
|
stage: upload_cache
|
|
image: $ESP_ENV_IMAGE
|
|
|
|
upload-submodules-cache:
|
|
extends:
|
|
- .upload_cache_template
|
|
- .before_script:minimal
|
|
- .rules:upload-submodule-cache
|
|
tags:
|
|
- $GEO
|
|
- cache
|
|
cache:
|
|
key: submodule-cache-${LATEST_GIT_TAG}
|
|
paths:
|
|
- .cache/submodule_archives
|
|
policy: push
|
|
script:
|
|
# use the default gitlab server
|
|
- unset LOCAL_GITLAB_HTTPS_HOST
|
|
- rm -rf .cache/submodule_archives # clear old submodule archives
|
|
- add_gitlab_ssh_keys
|
|
- fetch_submodules
|
|
parallel:
|
|
matrix:
|
|
- GEO: [ 'shiny', 'brew' ]
|