Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle 'EXDEV: cross-device link not permitted' #76

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

elventear
Copy link
Contributor

@elventear elventear commented Jan 10, 2024

The flow for blob binary downloading can fail if the runner is running in a context where the mount points for the hostedtoolcache is different than the workspace, since it's not possible to rename across different volumes.

This PR handles that error in particular and falls back to trying to copy the source the data and then removing it instead.

@jaxxstorm
Copy link
Owner

Thank you for the PR. Does this primarily affected self hosted runners?

@elventear
Copy link
Contributor Author

@jaxxstorm I think it's a possibility to run into this if you run your Workflow job inside a container and do funky things with the volumes. But In my case it was a self hosted runner executing in k8s using ARC.

@jaxxstorm
Copy link
Owner

Thanks for the contribution!

@jaxxstorm jaxxstorm merged commit 4b164a4 into jaxxstorm:master Jan 12, 2024
36 checks passed
renovate bot referenced this pull request in mykso/myks Feb 10, 2024
…11.0 (#239)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[jaxxstorm/action-install-gh-release](https://togithub.com/jaxxstorm/action-install-gh-release)
| action | minor | `v1.10.0` -> `v1.11.0` |

---

### Release Notes

<details>
<summary>jaxxstorm/action-install-gh-release
(jaxxstorm/action-install-gh-release)</summary>

###
[`v1.11.0`](https://togithub.com/jaxxstorm/action-install-gh-release/releases/tag/v1.11.0)

[Compare
Source](https://togithub.com/jaxxstorm/action-install-gh-release/compare/v1.10.0...v1.11.0)

##### What's Changed

- Configure Renovate by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/30](https://togithub.com/jaxxstorm/action-install-gh-release/pull/30)
- Ensure that binaries-location is used when caching is enabled by
[@&#8203;DavidGregory084](https://togithub.com/DavidGregory084) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/50](https://togithub.com/jaxxstorm/action-install-gh-release/pull/50)
- remove opentelemetry latest by
[@&#8203;jaxxstorm](https://togithub.com/jaxxstorm) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/59](https://togithub.com/jaxxstorm/action-install-gh-release/pull/59)
- Fix arm by
[@&#8203;jwhitaker-swiftnav](https://togithub.com/jwhitaker-swiftnav) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/65](https://togithub.com/jaxxstorm/action-install-gh-release/pull/65)
- fixing tfsec arch by
[@&#8203;jaxxstorm](https://togithub.com/jaxxstorm) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/73](https://togithub.com/jaxxstorm/action-install-gh-release/pull/73)
- add promtool by [@&#8203;jaxxstorm](https://togithub.com/jaxxstorm) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/74](https://togithub.com/jaxxstorm/action-install-gh-release/pull/74)
- Handle 'EXDEV: cross-device link not permitted' by
[@&#8203;elventear](https://togithub.com/elventear) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/76](https://togithub.com/jaxxstorm/action-install-gh-release/pull/76)
- Update dependency
[@&#8203;types/node](https://togithub.com/types/node) to v20 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/70](https://togithub.com/jaxxstorm/action-install-gh-release/pull/70)
- upgrades run-as node version by
[@&#8203;codevbus](https://togithub.com/codevbus) in
[https://github.com/jaxxstorm/action-install-gh-release/pull/79](https://togithub.com/jaxxstorm/action-install-gh-release/pull/79)

##### New Contributors

- [@&#8203;renovate](https://togithub.com/renovate) made their first
contribution in
[https://github.com/jaxxstorm/action-install-gh-release/pull/30](https://togithub.com/jaxxstorm/action-install-gh-release/pull/30)
- [@&#8203;DavidGregory084](https://togithub.com/DavidGregory084) made
their first contribution in
[https://github.com/jaxxstorm/action-install-gh-release/pull/50](https://togithub.com/jaxxstorm/action-install-gh-release/pull/50)
- [@&#8203;jwhitaker-swiftnav](https://togithub.com/jwhitaker-swiftnav)
made their first contribution in
[https://github.com/jaxxstorm/action-install-gh-release/pull/65](https://togithub.com/jaxxstorm/action-install-gh-release/pull/65)
- [@&#8203;elventear](https://togithub.com/elventear) made their first
contribution in
[https://github.com/jaxxstorm/action-install-gh-release/pull/76](https://togithub.com/jaxxstorm/action-install-gh-release/pull/76)
- [@&#8203;codevbus](https://togithub.com/codevbus) made their first
contribution in
[https://github.com/jaxxstorm/action-install-gh-release/pull/79](https://togithub.com/jaxxstorm/action-install-gh-release/pull/79)

**Full Changelog**:
jaxxstorm/action-install-gh-release@v1...v1.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/mykso/myks).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants