summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-10-25 12:21:34 +0200
committerGitHub <noreply@github.com>2022-10-25 12:21:34 +0200
commitd361378553812f1bd173ded62be404bd1ae1b858 (patch)
treed1435d3518b5dfef78a883e3d389e13bff7977c8 /lib
parent329adc1d22c371bb20b7db794edc962581128e48 (diff)
downloadspack-d361378553812f1bd173ded62be404bd1ae1b858.tar.gz
spack-d361378553812f1bd173ded62be404bd1ae1b858.tar.bz2
spack-d361378553812f1bd173ded62be404bd1ae1b858.tar.xz
spack-d361378553812f1bd173ded62be404bd1ae1b858.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/ci.py5
-rw-r--r--lib/spack/spack/cmd/ci.py3
2 files changed, 4 insertions, 4 deletions
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",