-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Update Venafi module #55286
Update Venafi module #55286
Conversation
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.
@arykalin thanks for the PR and getting everything shifted to master
!
This is mostly looking good - there are a couple of minor style changes that will make this 💯- I don't see any glaring issues.
Though there are some test failures, that I believe are due to requirements. IIRC we need to run pre-commit to rebuild the dependencies. You should be able to just run pre-commit run -av
, which will say "failed" the first time.
Let me know if you run into any problems!
@arykalin The conflicts need to be resolved, The requirements from |
…e-venafi-module # Conflicts: # requirements/static/py2.7/linux.txt # requirements/static/py3.4/linux.txt # requirements/static/py3.5/linux.txt # requirements/static/py3.6/linux.txt # requirements/static/py3.7/linux.txt
I merged with master and run pre-commit run -av again. Will it fit? |
Hey @arykalin thanks for the updates! There is one issue unrelated to this PR in the failed tests, but there are a couple of failures that are related to Venafi: https://jenkinsci.saltstack.com/job/pr-ubuntu1804-py3/job/PR-55286/18/testReport/
Do you need any help looking into that? |
@waynew fixed tests |
Almost there - looks like https://jenkinsci.saltstack.com/job/pr-macosxmojave-py2/job/PR-55286/19/ failed as did the py3 Mojave build. |
@arykalin Looks like a dependency isn't getting installed?
|
We can probably remove the If you do remove them, you could rebase the changes on |
Codecov Report
@@ Coverage Diff @@
## master #55286 +/- ##
=======================================
Coverage 18.79% 18.79%
=======================================
Files 821 821
Lines 175155 175155
Branches 37695 37695
=======================================
Hits 32910 32910
Misses 139568 139568
Partials 2677 2677
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #55286 +/- ##
=======================================
Coverage 18.79% 18.79%
=======================================
Files 821 821
Lines 175155 175155
Branches 37695 37695
=======================================
Hits 32910 32910
Misses 139568 139568
Partials 2677 2677
|
Codecov Report
@@ Coverage Diff @@
## master #55286 +/- ##
==========================================
+ Coverage 17.97% 18.79% +0.83%
==========================================
Files 1238 821 -417
Lines 240782 175155 -65627
Branches 52795 37695 -15100
==========================================
- Hits 43265 32910 -10355
+ Misses 193686 139568 -54118
+ Partials 3831 2677 -1154
|
Codecov Report
@@ Coverage Diff @@
## master #55286 +/- ##
=========================================
Coverage ? 18.79%
=========================================
Files ? 821
Lines ? 175155
Branches ? 37695
=========================================
Hits ? 32910
Misses ? 139568
Partials ? 2677
|
Hmm, can't understand why pylint fails, it was passing before :( |
Codecov Report
@@ Coverage Diff @@
## master #55286 +/- ##
=========================================
Coverage ? 18.79%
=========================================
Files ? 821
Lines ? 175155
Branches ? 37695
=========================================
Hits ? 32910
Misses ? 139568
Partials ? 2677
|
@waynew ci/py3/ubuntu1604 build failing with unknown reason, could you look? |
Not sure exactly what failed there either - I went ahead and triggered a rebuild. |
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.
🎉
@arykalin woohoo! We've got the build passing now, success! |
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.
There's a bug when our compile requirement pre-commit script runs in some situations.
I'll update requirements and push the fixed requirements.
This PR was resubmitted with a more concise git history and fixed requirements files in #55858 since I didn't have push access to the venafi fork. |
What does this PR do?
Transitions solution to Venafi preferred integration interface (VCert-Python) and updated to align with Venafi standard use cases for DevOps
Copy of #54695 merged with master branch
What issues does this PR fix or reference?
Restores interoperability with Venafi Cloud
Previous Behavior
Supported only Venafi Cloud
New Behavior
Adds support for Venafi Trust Protection Platform
Tests written?
Yes
Commits signed with GPG?
No