awx-task fails for git #18

Open
opened 2023-11-14 13:25:17 +00:00 by jon_nfc · 7 comments
jon_nfc commented 2023-11-14 13:25:17 +00:00 (Migrated from gitlab.com)
Failed to set a new url https://github.com/ansible/ansible-tower-samples for origin:

fatal: detected dubious ownership in repository at '/var/lib/awx/projects/_6__demo_project'

To add an exception for this directory, call:

    git config --global --add safe.directory /var/lib/awx/projects/_6__demo_project\n
  • Add Command git config --global --add safe.directory '*' to build process

  • Audit the above to ensure it's the right path as git config --global --add safe.directory '/var/lib/awx/projects/*' may be better.

``` log Failed to set a new url https://github.com/ansible/ansible-tower-samples for origin: fatal: detected dubious ownership in repository at '/var/lib/awx/projects/_6__demo_project' To add an exception for this directory, call: git config --global --add safe.directory /var/lib/awx/projects/_6__demo_project\n ``` - [x] Add Command `git config --global --add safe.directory '*'` to build process - [ ] Audit the above to ensure it's the right path as `git config --global --add safe.directory '/var/lib/awx/projects/*'` may be better.
jon_nfc commented 2023-11-14 13:25:18 +00:00 (Migrated from gitlab.com)

assigned to @jon_nfc

assigned to @jon_nfc
jon_nfc commented 2023-11-14 13:25:30 +00:00 (Migrated from gitlab.com)

added 3m of time spent

added 3m of time spent
jon_nfc commented 2023-11-14 19:15:06 +00:00 (Migrated from gitlab.com)

mentioned in commit c9a6a5c088

mentioned in commit c9a6a5c0888bf66dd5ff9f14800aecadc20f0c82
jon_nfc commented 2023-11-14 19:15:45 +00:00 (Migrated from gitlab.com)

mentioned in merge request !117

mentioned in merge request !117
jon_nfc commented 2023-11-14 19:16:16 +00:00 (Migrated from gitlab.com)

unassigned @jon_nfc

unassigned @jon_nfc
jon_nfc commented 2023-11-14 19:16:20 +00:00 (Migrated from gitlab.com)

marked the checklist item Add Command git config --global --add safe.directory '*' to build process as completed

marked the checklist item **Add Command `git config --global --add safe.directory '*'` to build process** as completed
jon_nfc commented 2023-11-16 08:07:26 +00:00 (Migrated from gitlab.com)

adjusting metadata as no longer applicable.

adjusting metadata as no longer applicable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: docker/execution_environment#18
No description provided.