-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from nautobot/releases/nautobot-app-v2.2.0
Release nautobot-app-v2.2.0
- Loading branch information
Showing
35 changed files
with
325 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Drift Management | ||
|
||
Drift management is a process that allows semi-automated updates of cookies (Nautobot apps) based on the changes to the cookiecutter template. Network to Code has built and maintains a private project that is used for drift management. | ||
|
||
This process consists of the steps explained below. | ||
|
||
## Push the Tag to the Repository | ||
|
||
Pushing the release tag, e.g., `nautobot-app-v2.X.Y`, to the repository will trigger the GitHub Actions workflow. This workflow uses the latest `Drift Manager` Docker image to re-bake all the cookies specified in the workflow file. | ||
|
||
## Examining the Workflow | ||
|
||
The workflow runs individual jobs for each cookie. Each job runs the Drift Manager and creates a pull request with the drift changes since the last re-bake. | ||
|
||
Individual jobs can fail for various reasons, including the presence of a stale drift pull request. | ||
|
||
Stale drift pull requests must be either merged or closed manually; the drift management process will include the changes again along with any new drift in the next re-bake. | ||
|
||
After resolving the cause of the failure, the job can be re-run by clicking the `Re-run jobs` button in the workflow. | ||
|
||
## Pull Request Cleanup | ||
|
||
Once the workflow finishes, it creates a pull request with the drift changes since the last re-bake for each cookie. If there are no changes, a pull request will not be generated. | ||
|
||
Drift pull requests often require manual cleanup before being marked as ready for review. The reasons for this include: | ||
|
||
- An obsolete `poetry.lock` file. | ||
To resolve this, run `poetry lock --no-update` and commit the changes. | ||
- Linter issues after updating the tooling. | ||
To resolve these, run `invoke autoformat`. Manual code updates may also be needed. | ||
- Code or documentation changes. | ||
The drift manager might rewrite existing code or documentation. In such cases, the changes must be reverted manually. | ||
|
||
## Reviewing and Merging the Pull Request | ||
|
||
The standard review and merging procedures apply to drift pull requests. These pull requests can be merged only after the review is complete, and the CI checks have passed. | ||
|
||
It is good practice to merge pull requests promptly to manage subsequent drift pull requests effectively and avoid issues with conflicts if other changes are pushed to the repository's `HEAD`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# v2.1 Release Notes | ||
|
||
## [v2.1.0] - 2024-01-29 | ||
|
||
**Full Changelog**: https://github.com/nautobot/cookiecutter-nautobot-app/compare/nautobot-app-v2.0.0...nautobot-app-v2.1.0 | ||
|
||
### Added | ||
|
||
- Added Drift Manager integration by @snaselj in https://github.com/nautobot/cookiecutter-nautobot-app/pull/30 | ||
|
||
### Changed | ||
|
||
- Changed posthook by @whitej6 in https://github.com/nautobot/cookiecutter-nautobot-app/pull/70 | ||
|
||
### Fixed | ||
|
||
- Fixed ruff exclude by @snaselj in https://github.com/nautobot/cookiecutter-nautobot-app/pull/65 | ||
- Fixed private selfhosted docs by @whitej6 in https://github.com/nautobot/cookiecutter-nautobot-app/pull/74 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# v2.2 Release Notes | ||
|
||
## [v2.2.0] - 2024-03-06 | ||
|
||
**Full Changelog**: https://github.com/nautobot/cookiecutter-nautobot-app/compare/nautobot-app-v2.1.0...nautobot-app-v2.2.0 | ||
|
||
### Added | ||
|
||
- Added `nautobot-app-dev-example` to the drift management. #88 | ||
- Added link to compatibility matrix to `README.md`. #68 | ||
- Added mermaid support to docs. #83 | ||
- Added app config schema generation and validation. #75 | ||
|
||
### Changed | ||
|
||
- Bumped CI actions versions. #92 | ||
- Changed logging to be single-line. #90 | ||
- Changed `invoke autoformat` not to use `ruff format`. #91 | ||
- Changed `README.md` references, to point to docs.nautobot.com. #79 | ||
|
||
### Fixed | ||
|
||
- Fixed docs based on [NetBox importer PR](https://github.com/nautobot/nautobot-app-netbox-importer/pull/126). #86 | ||
- Fixed template on [ChatOps](https://github.com/nautobot/nautobot-app-chatops). #81 | ||
|
||
### Removed | ||
|
||
- Removed `nautobot-app-nornir` from managed apps. #84 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
nautobot-app-chatops/{{ cookiecutter.project_slug }}/development/app_config_schema.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../nautobot-app/{{ cookiecutter.project_slug }}/development/app_config_schema.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...hatops/{{ cookiecutter.project_slug }}/{{ cookiecutter.app_name }}/app-config-schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../nautobot-app/{{ cookiecutter.project_slug }}/{{ cookiecutter.app_name }}/app-config-schema.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
nautobot-app-ssot/{{ cookiecutter.project_slug }}/development/app_config_schema.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../nautobot-app/{{ cookiecutter.project_slug }}/development/app_config_schema.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...p-ssot/{{ cookiecutter.project_slug }}/{{ cookiecutter.app_name }}/app-config-schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../nautobot-app/{{ cookiecutter.project_slug }}/{{ cookiecutter.app_name }}/app-config-schema.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.