You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wu hsuang zong (Jira)" <ji...@apache.org> on 2022/11/28 03:32:00 UTC
[jira] [Assigned] (YUNIKORN-1430) change go version check in Makefile
[ https://issues.apache.org/jira/browse/YUNIKORN-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wu hsuang zong reassigned YUNIKORN-1430:
----------------------------------------
Assignee: Wu hsuang zong
> 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
> Assignee: Wu hsuang zong
> Priority: Major
> Labels: newbie
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org