All scripts
gitops
Expert
CI/CD
Network GitOps Pipeline
Git-backed network as code: config render from Jinja2+YAML intent, PR-triggered dry-run with diff annotation, merge-triggered push to fleet and rollback on CI failure.
Cisco
Juniper
Arista
Nokia
You're viewing a preview
The full script, parameters, and execution console are available with a free account.
Already have access? Sign in →
Capabilities
- Jinja2 + YAML intent render
- PR-triggered dry-run
- Diff annotation on PR
- Merge-triggered fleet push
- CI gate + rollback
- GitLab/GitHub support
Required inputs
Parameters the script accepts. Defaults shown; some are vendor- or context-gated.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Intent directory intent_dir | string | intent/ | — |
Template directory template_dir | string | templates/ | — |
CI event ci_event | string | pull_request | — |
Sample inventory schema
Authoritative shape of the device/policy data this script consumes.
No bundled inventory sample. The script accepts standard device lists (CSV/YAML) with hostname, mgmt IP, vendor, and credentials.
Expected output
Reference terminal output the script should produce — used as a stylistic and structural target.
terminal
[2026-06-12] INFO GitOps run · event=pull_request · 3 changed intent files Rendered core-rtr-01.cfg (Jinja2 ospf.j2 + core.yaml) [DIFF] core-rtr-01: +4 -1 (added ospf area 0 auth, removed legacy ACL) Posted diff annotation to PR #482 event=push would deploy 3 devices; CI failure → auto rollback Summary: 3 rendered · 3 diffs · 0 errors