All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] CI: always put the build logs in an artifact
@ 2023-06-21 14:36 ross.burton
  2023-06-21 14:36 ` [PATCH 2/2] CI: print the name of the documentation when building ross.burton
  2023-06-22 15:53 ` [PATCH 1/2] CI: always put the build logs in an artifact Jon Mason
  0 siblings, 2 replies; 3+ messages in thread
From: ross.burton @ 2023-06-21 14:36 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

From: Ross Burton <ross.burton@arm.com>

It's useful to have known good logs when debugging problems, so always
preserve the logs.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 74105e65..f700ee0f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -64,7 +64,7 @@ stages:
     - ./ci/check-warnings $KAS_WORK_DIR/build/warnings.log
   artifacts:
     name: "logs"
-    when: on_failure
+    when: always
     paths:
       - $CI_PROJECT_DIR/work/build/tmp/work*/**/temp/log.do_*.*
       - $CI_PROJECT_DIR/work/build/tmp/work*/**/testimage/*
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] CI: print the name of the documentation when building
  2023-06-21 14:36 [PATCH 1/2] CI: always put the build logs in an artifact ross.burton
@ 2023-06-21 14:36 ` ross.burton
  2023-06-22 15:53 ` [PATCH 1/2] CI: always put the build logs in an artifact Jon Mason
  1 sibling, 0 replies; 3+ messages in thread
From: ross.burton @ 2023-06-21 14:36 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

From: Ross Burton <ross.burton@arm.com>

Make it clear what documentation tree is being built.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f700ee0f..b2246743 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -282,6 +282,7 @@ documentation:
     - |
       sudo pip3 install -r meta-arm-bsp/documentation/requirements.txt
       for CONF in meta-*/documentation/*/conf.py ; do
+        echo Building $CONF...
         SOURCE_DIR=$(dirname $CONF)
         MACHINE=$(basename $SOURCE_DIR)
         sphinx-build -vW $SOURCE_DIR build-docs/$MACHINE
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] CI: always put the build logs in an artifact
  2023-06-21 14:36 [PATCH 1/2] CI: always put the build logs in an artifact ross.burton
  2023-06-21 14:36 ` [PATCH 2/2] CI: print the name of the documentation when building ross.burton
@ 2023-06-22 15:53 ` Jon Mason
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Mason @ 2023-06-22 15:53 UTC (permalink / raw)
  To: meta-arm, ross.burton; +Cc: nd

On Wed, 21 Jun 2023 15:36:09 +0100, ross.burton@arm.com wrote:
> It's useful to have known good logs when debugging problems, so always
> preserve the logs.

Applied, thanks!

[1/2] CI: always put the build logs in an artifact
      commit: 60abe46474060064f1080513f76a0e333ca487df
[2/2] CI: print the name of the documentation when building
      commit: 782ea3cd1688a14b4ad065bf47b1f9d8d0ea3fa4

Best regards,
-- 
Jon Mason <jon.mason@arm.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-22 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21 14:36 [PATCH 1/2] CI: always put the build logs in an artifact ross.burton
2023-06-21 14:36 ` [PATCH 2/2] CI: print the name of the documentation when building ross.burton
2023-06-22 15:53 ` [PATCH 1/2] CI: always put the build logs in an artifact Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.