]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
automation: stash default config file for artifact extraction
authorWei Liu <wei.liu2@citrix.com>
Mon, 19 Nov 2018 15:03:04 +0000 (15:03 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 20 Nov 2018 16:55:10 +0000 (16:55 +0000)
This aids troubleshooting when we notice a failure in the default
configuration.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
.gitlab-ci.yml
automation/scripts/build

index 3368fad010ff3b4bb6a414118d7f64491dfa4f02..9f3504f15d27c59b5cce24f375b2e53dedb94a8f 100644 (file)
@@ -8,7 +8,7 @@ stages:
     - ./automation/scripts/build 2>&1 | tee build.log
   artifacts:
     paths:
-      - xen/.config
+      - xen-config
       - '*.log'
     when: always
   except:
index 48e398ea20204ddf15878607518ce6f78730530b..a1f9a5da56ef29ba0ab2efbf4466a9d4f34e07c7 100755 (executable)
@@ -26,6 +26,9 @@ fi
 
 make -j$(nproc) dist
 
+# Extract artifacts to avoid getting rewritten by customised builds
+cp xen/.config xen-config
+
 # Build all the configs we care about
 case ${XEN_TARGET_ARCH} in
     x86_64) arch=x86 ;;