Skip to contentSkip to conversation

gitlab-ci: add .config to artefacts

PATCH New Yann E. MORIN 3 participants 3 messages Dec 20, 2017 – Dec 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gitlab-ci: add .config to artefacts

The defconfig is dumped at the very beginning of the build log, but the resulting .config is still interesting to get, in case some settings did not end up in there (e.g. because of the host gcc version, or because of conflicting settings, or because the Config.in changed without the tests being updated, or...).

So, add the .config to the list of artefacts to save.

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

---
Changes v1 -> v2:
- update .gitlab-ci.yml.in too (Ricardo)
- update commit log to refer to the defconfig (Ricardo)
- (s/artifact/artefact/, to use the english spelling, not the american one (Ricardo ;-] )

---
 .gitlab-ci.yml    | 1 +
 .gitlab-ci.yml.in | 1 +
 2 files changed, 2 insertions(+)
.gitlab-ci.yml +1 -0
index 691669f7f1..32f6d7d224 100644
@@ -61,6 +61,7 @@ check-package:
         expire_in: 2 weeks
         paths:
             - test-output/*.log
+            - test-output/*/.config
             - test-output/*/images/*
 acmesystems_aria_g25_128mb_defconfig: *defconfig
 acmesystems_aria_g25_256mb_defconfig: *defconfig
.gitlab-ci.yml.in +1 -0
index 9a1e7a1e34..f763fdd454 100644
@@ -61,4 +61,5 @@ check-package:
         expire_in: 2 weeks
         paths:
             - test-output/*.log
+            - test-output/*/.config
             - test-output/*/images/*
Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/1 gitlab-ci: add .config to artefacts

Hello,

Quoted 9 lines · Yann E. MORIN

The defconfig is dumped at the very beginning of the build log, but the resulting .config is still interesting to get, in case some settings did not end up in there (e.g. because of the host gcc version, or because of conflicting settings, or because the Config.in changed without the tests being updated, or...).

So, add the .config to the list of artefacts to save.

Regards,
Ricardo

#2 lore raw

PATCH v2 1/1 gitlab-ci: add .config to artefacts

In reply to Yann E. MORIN

Hello,

Quoted 19 lines · Yann E. MORIN

The defconfig is dumped at the very beginning of the build log, but the resulting .config is still interesting to get, in case some settings did not end up in there (e.g. because of the host gcc version, or because of conflicting settings, or because the Config.in changed without the tests being updated, or...).

So, add the .config to the list of artefacts to save.

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

---
Changes v1 -> v2:
- update .gitlab-ci.yml.in too (Ricardo)
- update commit log to refer to the defconfig (Ricardo)
- (s/artifact/artefact/, to use the english spelling, not the american one (Ricardo ;-] )

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

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com