From: Victor Morales Date: Thu, 18 Oct 2018 08:24:25 +0000 (-0700) Subject: Remove source /etc/environemnt instruction X-Git-Tag: 3.0.0-ONAP~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a272d5104bde2d9eca6a9082ea122db273a981ed;p=multicloud%2Fk8s.git 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 Issue-ID: MULTICLOUD-301 --- 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