Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-3042

Use GitHub cache action to improve CI execution time

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.21
    • ci/cd
    • None

    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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lewismc Lewis John McGibbney
            lewismc Lewis John McGibbney

            Dates

              Created:
              Updated:

              Slack

                Issue deployment