fuel, armband: build, deploy: export TERM="vt220" 33/22933/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 10 Oct 2016 17:57:39 +0000 (19:57 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Wed, 12 Oct 2016 20:18:21 +0000 (20:18 +0000)
Since we do not actually parse our build/deploy logs for color chars,
set the terminal to "vt220".

This will silence quite a few of colorization special identifiers,
but NOT all of them (e.g. `tput sgr0` still prints a sequence).

For Fuel@OPNFV build process, we also need to workaround docker
terminal settings not being passed down when using a tty (see [1]),
which will be fixed in Docker 1.13+. This fix is handled in [2].

[1] https://github.com/docker/docker/issues/9299
[2] https://gerrit.opnfv.org/gerrit/#/c/22883/

Change-Id: I5f0c6eae33349ef81b67dd17e6df4e0af6274fab
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
jjb/armband/armband-deploy.sh
jjb/armband/build.sh
jjb/fuel/fuel-build.sh
jjb/fuel/fuel-deploy.sh

index 4041a6b..41ec0f2 100755 (executable)
@@ -12,6 +12,8 @@ set -o errexit
 set -o nounset
 set -o pipefail
 
+export TERM="vt220"
+
 # source the file so we get OPNFV vars
 source latest.properties
 
index 300306f..a058ca1 100755 (executable)
@@ -12,6 +12,8 @@ set -o errexit
 set -o nounset
 set -o pipefail
 
+export TERM="vt220"
+
 echo "Host info: $(hostname) $(hostname -I)"
 
 cd $WORKSPACE
index 7e36a0c..c66dc3d 100755 (executable)
@@ -11,6 +11,8 @@ set -o errexit
 set -o nounset
 set -o pipefail
 
+export TERM="vt220"
+
 cd $WORKSPACE
 
 # remove the expired items from cache
index ef47ff0..48b1dac 100755 (executable)
@@ -10,6 +10,8 @@
 set -o nounset
 set -o pipefail
 
+export TERM="vt220"
+
 # source the file so we get OPNFV vars
 source latest.properties