ci: Drop excessive $CI_PROJECT_DIR (#4485)

Paths are relative to `$CI_PROJECT_DIR`:
https://docs.gitlab.com/ee/ci/yaml/index.html#cachepaths
https://docs.gitlab.com/ee/ci/yaml/index.html#artifactspaths
This commit is contained in:
UdjinM6 2021-10-05 19:58:19 +03:00 committed by GitHub
parent 07b1d52b03
commit 7b94386da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,17 +63,17 @@ builder-image:
# Let all branches share the same cache, which is ok because the depends subsystem is able to handle this properly (it works with hashes of all scripts) # Let all branches share the same cache, which is ok because the depends subsystem is able to handle this properly (it works with hashes of all scripts)
key: key:
files: files:
- $CI_PROJECT_DIR/ci/Dockerfile.builder - ci/Dockerfile.builder
prefix: ${CI_JOB_NAME} prefix: ${CI_JOB_NAME}
paths: paths:
- $CI_PROJECT_DIR/depends/built - depends/built
- $CI_PROJECT_DIR/depends/sdk-sources - depends/sdk-sources
artifacts: artifacts:
name: depends name: depends
when: on_success when: on_success
paths: paths:
- $CI_PROJECT_DIR/depends/$HOST - depends/$HOST
- $CI_PROJECT_DIR/depends/SDKs - depends/SDKs
.base-template: .base-template:
image: $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG image: $CI_REGISTRY_IMAGE:builder-$CI_COMMIT_REF_SLUG
@ -115,15 +115,15 @@ builder-image:
# Let all branches share the same cache, which is ok because ccache is able to handle it # Let all branches share the same cache, which is ok because ccache is able to handle it
key: key:
files: files:
- $CI_PROJECT_DIR/ci/Dockerfile.builder - ci/Dockerfile.builder
prefix: ${CI_JOB_NAME} prefix: ${CI_JOB_NAME}
paths: paths:
- $CI_PROJECT_DIR/cache/ccache - cache/ccache
artifacts: artifacts:
name: binaries name: binaries
when: always when: always
paths: paths:
- $CI_PROJECT_DIR/build-ci - build-ci
# Exclude some less important binaries to reduce the size of the artifacts # Exclude some less important binaries to reduce the size of the artifacts
exclude: exclude:
- build-ci/dashcore-$BUILD_TARGET/src/bench/bench_dash - build-ci/dashcore-$BUILD_TARGET/src/bench/bench_dash
@ -148,7 +148,7 @@ builder-image:
name: testlogs name: testlogs
when: always when: always
paths: paths:
- $CI_PROJECT_DIR/testlogs - testlogs
expire_in: 3 days expire_in: 3 days
.skip-in-fast-mode-template: .skip-in-fast-mode-template: