qontract-reconcile 0.10.1rc593__py3-none-any.whl → 0.10.1rc594__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.
- {qontract_reconcile-0.10.1rc593.dist-info → qontract_reconcile-0.10.1rc594.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc593.dist-info → qontract_reconcile-0.10.1rc594.dist-info}/RECORD +7 -7
- reconcile/terraform_resources.py +11 -2
- reconcile/test/test_terraform_resources.py +5 -1
- {qontract_reconcile-0.10.1rc593.dist-info → qontract_reconcile-0.10.1rc594.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc593.dist-info → qontract_reconcile-0.10.1rc594.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc593.dist-info → qontract_reconcile-0.10.1rc594.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc593.dist-info → qontract_reconcile-0.10.1rc594.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.1rc594
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Home-page: https://github.com/app-sre/qontract-reconcile
|
6
6
|
Author: Red Hat App-SRE Team
|
{qontract_reconcile-0.10.1rc593.dist-info → qontract_reconcile-0.10.1rc594.dist-info}/RECORD
RENAMED
@@ -111,7 +111,7 @@ reconcile/terraform_cloudflare_dns.py,sha256=auU4bzeLwd4S8D8oqpqJbrCUoEdELXrgi7v
|
|
111
111
|
reconcile/terraform_cloudflare_resources.py,sha256=EbQQaoDnZ7brvRCpbFtwlD7KLk2hDVNcjhrJGaAywEk,15023
|
112
112
|
reconcile/terraform_cloudflare_users.py,sha256=1EbTHwJgiPkJpMP-Ag340QNgGK3mXn3dcC3DpLakudM,13987
|
113
113
|
reconcile/terraform_repo.py,sha256=c0GZFuY3rCm6VHjHqYbsgOHrEkRWKF_1LrMThsn2XDw,16127
|
114
|
-
reconcile/terraform_resources.py,sha256=
|
114
|
+
reconcile/terraform_resources.py,sha256=hnW_C8i8am1rAojIOyoDG2FZofeBxK3GxH1S281eSqo,19278
|
115
115
|
reconcile/terraform_tgw_attachments.py,sha256=_g7QSHM03YZzTU7O189S4HYtUn7WmwOBq67G4AieU24,15298
|
116
116
|
reconcile/terraform_users.py,sha256=kXRUxCUchKCP2dbXXOzctynqMii4oyCP6bYZHQTrlTg,10202
|
117
117
|
reconcile/terraform_vpc_peerings.py,sha256=rnDH1u93OyzrBM8Hib0HwSnlxZtx4ScRQaZAcn3mx-k,25402
|
@@ -458,7 +458,7 @@ reconcile/test/test_terraform_cloudflare_dns.py,sha256=aQTXX8Vr4h9aWvJZTnpZEhMGY
|
|
458
458
|
reconcile/test/test_terraform_cloudflare_resources.py,sha256=NK_uktyWihkQ3gMN4bCaKerpi43CXAVYGIKTfcz05rY,13550
|
459
459
|
reconcile/test/test_terraform_cloudflare_users.py,sha256=RAFtMMdqZha3jNnNNsqbNQQUDSqUzdoM63rCw7fs4Fo,27456
|
460
460
|
reconcile/test/test_terraform_repo.py,sha256=soKFJfF8tWIimDs39RQl3Hnh-Od-bR4PfnEA2s1UprM,11552
|
461
|
-
reconcile/test/test_terraform_resources.py,sha256=
|
461
|
+
reconcile/test/test_terraform_resources.py,sha256=VQ9nCJfEWEaO7WonUmwgLYc5Sf6ansVRDJngtkL5qLg,15268
|
462
462
|
reconcile/test/test_terraform_tgw_attachments.py,sha256=cAq6exc-K-jtLla1CZUZQzVnBkyDnIlL7jybnddhLKc,36861
|
463
463
|
reconcile/test/test_terraform_users.py,sha256=Xn4y6EcxnNQb6XcPoOhz_Ikxmh9Nrsu88OM1scN9hzY,5434
|
464
464
|
reconcile/test/test_terraform_vpc_peerings.py,sha256=ubcsKh0TrUIwuI1-W3ETIgzsFvzAyeoFmEJFC-IK6JY,20538
|
@@ -693,8 +693,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
|
|
693
693
|
tools/test/test_qontract_cli.py,sha256=OvalpVRfY4pNmpMaWHHYqBjV68b1eGQjX8SCyTAXb1w,3501
|
694
694
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
695
695
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
696
|
-
qontract_reconcile-0.10.
|
697
|
-
qontract_reconcile-0.10.
|
698
|
-
qontract_reconcile-0.10.
|
699
|
-
qontract_reconcile-0.10.
|
700
|
-
qontract_reconcile-0.10.
|
696
|
+
qontract_reconcile-0.10.1rc594.dist-info/METADATA,sha256=FbIwYOHtBj7VdEK0G9r1zv9lIlu9_bLSKp1d03lWs3c,2349
|
697
|
+
qontract_reconcile-0.10.1rc594.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
698
|
+
qontract_reconcile-0.10.1rc594.dist-info/entry_points.txt,sha256=rTjAv28I_CHLM8ID3OPqMI_suoQ9s7tFbim4aYjn9kk,376
|
699
|
+
qontract_reconcile-0.10.1rc594.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
700
|
+
qontract_reconcile-0.10.1rc594.dist-info/RECORD,,
|
reconcile/terraform_resources.py
CHANGED
@@ -67,7 +67,7 @@ from reconcile.utils.vault import (
|
|
67
67
|
)
|
68
68
|
|
69
69
|
QONTRACT_INTEGRATION = "terraform_resources"
|
70
|
-
QONTRACT_INTEGRATION_VERSION = make_semver(0, 5,
|
70
|
+
QONTRACT_INTEGRATION_VERSION = make_semver(0, 5, 3)
|
71
71
|
QONTRACT_TF_PREFIX = "qrtf"
|
72
72
|
|
73
73
|
|
@@ -350,6 +350,11 @@ class MultipleAccountNamesInDryRunException(Exception):
|
|
350
350
|
pass
|
351
351
|
|
352
352
|
|
353
|
+
class CacheSource(TypedDict):
|
354
|
+
terraform_configurations: dict[str, str]
|
355
|
+
resource_spec_inventory: ExternalResourceSpecInventory
|
356
|
+
|
357
|
+
|
353
358
|
@defer
|
354
359
|
def run(
|
355
360
|
dry_run: bool,
|
@@ -414,11 +419,15 @@ def run(
|
|
414
419
|
"terraform-resources-extended-early-exit",
|
415
420
|
default=False,
|
416
421
|
):
|
422
|
+
cache_source = CacheSource(
|
423
|
+
terraform_configurations=ts.terraform_configurations(),
|
424
|
+
resource_spec_inventory=ts.resource_spec_inventory,
|
425
|
+
)
|
417
426
|
extended_early_exit_run(
|
418
427
|
integration=QONTRACT_INTEGRATION,
|
419
428
|
integration_version=QONTRACT_INTEGRATION_VERSION,
|
420
429
|
dry_run=dry_run,
|
421
|
-
cache_source=
|
430
|
+
cache_source=cache_source,
|
422
431
|
shard="_".join(account_name) if account_name else "",
|
423
432
|
ttl_seconds=extended_early_exit_cache_ttl_seconds,
|
424
433
|
logger=logging.getLogger(),
|
@@ -370,12 +370,16 @@ def test_run_with_extended_early_exit_run_enabled(
|
|
370
370
|
log_cached_log_output=True,
|
371
371
|
defer=defer,
|
372
372
|
)
|
373
|
+
expected_cache_source = {
|
374
|
+
"terraform_configurations": mocks["ts"].terraform_configurations.return_value,
|
375
|
+
"resource_spec_inventory": mocks["ts"].resource_spec_inventory,
|
376
|
+
}
|
373
377
|
|
374
378
|
mocks["extended_early_exit_run"].assert_called_once_with(
|
375
379
|
integration=integ.QONTRACT_INTEGRATION,
|
376
380
|
integration_version=integ.QONTRACT_INTEGRATION_VERSION,
|
377
381
|
dry_run=True,
|
378
|
-
cache_source=
|
382
|
+
cache_source=expected_cache_source,
|
379
383
|
shard="a",
|
380
384
|
ttl_seconds=60,
|
381
385
|
logger=mocks["logging"].getLogger.return_value,
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc593.dist-info → qontract_reconcile-0.10.1rc594.dist-info}/top_level.txt
RENAMED
File without changes
|