Skip to content
Snippets Groups Projects
Commit f21fc8cc authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[ci] Set relative path to artifacts and cache

parent db450461
No related branches found
No related tags found
1 merge request!32Set relative path to artifacts and cache
Pipeline #25471 passed
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
# Definition of global variables (all stages) # Definition of global variables (all stages)
variables: variables:
CONDA_ROOT: "${CI_PROJECT_DIR}/miniconda" MINICONDA_DIR: "miniconda"
CONDA_ROOT: "${CI_PROJECT_DIR}/${MINICONDA_DIR}"
# Definition of our build pipeline order # Definition of our build pipeline order
...@@ -29,8 +30,8 @@ stages: ...@@ -29,8 +30,8 @@ stages:
cache: &build_caches cache: &build_caches
paths: paths:
- miniconda.sh - miniconda.sh
- ${CONDA_ROOT}/pkgs/*.tar.bz2 - ${MINICONDA_DIR}/pkgs/*.tar.bz2
- ${CONDA_ROOT}/pkgs/urls.txt - ${MINICONDA_DIR}/pkgs/urls.txt
.build_linux_template: &linux_build_job .build_linux_template: &linux_build_job
...@@ -42,7 +43,7 @@ stages: ...@@ -42,7 +43,7 @@ stages:
expire_in: 1 week expire_in: 1 week
paths: paths:
- _ci/ - _ci/
- ${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2 - ${MINICONDA_DIR}/conda-bld/linux-64/*.tar.bz2
cache: cache:
<<: *build_caches <<: *build_caches
key: "linux-cache" key: "linux-cache"
...@@ -56,7 +57,7 @@ stages: ...@@ -56,7 +57,7 @@ stages:
expire_in: 1 week expire_in: 1 week
paths: paths:
- _ci/ - _ci/
- ${CONDA_ROOT}/conda-bld/osx-64/*.tar.bz2 - ${MINICONDA_DIR}/conda-bld/osx-64/*.tar.bz2
cache: cache:
<<: *build_caches <<: *build_caches
key: "macosx-cache" key: "macosx-cache"
...@@ -73,7 +74,7 @@ build_linux_36: ...@@ -73,7 +74,7 @@ build_linux_36:
- _ci/ - _ci/
- dist/*.zip - dist/*.zip
- sphinx - sphinx
- ${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2 - ${MINICONDA_DIR}/conda-bld/linux-64/*.tar.bz2
build_macosx_36: build_macosx_36:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment