You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/07/06 12:36:00 UTC

[jira] [Updated] (YUNIKORN-1853) de-duplicate build info init and storage

     [ https://issues.apache.org/jira/browse/YUNIKORN-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated YUNIKORN-1853:
-------------------------------------
    Labels: pull-request-available  (was: )

> de-duplicate build info init and storage
> ----------------------------------------
>
>                 Key: YUNIKORN-1853
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1853
>             Project: Apache YuniKorn
>          Issue Type: Task
>          Components: shim - kubernetes
>            Reporter: Wilfred Spiegelenburg
>            Assignee: PoAn Yang
>            Priority: Minor
>              Labels: pull-request-available
>
> The build info is set via the linker in the main module on build time. This means that each main we have must have the variables defined to set. The main function then sets the values in the config to have a centralised place to use later.
> We can directly set the values in the config using the linker using the path expression supported: {{github.com/apache/yunikorn-k8shim/pkg/conf.goVersion}} as an example. It also externalises the plugin flagĀ 
> Moving it all directly to the config also makes it possible to log all details in the same way, i.e. provide a build
> Moving the building of the map and a stringified version of the info into the config also removes the need to export all variables in the config.



--
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