You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2021/02/23 13:55:00 UTC

[jira] [Created] (HDDS-4858) Useless Maven cache cleanup

Attila Doroszlai created HDDS-4858:
--------------------------------------

             Summary: Useless Maven cache cleanup
                 Key: HDDS-4858
                 URL: https://issues.apache.org/jira/browse/HDDS-4858
             Project: Apache Ozone
          Issue Type: Bug
          Components: build
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


The {{build-branch}} Github Actions workflow has a step to avoid caching Ozone artifacts:

{noformat:title=https://github.com/apache/ozone/blob/1cf90150410882cd1ef88cdef33a0de18674399e/.github/workflows/post-commit.yml#L221-L225}
      - name: Delete temporary build artifacts before caching
        run: |
          #Never cache local artifacts
          rm -rf ~/.m2/repository/org/apache/hadoop/hdds
          rm -rf ~/.m2/repository/org/apache/hadoop/ozone
{noformat}

There are 2 problems:

# the cache is in a different job
# there are no {{hdds}} and {{ozone}} subdirectories, only ones like {{hadoop-hdds-common}}, etc.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org