redis-benchmarks-specification 0.1.205__py3-none-any.whl → 0.1.206__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/__cli__/args.py +3 -3
- redis_benchmarks_specification/__cli__/cli.py +5 -0
- redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py +10 -10
- {redis_benchmarks_specification-0.1.205.dist-info → redis_benchmarks_specification-0.1.206.dist-info}/METADATA +1 -1
- {redis_benchmarks_specification-0.1.205.dist-info → redis_benchmarks_specification-0.1.206.dist-info}/RECORD +8 -8
- {redis_benchmarks_specification-0.1.205.dist-info → redis_benchmarks_specification-0.1.206.dist-info}/LICENSE +0 -0
- {redis_benchmarks_specification-0.1.205.dist-info → redis_benchmarks_specification-0.1.206.dist-info}/WHEEL +0 -0
- {redis_benchmarks_specification-0.1.205.dist-info → redis_benchmarks_specification-0.1.206.dist-info}/entry_points.txt +0 -0
|
@@ -18,7 +18,7 @@ from redis_benchmarks_specification.__common__.env import (
|
|
|
18
18
|
from redisbench_admin.run.common import get_start_time_vars
|
|
19
19
|
|
|
20
20
|
START_TIME_NOW_UTC, _, _ = get_start_time_vars()
|
|
21
|
-
START_TIME_LAST_YEAR_UTC = START_TIME_NOW_UTC - datetime.timedelta(days=
|
|
21
|
+
START_TIME_LAST_YEAR_UTC = START_TIME_NOW_UTC - datetime.timedelta(days=90)
|
|
22
22
|
CLI_TOOL_STATS = "stats"
|
|
23
23
|
CLI_TOOL_TRIGGER = "trigger"
|
|
24
24
|
PERFORMANCE_GH_TOKEN = os.getenv("PERFORMANCE_GH_TOKEN", None)
|
|
@@ -163,8 +163,8 @@ def spec_cli_args(parser):
|
|
|
163
163
|
parser.add_argument(
|
|
164
164
|
"--last_n",
|
|
165
165
|
type=int,
|
|
166
|
-
default
|
|
167
|
-
help="Use the last N samples. by default will use
|
|
166
|
+
default=1,
|
|
167
|
+
help="Use the last N samples. by default will use last commit",
|
|
168
168
|
)
|
|
169
169
|
parser.add_argument(
|
|
170
170
|
"--platform",
|
|
@@ -322,6 +322,11 @@ def trigger_tests_cli_command_logic(args, project_name, project_version):
|
|
|
322
322
|
commit_dict["tests_priority_lower_limit"] = tests_priority_lower_limit
|
|
323
323
|
commit_dict["tests_regexp"] = tests_regexp
|
|
324
324
|
commit_dict["tests_groups_regexp"] = tests_groups_regexp
|
|
325
|
+
if pull_request is not None:
|
|
326
|
+
logging.info(
|
|
327
|
+
f"Have a pull request info to include in build request {pull_request}"
|
|
328
|
+
)
|
|
329
|
+
commit_dict["pull_request"] = pull_request
|
|
325
330
|
git_hash = cdict["git_hash"]
|
|
326
331
|
git_branch = "n/a"
|
|
327
332
|
if "git_branch" in cdict:
|
|
@@ -530,11 +530,11 @@ def process_self_contained_coordinator_stream(
|
|
|
530
530
|
fn, github_token, pull_request, "redis", "redis", verbose
|
|
531
531
|
)
|
|
532
532
|
|
|
533
|
-
|
|
534
|
-
if b"
|
|
535
|
-
|
|
533
|
+
tests_regexp = ".*"
|
|
534
|
+
if b"tests_regexp" in testDetails:
|
|
535
|
+
tests_regexp = testDetails[b"tests_regexp"]
|
|
536
536
|
logging.info(
|
|
537
|
-
f"detected a regexp definition on the streamdata {
|
|
537
|
+
f"detected a regexp definition on the streamdata {tests_regexp}"
|
|
538
538
|
)
|
|
539
539
|
|
|
540
540
|
command_groups_regexp = None
|
|
@@ -596,7 +596,7 @@ def process_self_contained_coordinator_stream(
|
|
|
596
596
|
defaults_filename,
|
|
597
597
|
priority_lower_limit,
|
|
598
598
|
priority_upper_limit,
|
|
599
|
-
|
|
599
|
+
tests_regexp,
|
|
600
600
|
testsuite_spec_files,
|
|
601
601
|
command_groups_regexp,
|
|
602
602
|
)
|
|
@@ -1368,7 +1368,7 @@ def filter_test_files(
|
|
|
1368
1368
|
defaults_filename,
|
|
1369
1369
|
priority_lower_limit,
|
|
1370
1370
|
priority_upper_limit,
|
|
1371
|
-
|
|
1371
|
+
tests_regexp,
|
|
1372
1372
|
testsuite_spec_files,
|
|
1373
1373
|
command_groups_regexp=None,
|
|
1374
1374
|
):
|
|
@@ -1377,17 +1377,17 @@ def filter_test_files(
|
|
|
1377
1377
|
if defaults_filename in test_file:
|
|
1378
1378
|
continue
|
|
1379
1379
|
|
|
1380
|
-
if
|
|
1380
|
+
if tests_regexp != ".*":
|
|
1381
1381
|
logging.info(
|
|
1382
|
-
"Filtering all tests via a regular expression: {}".format(
|
|
1382
|
+
"Filtering all tests via a regular expression: {}".format(tests_regexp)
|
|
1383
1383
|
)
|
|
1384
|
-
tags_regex_string = re.compile(
|
|
1384
|
+
tags_regex_string = re.compile(tests_regexp)
|
|
1385
1385
|
|
|
1386
1386
|
match_obj = re.search(tags_regex_string, test_file)
|
|
1387
1387
|
if match_obj is None:
|
|
1388
1388
|
logging.info(
|
|
1389
1389
|
"Skipping {} given it does not match regex {}".format(
|
|
1390
|
-
test_file,
|
|
1390
|
+
test_file, tests_regexp
|
|
1391
1391
|
)
|
|
1392
1392
|
)
|
|
1393
1393
|
continue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redis-benchmarks-specification
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.206
|
|
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
|
|
@@ -7,8 +7,8 @@ redis_benchmarks_specification/__builder__/__init__.py,sha256=l-G1z-t6twUgi8QLue
|
|
|
7
7
|
redis_benchmarks_specification/__builder__/builder.py,sha256=iMINXlKMqlVYW3Uc7IuEGht9FPb-RdJpR7VLsznr9P0,24531
|
|
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
|
-
redis_benchmarks_specification/__cli__/args.py,sha256=
|
|
11
|
-
redis_benchmarks_specification/__cli__/cli.py,sha256=
|
|
10
|
+
redis_benchmarks_specification/__cli__/args.py,sha256=8C8fVUqRc3-4Zb6u7mflo3YzzgSo_hQwrTC9HhVdGdA,6177
|
|
11
|
+
redis_benchmarks_specification/__cli__/cli.py,sha256=AUxkpBrP387S9SiNXXRLtGIi2xM-J8O4U4ZaKPrwAd0,17507
|
|
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=LW00BSz_LXa83wbgRFylOCyRMMH4-3YpWgYh2hevOFM,5693
|
|
@@ -33,7 +33,7 @@ redis_benchmarks_specification/__self_contained_coordinator__/cpuset.py,sha256=s
|
|
|
33
33
|
redis_benchmarks_specification/__self_contained_coordinator__/docker.py,sha256=iivxZ55vL2kVHHkqVbXY2ftvxvceqH_Zw079KLCv9N8,2507
|
|
34
34
|
redis_benchmarks_specification/__self_contained_coordinator__/prepopulation.py,sha256=ajhpzxsBy6tiHrO79gEIKQYxZR-Us6B4rC6NYg1EZjM,2875
|
|
35
35
|
redis_benchmarks_specification/__self_contained_coordinator__/runners.py,sha256=Ul8UoxvWRxCVWmyaCBadpLMDOVEoNSp-A9KMPtPmUwM,28483
|
|
36
|
-
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=
|
|
36
|
+
redis_benchmarks_specification/__self_contained_coordinator__/self_contained_coordinator.py,sha256=MRUAhWND4xIeb46gg9wVBEuUlEDl268Yjzh2qw8HCzA,68671
|
|
37
37
|
redis_benchmarks_specification/__setups__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
redis_benchmarks_specification/__setups__/topologies.py,sha256=xQ1IJkcTji_ZjLiJd3vOxZpvbNtBLZw9cPkw5hGJKHU,481
|
|
39
39
|
redis_benchmarks_specification/__spec__/__init__.py,sha256=l-G1z-t6twUgi8QLueqoTQLvJmv3hJoEYskGm6H7L6M,83
|
|
@@ -150,8 +150,8 @@ redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-set-10-100-el
|
|
|
150
150
|
redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries-pipeline-10.yml,sha256=RSkNgV5SsjdkXhM0mifi2GlwIxtiHR8N3u-ieI23BoQ,1126
|
|
151
151
|
redis_benchmarks_specification/test-suites/memtier_benchmark-2keys-stream-5-entries-xread-all-entries.yml,sha256=w7-dOIU-eATHXCvJbSeih6Vt54oygtkXKskQdzCll3o,1100
|
|
152
152
|
redis_benchmarks_specification/test-suites/template.txt,sha256=qrci_94QV9bPUJe0cL8lsUaQmX5Woz-jT-pDF0629AE,423
|
|
153
|
-
redis_benchmarks_specification-0.1.
|
|
154
|
-
redis_benchmarks_specification-0.1.
|
|
155
|
-
redis_benchmarks_specification-0.1.
|
|
156
|
-
redis_benchmarks_specification-0.1.
|
|
157
|
-
redis_benchmarks_specification-0.1.
|
|
153
|
+
redis_benchmarks_specification-0.1.206.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
154
|
+
redis_benchmarks_specification-0.1.206.dist-info/METADATA,sha256=ao6juBIxGJuui4GMEfqTW9T1zvenNZecYCF35ysBnbg,22483
|
|
155
|
+
redis_benchmarks_specification-0.1.206.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
156
|
+
redis_benchmarks_specification-0.1.206.dist-info/entry_points.txt,sha256=x5WBXCZsnDRTZxV7SBGmC65L2k-ygdDOxV8vuKN00Nk,715
|
|
157
|
+
redis_benchmarks_specification-0.1.206.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|