nautobot-app-golden-config icon indicating copy to clipboard operation
nautobot-app-golden-config copied to clipboard

git push can fail silently for backup & intended jobs

Open whitej6 opened this issue 8 months ago • 5 comments

Environment

  • Python version: 3.11
  • Nautobot version: 1.6.2
  • nautobot-golden-config version: 1.6.2

Expected Behavior

If failure occurs for git an exception should be raised

Observed Behavior

IF git config OR permissions are not correct then the repo.push() method will succeed and no error message will be returned

Steps to Reproduce

  1. Configure git repo for GC
  2. Set branch to protected & require a pull request
  3. run job
  4. Job reports successful but nothing is pushed

whitej6 avatar Oct 26 '23 18:10 whitej6