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

CI: deploy_all: add git ownership workaround #21867

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

MaEtUgR
Copy link
Member

@MaEtUgR MaEtUgR commented Jul 19, 2023

Solved Problem

Deploy metadata for all targets / build beaglebone still failing now with the new error:
fatal: detected dubious ownership in repository at '/__w/PX4-Autopilot/PX4-Autopilot'

Solution

Port the workaround from #21749 namely commit a6d2c2c to the metadata deployment. I double-checked that if you have an older version of git this setting gets added without failing.

Test coverage

It builds locally, I cannot reproduce the permission setup that GitHub Actions creates with the checkout plugin but the same fix worked on the other ci pipelines that use this container and failed with the same error.

@MaEtUgR MaEtUgR self-assigned this Jul 19, 2023
@MaEtUgR MaEtUgR merged commit ce8dd2b into main Jul 19, 2023
2 of 84 checks passed
@MaEtUgR MaEtUgR deleted the maetugr/deploy-metadata-fix2 branch July 19, 2023 17:09
@MaEtUgR
Copy link
Member Author

MaEtUgR commented Jul 19, 2023

That was a success 😅
image
Now that it's running again we can find better ways 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant