Skip to content

Commit

Permalink
CI: Use specific version of xurls utility
Browse files Browse the repository at this point in the history
Build the version of `xurls` specified in the runtimes versions
database to avoid problems; the latest version of `xurls` requires
golang 1.10.3 but that is not available in the stable branches.

Fixes kata-containers#855.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
  • Loading branch information
jodh-intel committed Oct 25, 2018
1 parent d6b9b52 commit be0a0f7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .ci/static-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,16 @@ check_docs()
if [ ! "$(command -v $cmd)" ]
then
info "Installing $cmd utility"
go get -u "github.com/mvdan/xurls/cmd/${cmd}"

local version
local url
local dir

version=$(get_test_version "externals.xurls.version")
url=$(get_test_version "externals.xurls.url")
dir=$(echo "$url"|sed 's!https://!!g')

build_version "${dir}" "" "${version}"
fi

info "Checking documentation"
Expand Down

0 comments on commit be0a0f7

Please sign in to comment.