From d9c91d372378e22d60cdba09d7e06a61779299dd Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Mon, 22 Oct 2018 10:36:58 +0100 Subject: [PATCH] CI: Remove golang dependency on doc test script The script used to test the install docs does not actually use the golang binary (it only uses the `GOPATH` variables) so remove the unnecessary call to `go`. Signed-off-by: James O. D. Hunt --- .ci/test-install-docs.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/.ci/test-install-docs.sh b/.ci/test-install-docs.sh index fffebac28a..9aec092019 100755 --- a/.ci/test-install-docs.sh +++ b/.ci/test-install-docs.sh @@ -27,9 +27,6 @@ setup() # it specified result in a working system. test_distro_install_guide() { - local -r GOPATH=$(go env GOPATH) - [ -z "$GOPATH" ] && die "cannot determine GOPATH" - local -r mgr="${GOPATH}/src/github.com/kata-containers/tests/cmd/kata-manager/kata-manager.sh" [ ! -e "$GOPATH" ] && die "cannot find $mgr"