adoroszlai commented on code in PR #6043:
URL: https://github.com/apache/ozone/pull/6043#discussion_r1463533626
##########
.github/workflows/intermittent-test-check.yml:
##########
@@ -105,21 +138,33 @@ jobs:
with:
ref: ${{ github.event.inputs.ref }}
- name: Cache for maven dependencies
- uses: actions/cache@v3
+ uses: actions/cache/restore@v3
with:
- path: ~/.m2/repository
- key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single
+ path: |
+ ~/.m2/repository
+ !~/.m2/repository/org/apache/ozone
+ key: maven-repo-${{ hashFiles('**/pom.xml') }}
restore-keys: |
- maven-repo-${{ hashFiles('**/pom.xml') }}-8
- maven-repo-${{ hashFiles('**/pom.xml') }}
maven-repo-
+ - name: Download Ozone repo
+ id: download-ozone-repo
+ uses: actions/download-artifact@v3
+ with:
+ name: ozone-repo
+ path: |
+ ~/.m2/repository/org/apache/ozone
+ continue-on-error: true
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
- name: Execute tests
run: |
+ if [[ -e "${{ steps.download-ozone-repo.outputs.download-path }}"
]]; then
+ export OZONE_REPO_CACHED=true
Review Comment:
https://github.com/apache/ozone/blob/4a686c60b859b2ebf65698bb0f4180b46e358236/hadoop-ozone/dev-support/checks/junit.sh#L53-L57
This was added in HDDS-9485 (for regular CI workflow).
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]