Remove source /etc/environemnt instruction 42/70742/1
authorVictor Morales <victor.morales@intel.com>
Thu, 18 Oct 2018 08:24:25 +0000 (01:24 -0700)
committerVictor Morales <victor.morales@intel.com>
Thu, 18 Oct 2018 08:24:25 +0000 (01:24 -0700)
Apparently this instruction is overriding the GOROOT value during
the execution in the Jenkins Jobs.

Change-Id: I97768db029ae21939bfde4753f87387ea976985c
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

deployments/build.sh
deployments/start.sh

index a1f093a..6272c46 100755 (executable)
@@ -10,8 +10,7 @@
 
 set -o nounset
 set -o pipefail
-
-source /etc/environment
+set -o xtrace
 
 k8s_path="$(git rev-parse --show-toplevel)"
 export GOPATH=$k8s_path
index 19c5ff8..498dc77 100755 (executable)
@@ -11,8 +11,6 @@
 set -o nounset
 set -o pipefail
 
-source /etc/environment
-
 k8s_path="$(git rev-parse --show-toplevel)"
 export GOPATH=$k8s_path