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 builds are failing due to dubious ownership in repository at '/app' #1394

Closed
kouralex opened this issue Nov 28, 2022 · 0 comments · Fixed by #1397
Closed

CI builds are failing due to dubious ownership in repository at '/app' #1394

kouralex opened this issue Nov 28, 2022 · 0 comments · Fixed by #1397
Assignees
Labels
maintenance Dependency changes, security updates, infrastructure tweaks & general mainenance tests
Milestone

Comments

@kouralex
Copy link
Contributor

It seems like there has been a change in how Git works in CI builds since https://github.com/NatLibFi/Skosmos/actions/runs/3544077105/jobs/5951055820 as builds will now fail with following errors:

1) ModelTest::testGetVersion
PHPUnit\Framework\Exception: fatal: detected dubious ownership in repository at '/app'
To add an exception for this directory, call:

	git config --global --add safe.directory /app

2) WebControllerTest::testExecuteGitModifiedDateCommand
PHPUnit\Framework\Exception: fatal: detected dubious ownership in repository at '/app'
To add an exception for this directory, call:

	git config --global --add safe.directory /app

As a consequence, all CI builds will now fail.

@kouralex kouralex added the tests label Nov 28, 2022
@kouralex kouralex added this to the Next Tasks milestone Nov 28, 2022
@osma osma modified the milestones: Next Tasks, 2.17 Dec 15, 2022
@osma osma self-assigned this Dec 15, 2022
@osma osma added bug maintenance Dependency changes, security updates, infrastructure tweaks & general mainenance and removed bug labels Dec 15, 2022
osma pushed a commit that referenced this issue Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Dependency changes, security updates, infrastructure tweaks & general mainenance tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants