Skip to content

Commit

Permalink
Fix "dubious ownership" issue in OpenStack testing
Browse files Browse the repository at this point in the history
    Cloning into '/opt/stack/calico'...
    fatal: detected dubious ownership in repository at '/home/semaphore/calico/.git'
    To add an exception for this directory, call:
    	git config --global --add safe.directory /home/semaphore/calico/.git
  • Loading branch information
nelljerram authored and coutinhop committed Nov 14, 2024
1 parent 10fce3f commit ca8c98a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .semaphore/semaphore-scheduled-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ blocks:
- export UPPER_CONSTRAINTS_FILE=https://releases.openstack.org/constraints/upper/yoga
- export NC_PLUGIN_REPO=$(dirname $(pwd))
- export NC_PLUGIN_REF=$(git rev-parse --abbrev-ref HEAD)
- sudo git config --system --add safe.directory ${NC_PLUGIN_REPO}/.git
- TEMPEST=true DEVSTACK_BRANCH=unmaintained/yoga ./devstack/bootstrap.sh
epilogue:
on_fail:
Expand Down
1 change: 1 addition & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ blocks:
- export UPPER_CONSTRAINTS_FILE=https://releases.openstack.org/constraints/upper/yoga
- export NC_PLUGIN_REPO=$(dirname $(pwd))
- export NC_PLUGIN_REF=$(git rev-parse --abbrev-ref HEAD)
- sudo git config --system --add safe.directory ${NC_PLUGIN_REPO}/.git
- TEMPEST=true DEVSTACK_BRANCH=unmaintained/yoga ./devstack/bootstrap.sh
epilogue:
on_fail:
Expand Down
1 change: 1 addition & 0 deletions .semaphore/semaphore.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ blocks:
- export UPPER_CONSTRAINTS_FILE=https://releases.openstack.org/constraints/upper/yoga
- export NC_PLUGIN_REPO=$(dirname $(pwd))
- export NC_PLUGIN_REF=$(git rev-parse --abbrev-ref HEAD)
- sudo git config --system --add safe.directory ${NC_PLUGIN_REPO}/.git
- TEMPEST=true DEVSTACK_BRANCH=unmaintained/yoga ./devstack/bootstrap.sh
epilogue:
on_fail:
Expand Down

0 comments on commit ca8c98a

Please sign in to comment.