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




commit d216ab04556ff5becf2e73ddbe52472a3e2cec77
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

 .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]