[tracker/sam/functional-tests] ci: Avoid dumping screenfuls of CI_ variables for each failed test
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/functional-tests] ci: Avoid dumping screenfuls of CI_ variables for each failed test
- Date: Sun, 15 Jul 2018 17:00:15 +0000 (UTC)
commit 33ac3bbea9513a69a666b93ecdd857c3f2f3784a
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Jul 15 18:59:09 2018 +0200
ci: Avoid dumping screenfuls of CI_ variables for each failed test
.gitlab-ci.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01c0d1351..40fa171e6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,4 +75,10 @@ test-meson-fedora27:
- su tracker -c 'mkdir build'
- su tracker -c 'cd build; meson ..'
- su tracker -c 'cd build; ninja'
- - su tracker -c 'cd build; LANG=en_US.UTF8 dbus-launch meson test --print-errorlogs'
+ - |
+ # Remove the many "CI_" variables from the environment. Meson dumps the
+ # whole environment for every failed test, and that gives a whole
+ # screenful of junk each time unless we strip these.
+ unset $(env|grep -o '^CI_[^=]*')
+
+ su tracker -c 'cd build; LANG=en_US.UTF8 dbus-launch meson test --print-errorlogs'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]