Skip to content

Commit 59b8f11

Browse files
authored
[ISV-4972] Fix community integration test failure (#670)
* [ISV-4972] Fix community integration test failure Signed-off-by: Maurizio Porrato <[email protected]> * Fix unit test Signed-off-by: Maurizio Porrato <[email protected]> --------- Signed-off-by: Maurizio Porrato <[email protected]>
1 parent 5bf7e48 commit 59b8f11

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

operator-pipeline-images/operatorcert/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def copy_images_to_destination(
217217
"skopeo",
218218
"copy",
219219
f"docker://{response.get('index_image_resolved')}",
220-
f"docker://{destination}:{version}-{tag_suffix}",
220+
f"docker://{destination}:{version}{tag_suffix}",
221221
]
222222
if auth_file:
223223
cmd.extend(["--authfile", auth_file])

operator-pipeline-images/tests/test_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ def test_copy_images_to_destination(mock_subprocess: MagicMock) -> None:
147147
"index_image_resolved": "quay.io/qwe/asd@sha256:1234",
148148
}
149149
]
150-
utils.copy_images_to_destination(iib_response, "quay.io/foo/bar", "foo", "test.txt")
150+
utils.copy_images_to_destination(
151+
iib_response, "quay.io/foo/bar", "-foo", "test.txt"
152+
)
151153

152154
mock_subprocess.run.assert_called_once_with(
153155
[

0 commit comments

Comments
 (0)