qontract-reconcile 0.10.2.dev119__py3-none-any.whl → 0.10.2.dev120__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qontract-reconcile
3
- Version: 0.10.2.dev119
3
+ Version: 0.10.2.dev120
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
6
6
  Project-URL: repository, https://github.com/app-sre/qontract-reconcile
@@ -198,14 +198,14 @@ reconcile/endpoints_discovery/integration.py,sha256=ecjIZK_h6JO2wUhUmJlZ9pjOh60n
198
198
  reconcile/endpoints_discovery/merge_request.py,sha256=_yLb4tnvoZMCko8rta2C_CvOInJa9pa3HzSmHNtjgGU,2978
199
199
  reconcile/endpoints_discovery/merge_request_manager.py,sha256=a8zTIQIpRrUwXexZClwpQnnkEoS6XNZLJziI9x7ly0s,6389
200
200
  reconcile/external_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
201
- reconcile/external_resources/aws.py,sha256=KAZo-PcreAJ8gMPJU4d5ZaN2lo2OXvOfIF1kN1x8F38,11932
201
+ reconcile/external_resources/aws.py,sha256=XVM3xjx4Qa5sJFZQ1ejg8btK-NWRrE4lxhYUhW-rIpQ,12150
202
202
  reconcile/external_resources/factories.py,sha256=C0QHT0soEv6z99-ELAAE19S5MaMHhV0t1fSiQn0Coc4,5970
203
203
  reconcile/external_resources/integration.py,sha256=WF6O4rT0oUHbNaWEemjLLzCqdNSQIUaymUuj08VsIl8,7034
204
204
  reconcile/external_resources/integration_secrets_sync.py,sha256=CImwt_tyS3MMGpkjI_0gZqYt4XgqIw4BtdJiDH2xrCk,1700
205
- reconcile/external_resources/manager.py,sha256=mvFfcXPzvNqDWDgKTK8eiSe6C_FUvBtben3bSqrqSoc,18246
205
+ reconcile/external_resources/manager.py,sha256=bnGLeQmg7wzTcApgNTDKBTsojuEgOrCYX1QIIS12-ns,18247
206
206
  reconcile/external_resources/meta.py,sha256=noaytFzmShpzLA_ebGh7wuP45mOfHIOnnoUxivjDa1I,672
207
207
  reconcile/external_resources/metrics.py,sha256=KiBjMUaN_z0cSkF_7Ar_a8RiuiwVqjyMcVdISlxhzXE,3898
208
- reconcile/external_resources/model.py,sha256=HrSkmAjOqw0aT3CsZKXKMLyocM__8XO5qHb-dXcoagw,13747
208
+ reconcile/external_resources/model.py,sha256=hmb42GyIUn09DSCAik2zlWZ1x9eZzYy-_6NSCU-sZ5Y,13875
209
209
  reconcile/external_resources/reconciler.py,sha256=wB8cB5pmqDJ1_t5_Aly4mrULGnI3OQaKqUZCB_Z9RWw,9573
210
210
  reconcile/external_resources/secrets_sync.py,sha256=ZDxzGZ6wC4zxLhA7-L39xDRH6rzUM285gytuzmRQdlw,16208
211
211
  reconcile/external_resources/state.py,sha256=gF3ACdl7YiUlbQ4uEGrD6i_Txxqr6mT9f8IFlTQ-8dY,13176
@@ -791,7 +791,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
791
791
  tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
792
792
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
793
793
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
794
- qontract_reconcile-0.10.2.dev119.dist-info/METADATA,sha256=SKqDG8b-t6tqKTkpG1py04j64dM91WT5KMO5Ir65rGc,24566
795
- qontract_reconcile-0.10.2.dev119.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
796
- qontract_reconcile-0.10.2.dev119.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
797
- qontract_reconcile-0.10.2.dev119.dist-info/RECORD,,
794
+ qontract_reconcile-0.10.2.dev120.dist-info/METADATA,sha256=4YOXETq-N11P0sY_H0zOmXsCU_62QE-SEmzIeGIw5_U,24566
795
+ qontract_reconcile-0.10.2.dev120.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
796
+ qontract_reconcile-0.10.2.dev120.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
797
+ qontract_reconcile-0.10.2.dev120.dist-info/RECORD,,
@@ -181,9 +181,13 @@ class AWSRdsFactory(AWSDefaultResourceFactory):
181
181
  sourcedb.get("region", None)
182
182
  or sourcedb_spec.provisioner["resources_default_region"]
183
183
  )
184
+ blue_green_deployment_enabled = sourcedb.get(
185
+ "blue_green_deployment", {}
186
+ ).get("enabled", False)
184
187
  data["replica_source"] = {
185
188
  "identifier": sourcedb["identifier"],
186
189
  "region": sourcedb_region,
190
+ "blue_green_deployment_enabled": blue_green_deployment_enabled,
187
191
  }
188
192
  # If AZ is set, but not the region, the region is got from the AZ
189
193
  if "availability_zone" in data and "region" not in data:
@@ -288,7 +288,7 @@ class ExternalResourcesManager:
288
288
  if not state.resource_status.is_in_progress:
289
289
  return reconciliation_status
290
290
 
291
- logging.info(
291
+ logging.debug(
292
292
  "Reconciliation In progress. Action: %s, Key:%s",
293
293
  state.reconciliation.action,
294
294
  state.reconciliation.key,
@@ -258,8 +258,8 @@ class Resources(BaseModel, frozen=True):
258
258
  class ExternalResourceModuleConfiguration(BaseModel, frozen=True):
259
259
  image: str = ""
260
260
  version: str = ""
261
- reconcile_drift_interval_minutes: int = -1000
262
- reconcile_timeout_minutes: int = -1000
261
+ reconcile_drift_interval_minutes: int = 1440
262
+ reconcile_timeout_minutes: int = 1440 # same as https://developer.hashicorp.com/terraform/enterprise/application-administration/general#terraform-run-timeout-settings
263
263
  outputs_secret_image: str = ""
264
264
  outputs_secret_version: str = ""
265
265
  resources: Resources = Resources()