You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/08/28 19:30:33 UTC

[GitHub] [hadoop-ozone] adoroszlai opened a new pull request #1364: HDDS-4165. GitHub Actions cache does not work outside of workspace

adoroszlai opened a new pull request #1364:
URL: https://github.com/apache/hadoop-ozone/pull/1364


   ## What changes were proposed in this pull request?
   
   Checkout project to its regular location (inside `GITHUB_WORKSPACE`) before attempting to restore cache.  This allows calculation of hash of cache key files (`pom.xml`, `pnpm-lock.yaml`)
   
   https://issues.apache.org/jira/browse/HDDS-4165
   
   ## How was this patch tested?
   
   Verified that cache key now includes hash of files:
   
   ```
   Cache not found for input keys: maven-repo-78a78691596adf599a9afd1481471aa13fb05402873415b8199d404fd937eae2
   ...
   Cache not found for input keys: Linux-pnpm-17a93e576bec6596513e8336af475af9b856a1ba83ab27dd39d06fe763dac835, Linux-pnpm-
   ```
   
   https://github.com/adoroszlai/hadoop-ozone/runs/1042731167#step:3:5
   https://github.com/adoroszlai/hadoop-ozone/runs/1042730953#step:4:9
   
   and subsequent build on same branch reuses cache:
   
   ```
   Cache restored from key: maven-repo-78a78691596adf599a9afd1481471aa13fb05402873415b8199d404fd937eae2
   ...
   Cache restored from key: Linux-pnpm-17a93e576bec6596513e8336af475af9b856a1ba83ab27dd39d06fe763dac835
   ```
   
   https://github.com/adoroszlai/hadoop-ozone/runs/1042919167#step:3:10
   https://github.com/adoroszlai/hadoop-ozone/runs/1042919016#step:4:13


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] elek merged pull request #1364: HDDS-4165. GitHub Actions cache does not work outside of workspace

Posted by GitBox <gi...@apache.org>.
elek merged pull request #1364:
URL: https://github.com/apache/hadoop-ozone/pull/1364


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] vivekratnavel commented on pull request #1364: HDDS-4165. GitHub Actions cache does not work outside of workspace

Posted by GitBox <gi...@apache.org>.
vivekratnavel commented on pull request #1364:
URL: https://github.com/apache/hadoop-ozone/pull/1364#issuecomment-685272723


   @adoroszlai Thanks for fixing this! +1 LGTM


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] adoroszlai commented on pull request #1364: HDDS-4165. GitHub Actions cache does not work outside of workspace

Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #1364:
URL: https://github.com/apache/hadoop-ozone/pull/1364#issuecomment-685869620


   Thanks @vivekratnavel for the review, and @elek for reviewing and committing it.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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