Skip to content

Commit

Permalink
Integrate Drift Manager (#30)
Browse files Browse the repository at this point in the history
* feat: Re-bake

* chore: Disable nautobot-app tag workflow

* fix: Doc

* fix: Enable rebake workflow
  • Loading branch information
snaselj authored Jan 23, 2024
1 parent d277dd0 commit 987f64b
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 122 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/tag-nautobot-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: "Rebake Tag"
on: # yamllint disable-line rule:truthy
push:
tags:
- "nautobot-app-v*"
jobs:
rebake:
container: "ghcr.io/nautobot/cookiecutter-nautobot-app-drift-manager/prod:latest"
runs-on: "ubuntu-22.04"
env:
GITHUB_TOKEN: "${{ secrets.GH_NAUTOBOT_BOT_TOKEN }}"
strategy:
fail-fast: false
max-parallel: 5 # Limit of concurrent jobs
matrix:
name:
- "capacity-metrics"
- "chatops"
- "circuit-maintenance"
- "data-validation-engine"
- "device-lifecycle-mgmt"
- "device-onboarding"
- "firewall-models"
- "floor-plan"
- "golden-config"
- "netbox-importer"
- "nornir"
- "secrets-providers"
- "ssot"
- "version-control"
- "welcome-wizard"
steps:
- name: "Re-bake"
run: |
python -m ntc_cookie_drift_manager \
rebake \
--push \
--template-ref="${{ github.ref }}" \
https://github.com/nautobot/nautobot-app-${{ matrix.name }}.git
2 changes: 1 addition & 1 deletion docs/admin/compatibility_matrix.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Compatibility Matrix

This table shows the target Nautobot versions which the templates in this repository are compatible with. For example, if you wish to build an App for Nautobot 1.6, then you should use the templates from `v1.2` (or whichever is the latest v1.x) of the repository. These specific versions are git tags.
This table shows the target Nautobot versions which the templates in this repository are compatible with. For example, if you wish to build an App for Nautobot 1.6, then you should use the templates from `nautobot-app-v1.2.0` (or whichever is the latest `nautobot-app-v1.x.y) of the repository. These specific versions are git tags.

| Repo Release Version | Nautobot First Support Version | Nautobot Last Support Version |
| ------------- | -------------------- | ------------- |
Expand Down
2 changes: 1 addition & 1 deletion docs/user/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,5 @@ The file `creds.env` will be ignored by git and can be used to override default
The cookiecutter CLI tool uses the default branch when using the above example command, to use a different branch, commit, or tag the `--checkout` command line argument can be used.

- `--checkout=main` will bake the cookie against the main branch
- `--checkout=v1.0.0` will bake the cookie against the `v1.0.0` tag
- `--checkout=nautobot-app-v1.0.0` will bake the cookie against the `nautobot-app-v1.0.0` tag
- `--checkout=6769dee` will bake the cookie against the `6769dee` commit

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 987f64b

Please sign in to comment.