-
Notifications
You must be signed in to change notification settings - Fork 218
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
General CI Fix #573
General CI Fix #573
Conversation
The PR #534 which added this option (but failed to document them) was also missing |
I believe its because I noticed this too on:
All modules fail because cert is None if the user doesn't provide that parameter in their task and it can't loop on None .
|
@nahun all module options have the implicit default |
@ryanmerolle adding ansible_modules/tests/unit/module_utils/test_netbox_base_class.py Lines 47 to 60 in 4d3f69c
|
Thanks for the pointer @felixfontein. I felt like playing whack a mole with each CI linting_unit_testing stage Error I would find as I would fix each one. I just got tired and had to call it quits for the night. ON to the integration testing errors now. |
@FragmentedPacket I got a lot of the CI fixed up, but could I bother you this once to review? Totally understand if not. Summary: I got us unblocked for lint unit testing but hitting some snags on integration testing. |
As @nahun mentioned earlier the line
None . So I suggest we just do a simple
to avoid the issue. The cert addition to the modules does need a more thorough walkthrough I think when things have "settled" a bit. |
All that is left is either skipping v3.0 integration requiring success or fixing the integration testing for 3.0. Of course I need to document all the changes since this became a bigger PR than I intended. |
I say we let 3.0 fail for now as we haven't done any real work for 3.0 yet. Great work! |
I agree. 3.0 support should be a separate PR. |
I am commenting out NetBox 3.0 CI. I agree on it being its own PR, but at the same time it was so close and no major API changes were introduce, so it should not be failing. Future PRs should address:
|
@jeremystretch Ready to Merge... |
Thanks :) |
Closes Issue #567