[
https://issues.apache.org/jira/browse/HDDS-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-12100:
------------------------------------
Description:
{{hadoop-ozone/dev-support/checks/_lib.sh}} contains functions to install
dependencies required for running various CI checks (Hugo, SpotBugs, etc.).
This file needs to be edited whenever we want to upgrade a dependency (e.g.
HDDS-12098 to upgrade Hugo). Since {{_lib.sh}} is shared between several CI
checks, all checks are triggered when the file is changed. However, upgrading
Hugo affects only the checks using Hugo.
Furthermore, functions to install dependencies may need to be changed when
bumping versions. (E.g. Hugo artifact name is changed for newer versions.)
I propose moving the functions that install various dependencies out of
{{_lib.sh}} to separate shell scripts.
was:
{{hadoop-ozone/dev-support/checks/_lib.sh}} contains functions to install
dependencies required for running various CI checks (Hugo, SpotBugs, etc.).
This file needs to be edited whenever we want to upgrade a dependency (e.g.
HDDS-12098 to upgrade Hugo). Since {{_lib.sh}} is shared between several CI
checks, all checks are triggered when the file is changed. However, upgrading
Hugo affects only the checks using Hugo.
I propose moving the definition of dependency versions out of {{_lib.sh}} to
the specific check scripts (e.g. {{docs.sh}}).
> Move CI dependency installation out of _lib.sh
> ----------------------------------------------
>
> Key: HDDS-12100
> URL: https://issues.apache.org/jira/browse/HDDS-12100
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: CI
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
>
> {{hadoop-ozone/dev-support/checks/_lib.sh}} contains functions to install
> dependencies required for running various CI checks (Hugo, SpotBugs, etc.).
> This file needs to be edited whenever we want to upgrade a dependency (e.g.
> HDDS-12098 to upgrade Hugo). Since {{_lib.sh}} is shared between several CI
> checks, all checks are triggered when the file is changed. However,
> upgrading Hugo affects only the checks using Hugo.
> Furthermore, functions to install dependencies may need to be changed when
> bumping versions. (E.g. Hugo artifact name is changed for newer versions.)
> I propose moving the functions that install various dependencies out of
> {{_lib.sh}} to separate shell scripts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]