Skip to content

Commit

Permalink
automation: Install go.mod go with gimme
Browse files Browse the repository at this point in the history
Signed-off-by: Quique Llorente <ellorent@redhat.com>
  • Loading branch information
qinqon committed Jan 18, 2022
1 parent b34a3a8 commit 8f2186c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions automation/check-patch.setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ tmp_dir=/tmp/knmstate/
rm -rf $tmp_dir
mkdir -p $tmp_dir

if gimme --help > /dev/null 2>&1; then
eval "$(gimme $(grep '^go' go.mod |sed 's/go //'))"
else
echo "Gimme not installed using existing golang version $(go --version)"
fi

export ARCHS="amd64 arm64"
export TMP_PROJECT_PATH=$tmp_dir/kubernetes-nmstate
export E2E_LOGS=${TMP_PROJECT_PATH}/test_logs/e2e
Expand Down

0 comments on commit 8f2186c

Please sign in to comment.