qontract-reconcile 0.10.2.dev171__py3-none-any.whl → 0.10.2.dev172__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.dev171
3
+ Version: 0.10.2.dev172
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
@@ -91,7 +91,7 @@ reconcile/openshift_vault_secrets.py,sha256=9rTqV6wzCQx2Oh712E_Xj8wMG7u8Oh-pY8DW
91
91
  reconcile/quay_base.py,sha256=h5xNjb7EZm8L2JgpO42r6w0UA4im5dabZXJSIW69zKU,1987
92
92
  reconcile/quay_membership.py,sha256=cmeoRdr3-wVlymNHVhzhW0W-Tq6qt1hd2OOIhGXsmrY,6398
93
93
  reconcile/quay_mirror.py,sha256=PBooiA0ShZpWYfO6oeKFqYYT6Syi7Q8JJD9kj0wRRLg,14030
94
- reconcile/quay_mirror_org.py,sha256=tXKuF6JtmaNRwu8_g_65U_Vpd6sFBYeXmJA-flVhylE,10764
94
+ reconcile/quay_mirror_org.py,sha256=I-tEqRHLL6uFqbSi7qCfPuDNoae7EAI2U68NbDOhmv8,10809
95
95
  reconcile/quay_permissions.py,sha256=9KOutS1w4RFQqkvMSy54VtsKNx56-phzP6yI_rEW-B8,4244
96
96
  reconcile/quay_repos.py,sha256=cuEYG0HUe0ut5yvLdEwOF5-CmccpXQHRb_wDazvDrvQ,6895
97
97
  reconcile/queries.py,sha256=JbkF6F13xdToj1WgWzkK7aU1Gf_gFbjuJvdsyQrZ1iw,50905
@@ -807,7 +807,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
807
807
  tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
808
808
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
809
809
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
810
- qontract_reconcile-0.10.2.dev171.dist-info/METADATA,sha256=Aks0nz4e_e3-ZxjlfMkisaMEtonPhEgTNUcCUhgONOA,24627
811
- qontract_reconcile-0.10.2.dev171.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
812
- qontract_reconcile-0.10.2.dev171.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
813
- qontract_reconcile-0.10.2.dev171.dist-info/RECORD,,
810
+ qontract_reconcile-0.10.2.dev172.dist-info/METADATA,sha256=fYoIRCaiOLcfX6lumdobZv5Zlj5ZcVrKU_aAweA2tY8,24627
811
+ qontract_reconcile-0.10.2.dev172.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
812
+ qontract_reconcile-0.10.2.dev172.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
813
+ qontract_reconcile-0.10.2.dev172.dist-info/RECORD,,
@@ -18,6 +18,7 @@ from sretoolbox.container.skopeo import SkopeoCmdError
18
18
 
19
19
  from reconcile.quay_base import get_quay_api_store
20
20
  from reconcile.quay_mirror import QuayMirror
21
+ from reconcile.utils.quay_mirror import record_timestamp, sync_tag
21
22
 
22
23
  _LOG = logging.getLogger(__name__)
23
24
 
@@ -80,7 +81,7 @@ class QuayMirrorOrg:
80
81
  _LOG.error("skopeo command error message: '%s'", details)
81
82
 
82
83
  if self.is_compare_tags and not self.dry_run:
83
- QuayMirror.record_timestamp(self.control_file_path)
84
+ record_timestamp(self.control_file_path)
84
85
 
85
86
  def process_org_mirrors(self, summary):
86
87
  """adds new keys to the summary dict with information about mirrored
@@ -183,7 +184,7 @@ class QuayMirrorOrg:
183
184
  upstream = image_mirror[tag]
184
185
  downstream = image[tag]
185
186
 
186
- if not QuayMirror.sync_tag(
187
+ if not sync_tag(
187
188
  tags=tags, tags_exclude=tags_exclude, candidate=tag
188
189
  ):
189
190
  _LOG.debug(