From d361378553812f1bd173ded62be404bd1ae1b858 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 25 Oct 2022 12:21:34 +0200 Subject: Improve legibility of Gitlab CI (#33482) Use --backtrace in ci instead of --debug to reduce verbosity and don't show log on error, since log is already printed --- lib/spack/spack/ci.py | 5 +++-- lib/spack/spack/cmd/ci.py | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py index 4803ef25a3..1a63949efb 100644 --- a/lib/spack/spack/ci.py +++ b/lib/spack/spack/ci.py @@ -2118,8 +2118,9 @@ def run_standalone_tests(**kwargs): test_args = [ "spack", - "-d", - "-v", + "--color=always", + "--backtrace", + "--verbose", "test", "run", ] diff --git a/lib/spack/spack/cmd/ci.py b/lib/spack/spack/cmd/ci.py index c0343d69b7..e49bf9a2a6 100644 --- a/lib/spack/spack/cmd/ci.py +++ b/lib/spack/spack/cmd/ci.py @@ -25,7 +25,7 @@ description = "manage continuous integration pipelines" section = "build" level = "long" -CI_REBUILD_INSTALL_BASE_ARGS = ["spack", "-d", "-v"] +CI_REBUILD_INSTALL_BASE_ARGS = ["spack", "--color=always", "--backtrace", "--verbose"] INSTALL_FAIL_CODE = 1 @@ -518,7 +518,6 @@ def ci_rebuild(args): install_args.extend( [ "install", - "--show-log-on-error", # Print full log on fails "--keep-stage", "--use-buildcache", "dependencies:only,package:never", -- cgit v1.2.3-70-g09d2