[gnome-build-meta/tristan/gnome-boot: 13/14] .gitlab-ci.yml: Share the artifacts dictionary in YAML



commit 0b17404500fce5f641965e4dc065527a0a040fd0
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date:   Mon Jul 8 21:12:51 2019 +0900

    .gitlab-ci.yml: Share the artifacts dictionary in YAML
    
    This just changes how the gitlab artifacts: dictionary is
    declared in YAML so that we can inherit it in various jobs.

 .gitlab-ci.yml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5bfef851..3af1c08d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,7 +87,7 @@ default:
     paths:
       - "${XDG_CACHE_HOME}/buildstream/sources/"
   # Store artifacts so we can inspect build failures
-  artifacts:
+  artifacts: &logging-artifacts
     when: always
     paths:
       - logs
@@ -175,11 +175,7 @@ track:
     variables:
       - $FLATPAK_BRANCH == 'master'
   cache: *bst-cache
-  artifacts:
-    when: always
-    paths:
-      - logs
-      - project.refs
+  artifacts: *logging-artifacts
 
 
 build-gnome-core-x86_64:


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