Skip to content

Commit 84e56ef

Browse files
committed
ci: merge main branch
2 parents 3821b92 + 2e49105 commit 84e56ef

File tree

9 files changed

+118
-99
lines changed

9 files changed

+118
-99
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
- id: detect-secrets
3636

3737
- repo: https://github.com/astral-sh/ruff-pre-commit
38-
rev: v0.11.5
38+
rev: v0.11.6
3939
hooks:
4040
- id: ruff
4141
- id: ruff-format

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ dependencies = [
6666
"openshift-python-wrapper>=11.0.38",
6767
"semver>=3.0.4",
6868
"pytest-order>=1.3.0",
69+
"marshmallow==3.26.1", # this version is needed for pytest-jira
6970
]
7071

7172
[project.urls]

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ markers =
1616
pre_upgrade: Mark tests which should be run before upgrading the product.
1717
post_upgrade: Mark tests which should be run after upgrading the product.
1818
fuzzer: Mark tests that use fuzzing and are probably going to generate unanticipated failures.
19+
ocp_interop: Interop testing with Openshift.
1920

2021
# Model server
2122
modelmesh: Mark tests which are model mesh tests

tests/model_serving/model_server/authentication/test_kserve_token_authentication_raw.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
)
2626
class TestKserveTokenAuthenticationRawForRest:
2727
@pytest.mark.smoke
28+
@pytest.mark.ocp_interop
2829
@pytest.mark.dependency(name="test_model_authentication_using_rest_raw")
2930
def test_model_authentication_using_rest_raw(self, http_s3_caikit_raw_inference_service, http_raw_inference_token):
3031
"""Verify RAW Kserve model query with token using REST"""

tests/model_serving/model_server/authentication/test_kserve_token_authentication_serverless.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
)
2323
class TestKserveServerlessTokenAuthentication:
2424
@pytest.mark.smoke
25+
@pytest.mark.ocp_interop
2526
@pytest.mark.dependency(name="test_model_authentication_using_rest")
2627
def test_model_authentication_using_rest(self, http_s3_caikit_serverless_inference_service, http_inference_token):
2728
"""Verify model query with token using REST"""
@@ -36,6 +37,7 @@ def test_model_authentication_using_rest(self, http_s3_caikit_serverless_inferen
3637
)
3738

3839
@pytest.mark.smoke
40+
@pytest.mark.ocp_interop
3941
def test_model_authentication_using_grpc(self, grpc_s3_inference_service, grpc_inference_token):
4042
"""Verify model query with token using GRPC"""
4143
verify_inference_response(

tests/model_serving/model_server/authentication/test_model_mesh_authentication.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
class TestModelMeshAuthentication:
2626
"""Model Mesh Authentication is based on the created Service; cross-model authentication is not blocked"""
2727

28+
@pytest.mark.ocp_interop
2829
@pytest.mark.dependency(name="test_model_mesh_model_authentication_openvino_inference_with_tensorflow")
2930
def test_model_mesh_model_authentication_openvino_inference_with_tensorflow(
3031
self,

tests/model_serving/model_server/components/test_model_serving_components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def component_deployment(
4141

4242

4343
@pytest.mark.smoke
44+
@pytest.mark.ocp_interop
4445
@pytest.mark.parametrize(
4546
"component_deployment",
4647
[

tests/model_serving/model_server/model_car/test_oci_image.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def test_model_car_no_restarts(self, model_car_serverless_inference_service):
4242
assert not restarted_containers, f"Containers {restarted_containers} restarted"
4343

4444
@pytest.mark.smoke
45+
@pytest.mark.ocp_interop
4546
@pytest.mark.jira("RHOAIENG-12306")
4647
def test_model_car_using_rest(self, model_car_serverless_inference_service):
4748
"""Verify model query with token using REST"""

uv.lock

Lines changed: 109 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)