screenshots_artifacts:
path: "**/build/screenshots/**/*"
-node_modules_cache_template: &NODE_MODULES_CACHE_TEMPLATE
- node_modules_cache:
- folder: "**/node_modules"
+yarn_cache_template: &YARN_CACHE_TEMPLATE
+ yarn_cache:
+ folder: "~/.yarn/berry/cache"
fingerprint_script: |
cat \
server/sonar-web/yarn.lock \
git reset --hard $CIRRUS_CHANGE_IN_REPO
build_task:
- <<: *NODE_MODULES_CACHE_TEMPLATE
+ <<: *YARN_CACHE_TEMPLATE
only_if: >-
$CIRRUS_BRANCH !=~ "dogfood/.*" &&
$CIRRUS_BRANCH != "public_master" &&
validate_task:
<<: *ONLY_DEFAUT_DEPENDING_ON_BUILD_TEMPLATE
- <<: *NODE_MODULES_CACHE_TEMPLATE
+ <<: *YARN_CACHE_TEMPLATE
timeout_in: 90m
gke_container:
<<: *GKE_CONTAINER_TEMPLATE
yarn_check-ci_task:
<<: *ONLY_DEFAUT_DEPENDING_ON_BUILD_TEMPLATE
- <<: *NODE_MODULES_CACHE_TEMPLATE
+ <<: *YARN_CACHE_TEMPLATE
timeout_in: 90m
gke_container:
<<: *GKE_CONTAINER_TEMPLATE
on_failure:
<<: *REPORTS_JUNIT_ON_FAILURE_TEMPLATE
-
upgd_oracle12_task:
<<: *ONLY_NIGHTLY_DEPENDING_ON_BUILD_TEMPLATE
gke_container: