[xen staging] automation: stash default config file for artifact extraction

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] automation: stash default config file for artifact extraction

patchbot
commit b9fb402ec3d3da92e2f91755ea0806a314429ebb
Author:     Wei Liu <[hidden email]>
AuthorDate: Mon Nov 19 15:03:04 2018 +0000
Commit:     Wei Liu <[hidden email]>
CommitDate: Tue Nov 20 16:55:10 2018 +0000

    automation: stash default config file for artifact extraction
   
    This aids troubleshooting when we notice a failure in the default
    configuration.
   
    Signed-off-by: Wei Liu <[hidden email]>
    Acked-by: Doug Goldstein <[hidden email]>
---
 .gitlab-ci.yml           | 2 +-
 automation/scripts/build | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3368fad010..9f3504f15d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ stages:
     - ./automation/scripts/build 2>&1 | tee build.log
   artifacts:
     paths:
-      - xen/.config
+      - xen-config
       - '*.log'
     when: always
   except:
diff --git a/automation/scripts/build b/automation/scripts/build
index 48e398ea20..a1f9a5da56 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -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 ;;
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog