-
Notifications
You must be signed in to change notification settings - Fork 2
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
Updated pipeline stages for Jenkinsfile #50
Conversation
So I have a few questions and a few comments (forgive me for being verbose, I err on the side of over-explaining):
For now, it would be better to keep using
And then we would have All this to say, I don't see any stories that are focused on adding integration tests in other languages currently, and we may not actually do that during this effort. Much of this PR falls under the YAGNI principle, and should be left out for now. On the topic of issue #20, I think we should be focusing on producing Junit output from the python integration tests, and making that available in Jenkins. The issue doesn't go into detail, so I'll add some here:
Srdjan linked to this Jenkinsfile in the Python API repo, and that's actually a great example to follow: https://github.com/cyberark/conjur-api-python3/blob/master/Jenkinsfile |
4be66c9
to
0785a2b
Compare
Increases segementation on pipeline runs and makes understanding failures easier
0785a2b
to
f571354
Compare
@BradleyBoutcher Just made a few changes. I went back to just calling the integration_tests script in place of separate stages. I also added a JUnit output for the nose2 test runs. As far as integration tests in other languages goes, I think we are starting on Ruby next. Is the overall plan to move to having a separate repository for each generated client? I was thinking that because they are all derived from this one spec we would keep everything in this repository and just generate the clients as needed to package and distribute releases. |
I was mistaken before, my apologies, I've been trying to get up to speed with the project to understand the direction it's going. It does look like we can pursue Ruby tests per this story: #49, but specifically we'll want to use the structure described there. This'll make it easier to:
Currently, we do not have a scoped-out migration plan, so the generated clients we work on will be housed here for the time being. That being said, I do believe the clients will be migrated to their own repositories once we reach feature parity with the existing language-specific repos, and we come up with a clear migration strategy. That's a long ways down the line though, so for this effort we should focus on:
For now, I'd be happy to jump on a call with you and @john-odonnell to work on our testing strategy sometime, I think we could flesh out these stories a bit more with your insight. |
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.
Just one small thing, then it's ready to go 👍
--no-deps \ | ||
test-python \ | ||
nose2 -v -s test/python/ |
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.
Can we add a .gitignore entry for the junit output?
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 believe it is already in the .gitignore
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.
Ah great, thanks!
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.
LGTM
Increases segmentation on pipeline runs and makes understanding failures easier
What does this PR do?
Increased the level of segmentation overall for the pipeline. This should help keep test runs separate once we start adding integration tests for the other clients.
What ticket does this PR close?
Resolves #20
Checklists
Change log
Test coverage
Documentation
README
s) were updated in this PR, and/or there is a follow-on issue to update docs, or