-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds controller module. #408
Conversation
For future, I don't think you really need to include updates to the docs for every PR as it adds a lot of static to the changes. I think we should only do that during release PRs. |
Fixes #326 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for letting me know you copied the device module. It made it much easier to find the copy pasta.
Co-authored-by: Joe Wesch <10467633+joewesch@users.noreply.github.com>
Co-authored-by: Joe Wesch <10467633+joewesch@users.noreply.github.com>
Co-authored-by: Joe Wesch <10467633+joewesch@users.noreply.github.com>
- debug: | ||
msg: "{{ nautobot_version }}" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- debug: | |
msg: "{{ nautobot_version }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is alright to leave the debug message in here to print out for CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to start a copy/pasta pattern for future modules. Can you add it to the main.yml
instead and update the message to something more human readable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want, we could also move all of the existing conditional blocks out of the individual test files and into main.yml
. It would then make sense to have a debug message there like "Running 2.2+ tests" and "Skipping 2.2+ tests because version is {{nautobot_version}}".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am approving this PR for now, but I'll want to come back and revisit this later if we need to continue to need to have tests conditionally run based on the version.
Co-authored-by: Joe Wesch <10467633+joewesch@users.noreply.github.com>
Co-authored-by: Joe Wesch <10467633+joewesch@users.noreply.github.com>
…ew_model_controllers
Adds new model for controllers.