-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add preflight-lib reference #592
Add preflight-lib reference #592
Conversation
In our team, we'll be quite interested in this, because if we can execute tnf and preflight from the same point and in one single run, it would be great. Will you define instructions to explain how to run preflight? |
@ramperher I'll probably have a "demo" or a short video or something to describe what I'm doing in more detail. But the idea behind this is that I created what I'm calling the preflight By making these routines public, I was able to build up my own (container-only as of the time of this comment) runners and execute the preflight code straight from the TNF code base. I created a new "suite" on our side called "preflight" and you just include that the way you would include access-control, networking, etc. On our side, the Ginkgo It blocks are created dynamically so lets say if the upstream openshift-preflight repo adds more tests, all we have to do is bump the release version of preflight and pull it in and it will automatically run it in TNF. I am still working on the "operator side" of the preflight code this week but it should be very similar to what I did for the container side. |
a3e727f
to
2e27f81
Compare
It sounds nice! if you need to test it with DCI when you have something ready, don't hesitate to tell us, we can give it a try! |
2e27f81
to
b48bc0f
Compare
ade87a8
to
60da82f
Compare
Add operator support Add unit test for container results
ae05db0
to
b74ea5e
Compare
b74ea5e
to
1f5ea32
Compare
1f5ea32
to
8a5678d
Compare
redhat-openshift-ecosystem/openshift-preflight#809 has merged and I will be using this preflight branch as my testing ground: https://github.com/komish/openshift-preflight/tree/add-lib-ha |
Closing in favor of #631 |
This is my WIP branch adding support for the tests written in the
openshift-preflight
repo and automatically importing them into our ginkgo output.