Skip to content

Commit

Permalink
[CI] Use separate repo cache for E2E tests checkout (intel#10331)
Browse files Browse the repository at this point in the history
We run Build/E2E tasks under different users on our amdgpu runners
resulting in errors reusing the same cache under both. Separate the
caches to resolve those.
  • Loading branch information
aelovikov-intel authored Jul 12, 2023
1 parent 48be219 commit aa5e670
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/linux_single_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ jobs:
with:
path: llvm
ref: ${{ inputs.ref }}
cache_path: "/__w/repo_cache/"
# We run build and HIP E2E tests under different users on the same
# runners, so need to use distinct cache paths.
cache_path: "/__w/repo_cache_e2e/"
merge: ${{ inputs.merge }}
- name: Install drivers
if: env.compute_runtime_tag != ''
Expand Down
1 change: 0 additions & 1 deletion devops/actions/cached_checkout/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ runs:
else
git clone https://github.com/${{ inputs.repository }}.git .
fi
chown -R sycl:sycl ${{ inputs.cache_path }}/${{ inputs.repository }}
- name: Checkout
env:
GIT_ALTERNATE_OBJECT_DIRECTORIES: ${{ inputs.cache_path }}/${{ inputs.repository }}/.git/objects
Expand Down

0 comments on commit aa5e670

Please sign in to comment.