-
Notifications
You must be signed in to change notification settings - Fork 157
Add container PyTest to Ruby Container #608
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
Conversation
Pull Request validationFailed🔴 Review - Missing review from a member (1 required) Success🟢 CI - All checks have passed |
c359e76 to
21776e9
Compare
|
[test-pytest][test-openshift-pytest] |
Testing Farm results
|
e68a3cc to
6a40ee4
Compare
b24e784 to
69acf3b
Compare
|
[test-pytest][test-openshift-pytest] |
|
[test-all] |
9f63909 to
c8f48c2
Compare
|
Rebased agains master. [test-all] |
jackorp
left a comment
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 cannot promise that this review is by any means exhaustive to the last letter of the changes.
Bar the incorrect docstrings, there are some opportunities to refactor, PTAL.
8a29592 to
019f055
Compare
|
[test-pytest][test-openshift] |
Signed-off-by: Petr "Stone" Hracek <[email protected]>
Migration matrix is following: For db, puma, rack applications are classes: db -> TestRubyHelloWorldContainer puma -> TestRubyPumaTestAppContainer rack -> TestRubyRackTestAppContainer test_docker_run_usage -> test_container_basics.py->TestS2IRubyContainer(test_docker_run_usage) test_application -> test_application in each class test_connection -> test_application in each class in assert test_response -> test_application in each class in assert test_scl_usage -> test_container_basics.py->TestS2IRubyContainer(test_scl_usage) test_npm_functionality -> test_container_basics.py->TestRubyNPMtestContainer test_ruby_fips_mode -> test_container_fips.py->TestRubyFipsModeContainer(test_fips_mode) test_ruby_fips_s2i_app -> test_container_fips.TestRubyFipsApplicationContainer(test_application) test_from_dockerfile -> test_container_basics.py -> TestS2IRubyContainer(test_dockerfiles) test_from_dockerfile.s2i -> test_container_basics.py -> TestS2IRubyContainer(test_dockerfiles) Signed-off-by: Petr "Stone" Hracek <[email protected]>
Do not run FIPS tests on RHEL8 Signed-off-by: Petr "Stone" Hracek <[email protected]>
Fix skipping RHEL8 tests for FIPS. Signed-off-by: Petr "Stone" Hracek <[email protected]>
Build app once and test it. Signed-off-by: Petr "Stone" Hracek <[email protected]>
Signed-off-by: Petr "Stone" Hracek <[email protected]>
Co-authored-by: Jarek Prokop <[email protected]>
Co-authored-by: Jarek Prokop <[email protected]>
fix test_name. Copy paste error Update documentation text in function Co-authored-by: Jarek Prokop <[email protected]>
Move DEPLOYED_PSQL_IMAGE to conftest.py Do not duplication functions in test_ocp_s2i_rails_ex_templates. Move the functionality to test_ocp_s2i_local_templates.py Signed-off-by: Petr "Stone" Hracek <[email protected]>
test_ocp_s2i_local_templates.py Signed-off-by: Petr "Stone" Hracek <[email protected]>
Co-authored-by: Jarek Prokop <[email protected]>
FIPS disabled Signed-off-by: Petr "Stone" Hracek <[email protected]>
31d8c65 to
0f88172
Compare
|
[test-pytest][test-openshift] |
|
@jackorp PTAL one more time. Thanks. In case all is good, just Approve it. |
Add Container PyTest suite to s2i-ruby container.
Migration matrix is following:
For db, puma, rack applications are classes:
db -> TestRubyHelloWorldContainer
puma -> TestRubyPumaTestAppContainer
rack -> TestRubyRackTestAppContainer