Skip to contentSkip to conversation

gitlab-ci: store .config files as artefacts for defconfig tests

PATCH New Yann E. MORIN 2 participants 2 messages Dec 8, 2018 – Dec 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gitlab-ci: store .config files as artefacts for defconfig tests

Add Buildroot's own .config file, as well as any package's .config file (uclibc, linux, and busybox), for later inspection should a build fails, notably due to changes in the kconfig-package infrastructure.

Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>

---
Changes v1 -> v2:
- use correct path for packages' .config files

---
 .gitlab-ci.yml    | 2 ++
 .gitlab-ci.yml.in | 2 ++
 2 files changed, 4 insertions(+)
.gitlab-ci.yml +2 -0
index 1a78211823..9e2b111f53 100644
@@ -57,10 +57,12 @@ check-package:
         when: always
         expire_in: 2 weeks
         paths:
+            - .config
             - build.log
             - output/images/
             - output/build/build-time.log
             - output/build/packages-file-list.txt
+            - output/build/*/.config
 
 .runtime_test: &runtime_test
     # Running the runtime tests for every push is too much, so limit to
.gitlab-ci.yml.in +2 -0
index ebca29ca1f..d5eab91c70 100644
@@ -57,10 +57,12 @@ check-package:
         when: always
         expire_in: 2 weeks
         paths:
+            - .config
             - build.log
             - output/images/
             - output/build/build-time.log
             - output/build/packages-file-list.txt
+            - output/build/*/.config
 
 .runtime_test: &runtime_test
     # Running the runtime tests for every push is too much, so limit to
Signature · 1 line
2.14.1
#1 lore raw

PATCH v2 1/1 gitlab-ci: store .config files as artefacts for defconfig tests

Hello,

Quoted 8 lines · Yann E. MORIN

Add Buildroot's own .config file, as well as any package's .config file (uclibc, linux, and busybox), for later inspection should a build fails, notably due to changes in the kconfig-package infrastructure.

Cc Ricardo Martincoski <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Quoted 7 lines

---
Changes v1 -> v2:
- use correct path for packages' .config files

---
 .gitlab-ci.yml    | 2 ++
 .gitlab-ci.yml.in | 2 ++
 2 files changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com