nautobot-app-golden-config
nautobot-app-golden-config copied to clipboard
git push can fail silently for backup & intended jobs
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
- Configure git repo for GC
- Set branch to protected & require a pull request
- run job
- Job reports successful but nothing is pushed