[gnome-build-meta/abderrahim/buildstream-config] .gitlab-ci/buildstream.conf: use environment variables instead of relative paths




commit a8bccc790691c666977fed3477c193323ebcc2a5
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Mon Feb 22 15:23:36 2021 +0100

    .gitlab-ci/buildstream.conf: use environment variables instead of relative paths
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1042>

 .gitlab-ci/buildstream-nopush.conf | 6 +++---
 .gitlab-ci/buildstream.conf        | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci/buildstream-nopush.conf b/.gitlab-ci/buildstream-nopush.conf
index 840877b4..3d6cec18 100644
--- a/.gitlab-ci/buildstream-nopush.conf
+++ b/.gitlab-ci/buildstream-nopush.conf
@@ -1,11 +1,11 @@
 # This is the buildstream configuration used for CI
 
 # The log directory
-logdir: logs
+logdir: ${CI_PROJECT_DIR}/logs
 
 # build area and artifacts
-builddir: /buildstream-cache/build
-artifactdir: /buildstream-cache/artifacts
+builddir: ${CI_PROJECT_DIR}/build
+artifactdir: ${CI_PROJECT_DIR}/artifacts
 
 # and sources in the dedicated volume
 sourcedir: /cache/buildstream/sources
diff --git a/.gitlab-ci/buildstream.conf b/.gitlab-ci/buildstream.conf
index 95917b9b..5125a914 100644
--- a/.gitlab-ci/buildstream.conf
+++ b/.gitlab-ci/buildstream.conf
@@ -1,11 +1,11 @@
 # This is the buildstream configuration used for CI
 
 # The log directory
-logdir: logs
+logdir: ${CI_PROJECT_DIR}/logs
 
 # build area and artifacts
-builddir: /buildstream-cache/build
-artifactdir: /buildstream-cache/artifacts
+builddir: ${CI_PROJECT_DIR}/build
+artifactdir: ${CI_PROJECT_DIR}/artifacts
 
 # and sources in the dedicated volume
 sourcedir: /cache/buildstream/sources


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]