lab
lab copied to clipboard
lab ci view does show black on black characters
$ lab --version git version 2.24.1
hub version 2.13.0
lab version 0.17.1
$ uname -a
Darwin HOSTNAME 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64
Terminal is iTerm2 Build 3.3.1
- My standard color scheme in iTerm2 is black letters on white background.
lab ci tracedoes not have this problem but shows everything (including colors, i.e. gitlab-runner's own output) correctly.
I run a Maven job where each line is prepended with the run-time followed by the log level, e.g., the raw view looks like this:
[32;1m$ git config --local user.email "${GITLAB_USER_EMAIL}"[0;m
[32;1m$ git config --local user.name "${GITLAB_USER_NAME} via GitLab"[0;m
[32;1m$ mvn-prepare-release[0;m
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T15:06:16Z)
Maven home: /usr/local/share/apache-maven/apache-maven-3.6.2
Java version: 1.8.0_232, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.9.93-boot2docker", arch: "amd64", family: "unix"
765 [INFO] Scanning for projects...
2384 [INFO]
2386 [INFO] ----------------< com.unitedinternet.mamido:mamido-pom >----------------
2393 [INFO] Building mamido-pom 1-SNAPSHOT
2397 [INFO] --------------------------------[ pom ]---------------------------------
2406 [INFO]
2407 [INFO] --- maven-release-plugin:2.5.3:prepare (default-cli) @ mamido-pom ---
4525 [INFO] Verifying that there are no local modifications...
As can be seen in the uploaded file
[INFO] seems to be stripped and toggle the font color to black.
When I change and use a black background and white letters, it looks better but Maven's [INFO] log-level is missing as well when running lab ci view

When using lab ci trace for the same job the output looks like this:

❯ lab --version
git version 2.30.0
hub version 2.14.2
lab version 0.18.0