Discussion:
[PATCH] gitlab-ci: store .config files as artefacts for defconfig tests
(too old to reply)
Yann E. MORIN
2018-12-08 16:11:28 UTC
Permalink
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.

Signed-off-by: "Yann E. MORIN" <***@free.fr>
Cc: Ricardo Martincoski <***@gmail.com>
Cc: Thomas Petazzoni <***@bootlin.com>
---
.gitlab-ci.yml | 2 ++
.gitlab-ci.yml.in | 2 ++
2 files changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1a78211823..7dda71248f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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/*/.config

.runtime_test: &runtime_test
# Running the runtime tests for every push is too much, so limit to
diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in
index ebca29ca1f..41a7589072 100644
--- a/.gitlab-ci.yml.in
+++ b/.gitlab-ci.yml.in
@@ -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/*/.config

.runtime_test: &runtime_test
# Running the runtime tests for every push is too much, so limit to
--
2.14.1
Yann E. MORIN
2018-12-08 16:17:49 UTC
Permalink
All,
Post by 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.
---
.gitlab-ci.yml | 2 ++
.gitlab-ci.yml.in | 2 ++
2 files changed, 4 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1a78211823..7dda71248f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
when: always
expire_in: 2 weeks
+ - .config
- build.log
- output/images/
- output/build/build-time.log
- output/build/packages-file-list.txt
+ - output/*/.config
Damn, I was too quick at sending that patch. It should've been
output/build/*/.config

I'll resend soonish, sorry for the noise...

Regards,
Yann E. MORIN.
Post by Yann E. MORIN
.runtime_test: &runtime_test
# Running the runtime tests for every push is too much, so limit to
diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in
index ebca29ca1f..41a7589072 100644
--- a/.gitlab-ci.yml.in
+++ b/.gitlab-ci.yml.in
when: always
expire_in: 2 weeks
+ - .config
- build.log
- output/images/
- output/build/build-time.log
- output/build/packages-file-list.txt
+ - output/*/.config
.runtime_test: &runtime_test
# Running the runtime tests for every push is too much, so limit to
--
2.14.1
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
Yann E. MORIN
2018-12-08 17:13:42 UTC
Permalink
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.

Signed-off-by: "Yann E. MORIN" <***@free.fr>
Cc: Ricardo Martincoski <***@gmail.com>
Cc: Thomas Petazzoni <***@bootlin.com>

---
Changes v1 -> v2:
- use correct path for packages' .config files
---
.gitlab-ci.yml | 2 ++
.gitlab-ci.yml.in | 2 ++
2 files changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1a78211823..9e2b111f53 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in
index ebca29ca1f..d5eab91c70 100644
--- a/.gitlab-ci.yml.in
+++ b/.gitlab-ci.yml.in
@@ -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
--
2.14.1
Thomas Petazzoni
2018-12-09 16:32:01 UTC
Permalink
Hello,
Post by 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.
---
- 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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Loading...