redisbench-admin 0.11.24__py3-none-any.whl → 0.11.26__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.
- redisbench_admin/run_remote/remote_db.py +1 -0
- redisbench_admin/run_remote/remote_env.py +6 -12
- redisbench_admin/run_remote/terraform.py +3 -3
- redisbench_admin/utils/remote.py +15 -1
- {redisbench_admin-0.11.24.dist-info → redisbench_admin-0.11.26.dist-info}/METADATA +1 -1
- {redisbench_admin-0.11.24.dist-info → redisbench_admin-0.11.26.dist-info}/RECORD +9 -9
- {redisbench_admin-0.11.24.dist-info → redisbench_admin-0.11.26.dist-info}/LICENSE +0 -0
- {redisbench_admin-0.11.24.dist-info → redisbench_admin-0.11.26.dist-info}/WHEEL +0 -0
- {redisbench_admin-0.11.24.dist-info → redisbench_admin-0.11.26.dist-info}/entry_points.txt +0 -0
|
@@ -40,20 +40,12 @@ def remote_env_setup(
|
|
|
40
40
|
db_ssh_port = args.db_ssh_port
|
|
41
41
|
client_ssh_port = args.client_ssh_port
|
|
42
42
|
username = args.user
|
|
43
|
-
logging.info(
|
|
44
|
-
f"specified arch for deployment {architecture}"
|
|
45
|
-
)
|
|
46
|
-
if architecture != ARCH_X86 and tf_folder_path is not None:
|
|
47
|
-
logging.info(
|
|
48
|
-
f"Checking if the architecture info is specified on the terraform path {tf_folder_path}"
|
|
49
|
-
)
|
|
50
|
-
if architecture is ARCH_ARM and ARCH_ARM not in tf_folder_path:
|
|
51
|
-
logging.info(f"adding suffix '-{ARCH_ARM}' to {tf_folder_path}")
|
|
52
|
-
tf_folder_path = "{tf_folder_path}-{ARCH_ARM}"
|
|
53
|
-
else:
|
|
54
|
-
logging.info(f"'-{ARCH_ARM}' suffix already in {tf_folder_path}")
|
|
55
43
|
|
|
44
|
+
logging.info(f"specified arch for deployment {architecture}")
|
|
56
45
|
if args.inventory is not None:
|
|
46
|
+
logging.info(
|
|
47
|
+
f"inventory info passed. avoiding to deploy using terraform {args.inventory}"
|
|
48
|
+
)
|
|
57
49
|
(
|
|
58
50
|
status,
|
|
59
51
|
client_public_ip,
|
|
@@ -100,6 +92,7 @@ def remote_env_setup(
|
|
|
100
92
|
tf_timeout_secs,
|
|
101
93
|
tf_override_name,
|
|
102
94
|
tf_folder_spot_path,
|
|
95
|
+
architecture,
|
|
103
96
|
)
|
|
104
97
|
spot_available_and_used = True
|
|
105
98
|
spot_price_counter = spot_price_counter + 1
|
|
@@ -138,6 +131,7 @@ def remote_env_setup(
|
|
|
138
131
|
tf_timeout_secs,
|
|
139
132
|
tf_override_name,
|
|
140
133
|
tf_folder_path,
|
|
134
|
+
architecture,
|
|
141
135
|
)
|
|
142
136
|
full_price_counter = full_price_counter + 1
|
|
143
137
|
logging.info("Using the following connection addresses.")
|
|
@@ -30,6 +30,7 @@ def terraform_spin_or_reuse_env(
|
|
|
30
30
|
tf_timeout_secs=7200,
|
|
31
31
|
tf_override_name=None,
|
|
32
32
|
tf_folder_path=None,
|
|
33
|
+
architecture="x86_64",
|
|
33
34
|
):
|
|
34
35
|
(
|
|
35
36
|
remote_setup,
|
|
@@ -40,11 +41,10 @@ def terraform_spin_or_reuse_env(
|
|
|
40
41
|
"https://github.com/redis-performance/testing-infrastructure.git",
|
|
41
42
|
"master",
|
|
42
43
|
tf_folder_path,
|
|
44
|
+
architecture,
|
|
43
45
|
)
|
|
44
46
|
logging.info(
|
|
45
|
-
"Repetition {} of {}. Deploying test {} on AWS using {}"
|
|
46
|
-
repetition, BENCHMARK_REPETITIONS, test_name, remote_setup
|
|
47
|
-
)
|
|
47
|
+
f"Repetition {repetition} of {BENCHMARK_REPETITIONS}. Deploying test {test_name} on AWS using (architecture={architecture}) {remote_setup}"
|
|
48
48
|
)
|
|
49
49
|
if tf_override_name is None:
|
|
50
50
|
tf_setup_name = "{}{}".format(remote_setup, tf_setup_name_sufix)
|
redisbench_admin/utils/remote.py
CHANGED
|
@@ -276,7 +276,9 @@ def setup_remote_environment(
|
|
|
276
276
|
_, _, _ = tf.init(
|
|
277
277
|
capture_output=True,
|
|
278
278
|
backend_config={
|
|
279
|
-
"key": "benchmarks/infrastructure/{}.tfstate".format(
|
|
279
|
+
"key": "benchmarks/infrastructure/{}.tfstate".format(
|
|
280
|
+
tf_setup_name.replace("/", "-")
|
|
281
|
+
)
|
|
280
282
|
},
|
|
281
283
|
)
|
|
282
284
|
_, _, _ = tf.refresh()
|
|
@@ -579,8 +581,10 @@ def fetch_remote_setup_from_config(
|
|
|
579
581
|
repo="https://github.com/redis-performance/testing-infrastructure.git",
|
|
580
582
|
branch="master",
|
|
581
583
|
path=None,
|
|
584
|
+
architecture=ARCH_X86,
|
|
582
585
|
):
|
|
583
586
|
setup_type = "oss-standalone"
|
|
587
|
+
logging.info(f"fetch_remote_setup_from_config, architecture={architecture}")
|
|
584
588
|
setup = None
|
|
585
589
|
if path is None:
|
|
586
590
|
for remote_setup_property in remote_setup_config:
|
|
@@ -590,7 +594,17 @@ def fetch_remote_setup_from_config(
|
|
|
590
594
|
setup = remote_setup_property["setup"]
|
|
591
595
|
# fetch terraform folder
|
|
592
596
|
path = "/terraform/{}-{}".format(setup_type, setup)
|
|
597
|
+
if architecture != ARCH_X86:
|
|
598
|
+
logging.info(
|
|
599
|
+
f"Checking if the architecture info is specified on the terraform path {path}"
|
|
600
|
+
)
|
|
601
|
+
if architecture == ARCH_ARM and ARCH_ARM not in path:
|
|
602
|
+
logging.info(f"adding suffix '-{ARCH_ARM}' to {path}")
|
|
603
|
+
path = f"{path}-{ARCH_ARM}"
|
|
604
|
+
else:
|
|
605
|
+
logging.info(f"'-{ARCH_ARM}' suffix already in {path}")
|
|
593
606
|
terraform_working_dir = common_tf(branch, path, repo)
|
|
607
|
+
|
|
594
608
|
return terraform_working_dir, setup_type, setup
|
|
595
609
|
|
|
596
610
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: redisbench-admin
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.26
|
|
4
4
|
Summary: Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... ).
|
|
5
5
|
Author: filipecosta90
|
|
6
6
|
Author-email: filipecosta.90@gmail.com
|
|
@@ -216,27 +216,27 @@ redisbench_admin/run_remote/consts.py,sha256=bCMkwyeBD-EmOpoHKni7LjWy5WuaxGJhGhq
|
|
|
216
216
|
redisbench_admin/run_remote/log.py,sha256=cD7zfXt0VEmy0b7452HvcAxX_9kVj6Vm213yNdUHP20,95
|
|
217
217
|
redisbench_admin/run_remote/notifications.py,sha256=-W9fLaftEFNfplBl2clHk37jbYxliDbHftQ62khN31k,2157
|
|
218
218
|
redisbench_admin/run_remote/remote_client.py,sha256=JqxsUjyxRtsChIkOWrVTGF_mQH0_8h7v5j-5rud448Y,14079
|
|
219
|
-
redisbench_admin/run_remote/remote_db.py,sha256=
|
|
220
|
-
redisbench_admin/run_remote/remote_env.py,sha256=
|
|
219
|
+
redisbench_admin/run_remote/remote_db.py,sha256=e6N5glOk8XRM-ohwYP68yna7L4Rb6yNmQnH1dZXKXA4,12992
|
|
220
|
+
redisbench_admin/run_remote/remote_env.py,sha256=_S0_bKOB0ollHYsrCuMMW9YN9CLfrr4PWaF4tvXR8FU,4946
|
|
221
221
|
redisbench_admin/run_remote/remote_failures.py,sha256=IOo6DyxarcwwMPCeN4gWB2JrhuC9iBLwq0nCROqr5ak,1567
|
|
222
222
|
redisbench_admin/run_remote/remote_helpers.py,sha256=gy10SuKheBiL568ldiOdJaHRPJ_J7DxH_uZpqgOuylo,9818
|
|
223
223
|
redisbench_admin/run_remote/run_remote.py,sha256=_ntQtKXAV9Z9ak0xPKq2RYXr2yzNXMqbnUZvUgm7YJo,67821
|
|
224
224
|
redisbench_admin/run_remote/standalone.py,sha256=vWmm0CdFtrasy-_1BDKO7I_gVPBjjiypv94_Fq2Sm7o,6660
|
|
225
|
-
redisbench_admin/run_remote/terraform.py,sha256=
|
|
225
|
+
redisbench_admin/run_remote/terraform.py,sha256=vV3eWXNwj7vsnFNqUgCir5ueZS4VYopEyzWiTtoSq0Q,4018
|
|
226
226
|
redisbench_admin/utils/__init__.py,sha256=DtBXRp0Q01XgCFmY-1OIePMyyYihVNAjZ1Y8zwqSDN0,101
|
|
227
227
|
redisbench_admin/utils/benchmark_config.py,sha256=bC2C6rnj89wkkSlOXyyfe0N15unn_M1t1zfskfVkb98,21387
|
|
228
228
|
redisbench_admin/utils/local.py,sha256=zUvyVI9LZMT3qyxs1pO3mXL6Bt_1z9EZUGppaRcWNRA,3890
|
|
229
229
|
redisbench_admin/utils/redisearch.py,sha256=lchUEzpt0zB1rHwlDlw9LLifAnxFWcLP-PePw7TjL-0,1602
|
|
230
230
|
redisbench_admin/utils/redisgraph_benchmark_go.py,sha256=os7EJt6kBxsFJLKkSoANbjMT7-cEq4-Ns-49alk2Tf8,2048
|
|
231
|
-
redisbench_admin/utils/remote.py,sha256=
|
|
231
|
+
redisbench_admin/utils/remote.py,sha256=hEeZH6x9kMbQ7BIhZenZG8TsSIMK1ftt-uQRACKMWbY,39696
|
|
232
232
|
redisbench_admin/utils/results.py,sha256=uKk3uNJ--bSXlUj_HGQ2OaV6MVqmXJVM8xTzFV6EOw4,3267
|
|
233
233
|
redisbench_admin/utils/ssh.py,sha256=QW4AwlocMHJt05QMdN_4f8WeDmxiEwR80ny8VBThq6k,6533
|
|
234
234
|
redisbench_admin/utils/utils.py,sha256=YxuSPS6dtBw7T8e09678rUNNiCSkuFtVXNc05-qytbI,14370
|
|
235
235
|
redisbench_admin/watchdog/__init__.py,sha256=cD7zfXt0VEmy0b7452HvcAxX_9kVj6Vm213yNdUHP20,95
|
|
236
236
|
redisbench_admin/watchdog/args.py,sha256=nKsG1G6ATOZlAMHMtT9u3kXxduKCbejSZ5x8oB_ynZ8,1312
|
|
237
237
|
redisbench_admin/watchdog/watchdog.py,sha256=jFGtm5ktjKuXKWvH7lnmf3pp-ch1WBJUOomXILJMDAg,6158
|
|
238
|
-
redisbench_admin-0.11.
|
|
239
|
-
redisbench_admin-0.11.
|
|
240
|
-
redisbench_admin-0.11.
|
|
241
|
-
redisbench_admin-0.11.
|
|
242
|
-
redisbench_admin-0.11.
|
|
238
|
+
redisbench_admin-0.11.26.dist-info/LICENSE,sha256=AAMtfs82zOOvmG68vILivm6lxi2rcOlGObmA8jzxQvw,10768
|
|
239
|
+
redisbench_admin-0.11.26.dist-info/METADATA,sha256=Gptb5ZadkBjK5XFJBQ3WVs6KjjumelIIfmVbBO0VZVU,5389
|
|
240
|
+
redisbench_admin-0.11.26.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
241
|
+
redisbench_admin-0.11.26.dist-info/entry_points.txt,sha256=UUawXk_AS-PlieKJ1QxPQXGsRLb6OW_F0MtmA1W0KE8,113
|
|
242
|
+
redisbench_admin-0.11.26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|