Skip to content
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

Enable Upstream Testing #56

Merged
merged 7 commits into from
Apr 6, 2023
Merged

Enable Upstream Testing #56

merged 7 commits into from
Apr 6, 2023

Conversation

bryanculver
Copy link
Member

@bryanculver bryanculver commented Dec 6, 2022

@bryanculver
Copy link
Member Author

next is expected to fail because it goes to a new major version of Nautobot so can be safely ignored for now.

@bryanculver bryanculver mentioned this pull request Mar 3, 2023
18 tasks
@snaselj snaselj force-pushed the bsc-2023-upstream-testing branch from 117655f to 5edc348 Compare March 8, 2023 13:39
@snaselj
Copy link
Contributor

snaselj commented Mar 8, 2023

Rebased on top of develop

pyproject.toml Outdated Show resolved Hide resolved
development/Dockerfile Show resolved Hide resolved
development/Dockerfile Show resolved Hide resolved
@snaselj
Copy link
Contributor

snaselj commented Mar 8, 2023

The only test failing now is with upstream testing next, that's supposed to fail.

This PR is ready for review

@snaselj snaselj marked this pull request as ready for review March 8, 2023 18:20
@snaselj snaselj marked this pull request as draft March 9, 2023 13:36
@snaselj
Copy link
Contributor

snaselj commented Mar 9, 2023

I will revert changes to pyopenssl and cryptography version and bump nautobot dependency to 1.4.

@snaselj snaselj force-pushed the bsc-2023-upstream-testing branch 5 times, most recently from da9bb85 to 539f7b2 Compare March 9, 2023 15:17
@snaselj
Copy link
Contributor

snaselj commented Mar 9, 2023

All tests excluding upstream monitoring are now passing.

snaselj added 2 commits March 10, 2023 08:46
- CI pylint using Nautobot 1.4.10
- CI unittest using Nautobot [1.4.10, 1.5.10] to avoid bug in 1.5.11 and
  1.5.12
@snaselj snaselj force-pushed the bsc-2023-upstream-testing branch from 6a3e905 to e1dbaa2 Compare March 10, 2023 08:47
@snaselj
Copy link
Contributor

snaselj commented Mar 10, 2023

I force pushed last commits to align pylint and unittest CI versions according to the latest template.

This PR is ready for review now, all comments are addressed.

@snaselj snaselj marked this pull request as ready for review March 10, 2023 08:58
@snaselj snaselj requested a review from glennmatthews March 10, 2023 08:58
@bryanculver bryanculver requested a review from a team March 23, 2023 16:31
@bryanculver bryanculver dismissed glennmatthews’s stale review April 4, 2023 12:16

Issue with pyopenssl resolved. Other feedback addressed.

@bryanculver
Copy link
Member Author

@nautobot/core Can I get a final once-over? Since I was the one to open the PR I can't review and merge it myself.


on: # yamllint disable-line rule:truthy rule:comments
schedule:
- cron: "0 4 */2 * *" # every other day at midnight
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment says midnight but the crontab is 4am

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bryanculver There is wrong comment in the template, didn't notice that yet, will fix it here and in the template.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

README.md Outdated
Nautobot Secrets Providers is a plugin for [Nautobot](https://github.com/nautobot/nautobot) 1.2.0 or higher that bundles Secrets Providers for integrating with popular secrets backends. Nautobot 1.2.0 added support for integrating with retrieving secrets from various secrets providers.
Nautobot Secrets Providers is a plugin for [Nautobot](https://github.com/nautobot/nautobot) 1.4.0 or higher that bundles Secrets Providers for integrating with popular secrets backends. Nautobot 1.4.0 added support for integrating with retrieving secrets from various secrets providers.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this accurate? Pypi goes back to version 1.0.0 which supports nautobot ~1.2.1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The template we use has minimal Nautobot version v1.4.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snaselj @gsnider2195 is suggesting that this message is inaccurate. It's more-so speaking to the historical support of Secrets which was introduced in 1.2. We are moving up the minimum version but that doesn't rewrite history.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

> Nautobot Secrets Providers is compatible with Nautobot 1.2.0 and higher. Support for Thycotic Secret Server requires Python 3.7 or later.
> Nautobot Secrets Providers is compatible with Nautobot 1.4.0 and higher. Support for Thycotic Secret Server requires Python 3.7 or later.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The template we use has minimal Nautobot version v1.4.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unlike the above, I think this change is OK because read in the context of the plugin today (if this is merged) it will support 1.4+ but you can find older versions that support older versions of Nautobot.

This is where compatibility matrixes come in handy which is something other apps have started introducing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving as is

@bryanculver bryanculver requested review from a team and gsnider2195 April 4, 2023 20:16
@bryanculver bryanculver merged commit 67bf63c into develop Apr 6, 2023
@bryanculver bryanculver mentioned this pull request Apr 19, 2023
@DistantVoyager DistantVoyager deleted the bsc-2023-upstream-testing branch June 20, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

4 participants