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



commit cd8c4a2e642985a3a81fadc48e50ee0245caadab
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]