redis-benchmarks-specification 0.1.210__py3-none-any.whl → 0.1.212__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of redis-benchmarks-specification might be problematic. Click here for more details.
- redis_benchmarks_specification/__builder__/builder.py +16 -9
- redis_benchmarks_specification/__cli__/cli.py +1 -0
- redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py +16 -15
- {redis_benchmarks_specification-0.1.210.dist-info → redis_benchmarks_specification-0.1.212.dist-info}/METADATA +1 -2
- {redis_benchmarks_specification-0.1.210.dist-info → redis_benchmarks_specification-0.1.212.dist-info}/RECORD +8 -8
- {redis_benchmarks_specification-0.1.210.dist-info → redis_benchmarks_specification-0.1.212.dist-info}/WHEEL +1 -1
- {redis_benchmarks_specification-0.1.210.dist-info → redis_benchmarks_specification-0.1.212.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.210.dist-info → redis_benchmarks_specification-0.1.212.dist-info}/entry_points.txt +0 -0
|
@@ -521,17 +521,24 @@ def store_airgap_image_redis(conn, docker_client, run_image):
|
|
|
521
521
|
run_image, airgap_key
|
|
522
522
|
)
|
|
523
523
|
)
|
|
524
|
-
|
|
525
|
-
run_image_docker = docker_client.images.get(run_image)
|
|
526
|
-
for chunk in run_image_docker.save():
|
|
527
|
-
run_image_binary_stream.write(chunk)
|
|
524
|
+
|
|
528
525
|
# 7 days expire
|
|
529
526
|
binary_exp_secs = 24 * 60 * 60 * 7
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
527
|
+
if conn.exists(airgap_key):
|
|
528
|
+
logging.info(
|
|
529
|
+
f"DOCKER AIRGAP KEY ALREADY EXISTS: {airgap_key}. Updating only the expire time"
|
|
530
|
+
)
|
|
531
|
+
conn.expire(airgap_key, binary_exp_secs)
|
|
532
|
+
else:
|
|
533
|
+
run_image_binary_stream = io.BytesIO()
|
|
534
|
+
run_image_docker = docker_client.images.get(run_image)
|
|
535
|
+
for chunk in run_image_docker.save():
|
|
536
|
+
run_image_binary_stream.write(chunk)
|
|
537
|
+
res_airgap = conn.set(
|
|
538
|
+
airgap_key,
|
|
539
|
+
run_image_binary_stream.getbuffer(),
|
|
540
|
+
ex=binary_exp_secs,
|
|
541
|
+
)
|
|
535
542
|
logging.info(
|
|
536
543
|
"DOCKER AIR GAP: result of set bin data to {}: {}".format(
|
|
537
544
|
airgap_key, res_airgap
|
|
@@ -90,6 +90,7 @@ def trigger_tests_dockerhub_cli_command_logic(args, project_name, project_versio
|
|
|
90
90
|
)
|
|
91
91
|
build_stream_fields["github_repo"] = args.gh_repo
|
|
92
92
|
build_stream_fields["github_org"] = args.gh_org
|
|
93
|
+
build_stream_fields["restore_build_artifacts"] = "False"
|
|
93
94
|
server_name = args.gh_repo
|
|
94
95
|
if args.server_name is not None:
|
|
95
96
|
server_name = args.server_name
|
|
@@ -6,19 +6,20 @@ def restore_build_artifacts_from_test_details(
|
|
|
6
6
|
build_artifacts, conn, temporary_dir, testDetails
|
|
7
7
|
):
|
|
8
8
|
for build_artifact in build_artifacts:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
build_artifact_key = "{}".format(build_artifact).encode()
|
|
10
|
+
if build_artifact_key in testDetails:
|
|
11
|
+
buffer_key = testDetails[build_artifact_key]
|
|
12
|
+
logging.info(
|
|
13
|
+
"Reading artifact binary {} from key {}".format(
|
|
14
|
+
build_artifact, buffer_key
|
|
15
|
+
)
|
|
16
|
+
)
|
|
17
|
+
buffer = bytes(conn.get(buffer_key))
|
|
18
|
+
artifact_fname = "{}/{}".format(temporary_dir, build_artifact)
|
|
19
|
+
with open(artifact_fname, "wb") as fd:
|
|
20
|
+
fd.write(buffer)
|
|
21
|
+
os.chmod(artifact_fname, 755)
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
logging.info(
|
|
24
|
+
"Successfully restored {} into {}".format(build_artifact, artifact_fname)
|
|
25
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.212
|
|
4
4
|
Summary: The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute.
|
|
5
5
|
Author: filipecosta90
|
|
6
6
|
Author-email: filipecosta.90@gmail.com
|
|
@@ -8,7 +8,6 @@ Requires-Python: >=3.10.0,<4.0.0
|
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
12
11
|
Requires-Dist: Flask (>=2.0.3,<3.0.0)
|
|
13
12
|
Requires-Dist: Flask-HTTPAuth (>=4.4.0,<5.0.0)
|
|
14
13
|
Requires-Dist: GitPython (>=3.1.20,<4.0.0)
|
|
@@ -4,11 +4,11 @@ redis_benchmarks_specification/__api__/api.py,sha256=k_CMICtMm1z8jY3hByaL0hIr_5v
|
|
|
4
4
|
redis_benchmarks_specification/__api__/app.py,sha256=JzQm84DjIVdfLbDO423BJbrds6gFzMbA0syRkHE_aUU,7063
|
|
5
5
|
redis_benchmarks_specification/__builder__/Readme.md,sha256=O6MV_J3OSgzW-ir2TbukP8Vhkm_LOzQJJndG1Cykqic,111
|
|
6
6
|
redis_benchmarks_specification/__builder__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
7
|
-
redis_benchmarks_specification/__builder__/builder.py,sha256=
|
|
7
|
+
redis_benchmarks_specification/__builder__/builder.py,sha256=_ipLsj09QsUkmx-7XX2xVJMw5jqjU_e3j0ZWcWsjF0c,26062
|
|
8
8
|
redis_benchmarks_specification/__builder__/schema.py,sha256=1wcmyVJBcWrBvK58pghN9NCoWLCO3BzPsmdKWYfkVog,584
|
|
9
9
|
redis_benchmarks_specification/__cli__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
10
10
|
redis_benchmarks_specification/__cli__/args.py,sha256=ggjDVunIe8LbJ8QGg6Td2ZRgD8qUjX_xCOf4cP780k8,6728
|
|
11
|
-
redis_benchmarks_specification/__cli__/cli.py,sha256=
|
|
11
|
+
redis_benchmarks_specification/__cli__/cli.py,sha256=wMRlIa8t2hbQabtq3sYqBYGBGfxgvqhaHRsacHlRTqk,20105
|
|
12
12
|
redis_benchmarks_specification/__cli__/stats.py,sha256=wahzZRbpfokv8dQU8O4BH5JFrOZk-l6k8LWdKfue9_0,20204
|
|
13
13
|
redis_benchmarks_specification/__common__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
redis_benchmarks_specification/__common__/builder_schema.py,sha256=oU6zFrBsmPRgCr2c1zf7bM0o9bCyuqUpooJo0-nIHrE,5747
|
|
@@ -27,7 +27,7 @@ redis_benchmarks_specification/__runner__/args.py,sha256=lYvbPd_3ppHZv4f2sRwXcF-
|
|
|
27
27
|
redis_benchmarks_specification/__runner__/runner.py,sha256=4ed8mNrZioIYL3XhHenMqeZGPkX1Cy8nbhB8ThyzEKU,48106
|
|
28
28
|
redis_benchmarks_specification/__self_contained_coordinator__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
29
29
|
redis_benchmarks_specification/__self_contained_coordinator__/args.py,sha256=VHjWWjZ0bs05rcQaeZYSFxf1d_0t02PRoXgfrhfF5nU,5770
|
|
30
|
-
redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=
|
|
30
|
+
redis_benchmarks_specification/__self_contained_coordinator__/artifacts.py,sha256=9l2DCDxkLHVQFejDHylfPdTu4RFeGzON1OEQ50xOKe4,898
|
|
31
31
|
redis_benchmarks_specification/__self_contained_coordinator__/build_info.py,sha256=vlg8H8Rxu2falW8xp1GvL1SV1fyBguSbz6Apxc7A2yM,2282
|
|
32
32
|
redis_benchmarks_specification/__self_contained_coordinator__/clients.py,sha256=voL6zP3RenpZ1A7JKGVkvEWVXI9KYwmnSgVJr6l8o-4,710
|
|
33
33
|
redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=sRvtoJIitppcOpm3R5LbVmSfPEAqPumOqVATnF5Wbek,594
|
|
@@ -151,8 +151,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-set-10-100-el
|
|
|
151
151
|
redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries-pipeline-10.yml,sha256=7yWCmQTtiypmF1tHGV61z9Zh5EH8CVuETu7bDNC4V6g,1138
|
|
152
152
|
redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries.yml,sha256=Z6T75dIbjRb4YO1tFIV9K4S_KFzRHfAa4q3kOg0vcHw,1112
|
|
153
153
|
redis_benchmarks_specification/test-suites/template.txt,sha256=d_edIE7Sxa5X7I2yG-Io0bPdbDIHR0oWFoCA3XUt_EU,435
|
|
154
|
-
redis_benchmarks_specification-0.1.
|
|
155
|
-
redis_benchmarks_specification-0.1.
|
|
156
|
-
redis_benchmarks_specification-0.1.
|
|
157
|
-
redis_benchmarks_specification-0.1.
|
|
158
|
-
redis_benchmarks_specification-0.1.
|
|
154
|
+
redis_benchmarks_specification-0.1.212.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
155
|
+
redis_benchmarks_specification-0.1.212.dist-info/METADATA,sha256=kiTejO6W-3T_vSXe5LCZbyf4Vf_SECiqZNTRQNN6xuU,22675
|
|
156
|
+
redis_benchmarks_specification-0.1.212.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
157
|
+
redis_benchmarks_specification-0.1.212.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
158
|
+
redis_benchmarks_specification-0.1.212.dist-info/RECORD,,
|
|
File without changes
|