[gnome-build-meta/tristan/pipeline-enhancements] .gitlab-ci.yml: simplify things a bit



commit eca8e4817f5961214c76596e71e649d51fee3c57
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sun Jul 29 10:24:09 2018 +0100

    .gitlab-ci.yml: simplify things a bit

 .gitlab-ci.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6f83d45..d001e8a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,8 +3,7 @@ variables:
   # Note that GitLab CI will only cache stuff inside the "${CI_PROJECT_DIR}" folder.
   XDG_CACHE_HOME: "${CI_PROJECT_DIR}/cache"
   GET_SOURCES_ATTEMPTS: 3
-  BST_LOGS: "${CI_PROJECT_DIR}/logs"
-  BST: "bst --config ${CI_PROJECT_DIR}/build.conf --log-file ${CI_PROJECT_DIR}/logs/build.log --colors"
+  BST: "bst --config build.conf --log-file logs/build.log --colors"
   BST_SHA: 'bc5a40e3dccbe1cb8066171fc2c0a4a5abeaa31e' #  1.1.3-177-gbc5a40e3
 
 stages:
@@ -29,7 +28,7 @@ before_script:
   - pip3 install buildstream/
 
   # Ensure the log directory exists
-  - mkdir -p ${BST_LOGS}
+  - mkdir -p logs
 
 .build-template: &build
   stage: build
@@ -47,7 +46,7 @@ before_script:
   artifacts:
     when: always
     paths:
-      - ${BST_LOGS}
+      - logs
 
 build-gnome-core-x86_64:
   image: buildstream/buildstream-fedora:master-51-9632eaf


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