Wilfred Spiegelenburg created YUNIKORN-1430:
-----------------------------------------------

             Summary: change go version check in Makefile
                 Key: YUNIKORN-1430
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1430
             Project: Apache YuniKorn
          Issue Type: Task
          Components: build
            Reporter: Wilfred Spiegelenburg


Although the project itself is still using just Go 1.16 some of the 
dependencies use later versions. We keep the version in {{.go_version}} up to 
date as it is used by the CI build.

Update the Makefiles to use the {{.go_version}} file:
{code:java}
MOD_VERSION := $(shell awk '/^go/ {print $$2}' go.mod) {code}
should be:
{code:java}
MOD_VERSION := $(shell cat .go_version) {code}
that will cause the {{make}} to fail as expected if go is too old. All repos 
would need an update.

This should be applied to _all_ repos that use go and thus have a 
{{.go_version}} file



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to