[gnome-build-meta/jjardon/ci: 6/7] .gitlab-ci.yml: Do not use YAML overload for now



commit eb125be39939bef60c1f2991299d54eaa3ead448
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Feb 22 15:51:03 2018 +0000

    .gitlab-ci.yml: Do not use YAML overload for now
    
    Not really needed and it can be confused to read for some people

 .gitlab-ci.yml | 28 +++++++++++-----------------
 1 file changed, 11 insertions(+), 17 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ccc61cd..c3447e9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,28 +17,22 @@ before_script:
   - git -C buildstream/ checkout $BST_SHA
   - pip3 install buildstream
 
-# Store all the downloaded git and ostree repos in the distributed cache.
-# This saves us fetching them from the different repos and further afield
-# on every build.
-.bst_cache: &bst_cache
+
+
+bst-build-gnome-core:
+  stage: build
+  dependencies: []
+  script:
+    - ${BST} build --track-all core.bst
+  # Store all the downloaded git and ostree repos in the distributed cache.
+  # This saves us fetching them from the different repos and further afield
+  # on every build.
   cache:
     key: bst
     paths:
       - "${XDG_CACHE_HOME}/buildstream/sources/"
-
-# Store artifacts so we can inspect build failures
-.bst_artifacts: &bst_artifacts
+  # Store artifacts so we can inspect build failures
   artifacts:
     when: always
     paths:
       - ${CI_PROJECT_DIR}/cache/buildstream/logs
-
-
-
-bst-build-gnome-core:
-  stage: build
-  dependencies: []
-  script:
-    - ${BST} build --track-all core.bst
-  <<: *bst_cache
-  <<: *bst_artifacts


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