aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-10-18 01:24:25 -0700
committerVictor Morales <victor.morales@intel.com>2018-10-18 01:24:25 -0700
commita272d5104bde2d9eca6a9082ea122db273a981ed (patch)
treea538fcdb43d16b9e3591c154890ab3b3140548ac
parent6942719b390a62695d6dd3efa09eadf6ec48aa7a (diff)
Remove source /etc/environemnt instruction
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
-rwxr-xr-xdeployments/build.sh3
-rwxr-xr-xdeployments/start.sh2
2 files changed, 1 insertions, 4 deletions
diff --git a/deployments/build.sh b/deployments/build.sh
index a1f093a7..6272c467 100755
--- a/deployments/build.sh
+++ b/deployments/build.sh
@@ -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
diff --git a/deployments/start.sh b/deployments/start.sh
index 19c5ff8c..498dc770 100755
--- a/deployments/start.sh
+++ b/deployments/start.sh
@@ -11,8 +11,6 @@
set -o nounset
set -o pipefail
-source /etc/environment
-
k8s_path="$(git rev-parse --show-toplevel)"
export GOPATH=$k8s_path