[
https://issues.apache.org/jira/browse/NUTCH-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lewis John McGibbney updated NUTCH-3042:
----------------------------------------
Description:
With the Ant+Ivy build architecture, the current GitHub actions workflow can
and regularly does take over 20 minutes to complete. Dependency retrieval takes
a significant amount of time.
I think we can address the above issue and dramatically reduce the CI runtime
by utilizing the official [GitHiub cache
action|[https://github.com/actions/cache]].
It appears however that the action does not support the Apache Ivy cache. Both
Maven and Gradle are supported. I [created a
discussion|[https://github.com/actions/cache/discussions/1381]] to get
conformation.
In the case that we cannot implement a cache for the Ivy build system then we
will need to come back to this issue once we migrate to Gradle.
was:
With the Ant+Ivy build architecture, the current GitHub actions workflow can
and regularly does take over 20 minutes to complete. Dependency retrieval takes
a significant amount of time.
I think we can address the above issue and dramatically reduce the CI runtime
by utilizing the official [GitHiub cache
action|[https://github.com/actions/cache]].
It appears however that the action does not support the Apache Ivy cache. Both
Maven and Gradle are supported. I created a discussion to get conformation if
this is the case.
In the case that we cannot implement a cache for the Ivy build system then we
will need to come back to this issue once we migrate to Gradle.
> Use GitHub cache action to improve CI execution time
> ----------------------------------------------------
>
> Key: NUTCH-3042
> URL: https://issues.apache.org/jira/browse/NUTCH-3042
> Project: Nutch
> Issue Type: Task
> Components: ci/cd
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Major
> Fix For: 1.21
>
>
> With the Ant+Ivy build architecture, the current GitHub actions workflow can
> and regularly does take over 20 minutes to complete. Dependency retrieval
> takes a significant amount of time.
> I think we can address the above issue and dramatically reduce the CI runtime
> by utilizing the official [GitHiub cache
> action|[https://github.com/actions/cache]].
> It appears however that the action does not support the Apache Ivy cache.
> Both Maven and Gradle are supported. I [created a
> discussion|[https://github.com/actions/cache/discussions/1381]] to get
> conformation.
> In the case that we cannot implement a cache for the Ivy build system then we
> will need to come back to this issue once we migrate to Gradle.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)