qontract-reconcile 0.10.1rc264__py3-none-any.whl → 0.10.1rc265__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.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc264
3
+ Version: 0.10.1rc265
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
@@ -117,7 +117,7 @@ reconcile/aus/base.py,sha256=bjTM5h4B8StKWq0n7p0JwsUVDlvWs-K-i5Wro57ulxc,31959
117
117
  reconcile/aus/cluster_version_data.py,sha256=j4UyEBi5mQuvPq5Lo7a_L_0blxvH790wJV07uAiikFU,7126
118
118
  reconcile/aus/metrics.py,sha256=Z920bHkDVCHhMACJ-NKnhjpOwBWtUGOYUrO84N93j9w,2285
119
119
  reconcile/aus/models.py,sha256=x8fpSyRun90Cy7UZVi47JdJoXBre6pEjkTG0-68Yeas,6626
120
- reconcile/aus/ocm_addons_upgrade_scheduler_org.py,sha256=WkdjpoSncYN020vI5U7mcVNeVJjkOoI7uZAjmIFZGOc,7630
120
+ reconcile/aus/ocm_addons_upgrade_scheduler_org.py,sha256=w9a3T-FdLhKsxDE-M3Uqr0PyZtuRjytweossZ8Vb3Wk,7664
121
121
  reconcile/aus/ocm_upgrade_scheduler.py,sha256=luCi2T5Cz9fyx4FBhOEBu809rwMZ6uNI8Q0yGTrUsNU,5493
122
122
  reconcile/aus/ocm_upgrade_scheduler_org.py,sha256=7rcv4BWh29C10mG6nbWGtii6-shRcHK00Gerf3LO3qg,2864
123
123
  reconcile/aus/upgrades.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -591,8 +591,8 @@ tools/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
591
591
  tools/test/test_qontract_cli.py,sha256=awwTHEc2DWlykuqGIYM0WOBoSL0KRnOraCLk3C7izis,1401
592
592
  tools/test/test_sd_app_sre_alert_report.py,sha256=JeLhgzpKCPgLvptwg_4ZvJHLVWKNG1T5845HXTkMBxA,1826
593
593
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
594
- qontract_reconcile-0.10.1rc264.dist-info/METADATA,sha256=1dmd_SeNSsUj0I-seBoIuinx031BBuTaRL6kdZldST4,2224
595
- qontract_reconcile-0.10.1rc264.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
596
- qontract_reconcile-0.10.1rc264.dist-info/entry_points.txt,sha256=ErVY2Jp-0Rtuq5KOtMlW5yvna4nIEuc_1YbEdEdcy9o,301
597
- qontract_reconcile-0.10.1rc264.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
598
- qontract_reconcile-0.10.1rc264.dist-info/RECORD,,
594
+ qontract_reconcile-0.10.1rc265.dist-info/METADATA,sha256=DVe8uI6gc_x2uxRBPaAgNsb2F-e88UmTeW60MyBdtMQ,2224
595
+ qontract_reconcile-0.10.1rc265.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
596
+ qontract_reconcile-0.10.1rc265.dist-info/entry_points.txt,sha256=ErVY2Jp-0Rtuq5KOtMlW5yvna4nIEuc_1YbEdEdcy9o,301
597
+ qontract_reconcile-0.10.1rc265.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
598
+ qontract_reconcile-0.10.1rc265.dist-info/RECORD,,
@@ -71,9 +71,18 @@ class OCMAddonsUpgradeSchedulerOrgIntegration(
71
71
  if isinstance(spec, ClusterAddonUpgradeSpec)
72
72
  }
73
73
  for addon_id in addons:
74
+ addon_org_upgrade_spec = OrganizationUpgradeSpec(
75
+ org=org_upgrade_spec.org,
76
+ specs=[
77
+ spec
78
+ for spec in org_upgrade_spec.specs
79
+ if isinstance(spec, ClusterAddonUpgradeSpec)
80
+ and spec.addon.id == addon_id
81
+ ],
82
+ )
74
83
  version_data = aus.get_version_data_map(
75
84
  dry_run=dry_run,
76
- org_upgrade_spec=org_upgrade_spec,
85
+ org_upgrade_spec=addon_org_upgrade_spec,
77
86
  addon_id=addon_id,
78
87
  integration=self.name,
79
88
  ).get(org_upgrade_spec.org.environment.name, org_upgrade_spec.org.org_id)
@@ -84,15 +93,7 @@ class OCMAddonsUpgradeSchedulerOrgIntegration(
84
93
  for s in current_state
85
94
  if isinstance(s, AddonUpgradePolicy) and s.addon_id == addon_id
86
95
  ],
87
- org_upgrade_spec=OrganizationUpgradeSpec(
88
- org=org_upgrade_spec.org,
89
- specs=[
90
- spec
91
- for spec in org_upgrade_spec.specs
92
- if isinstance(spec, ClusterAddonUpgradeSpec)
93
- and spec.addon.id == addon_id
94
- ],
95
- ),
96
+ org_upgrade_spec=addon_org_upgrade_spec,
96
97
  ocm_api=ocm_api,
97
98
  version_data=version_data,
98
99
  addon_id=addon_id,