My first netdevops ci-cd pipeline using the following tools, shoutout to @JulioPDX for putting together his guide here https://juliopdx.com/2021/10/20/building-a-network-ci/cd-pipeline-part-1/
- Nornir-Napalm for device configuration
- Drone CI/CD
- Pytest for pre/post validation checks
- Custom Docker container
- Clone the main repo
- Create a new branch
- Update the global variable YAML file updating the DMVPN Tunnel Secret
- Push changes and publish new branch, create PR
- New branch triggers CI/CD pipeline for pre validation checks to TEST devices
- Pre check consist of running NAPALM in dry run mode first , then pushing the changes, then pytest for testing DMVPN Tunnel State
- If checks pass and PR is merged, it triggers the last CI/CD pipeline
- Napalm dry run, push changes, and post validation check with pytest to PROD devices.