qontract-reconcile 0.10.1rc983__py3-none-any.whl → 0.10.1rc984__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.1rc983
3
+ Version: 0.10.1rc984
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
@@ -665,7 +665,7 @@ reconcile/utils/gitlab_api.py,sha256=WfhLhOp3-cOwgptiCNPhWja74Lo41ZIlJ6HFSWaIDRw
665
665
  reconcile/utils/gpg.py,sha256=EKG7_fdMv8BMlV5yUdPiqoTx-KrzmVSEAl2sLkaKwWI,1123
666
666
  reconcile/utils/gql.py,sha256=NqxosFCInLy_dF_fcXnRYcZgsThedSyv_I3U8k2SLMg,14161
667
667
  reconcile/utils/grouping.py,sha256=vr9SFHZ7bqmHYrvYcEZt-Er3-yQYfAAdq5sHLZVmXPY,456
668
- reconcile/utils/helm.py,sha256=u8BzdAhuYGYO5zN8lA14N2nV0STCCZR3sHq1UpekXxE,3854
668
+ reconcile/utils/helm.py,sha256=hdNOVz1FkEZU3Iv46_aaulnh-c40_De1ou40pMSmBiw,3777
669
669
  reconcile/utils/helpers.py,sha256=k9svgFFZG7H5FvHYY0g5jJyvgvh2UDZxf0Ib221teag,1179
670
670
  reconcile/utils/imap_client.py,sha256=h8YDiCSCvroErhpH_-KGYI7Y2WU2Q2oSpuxDFbOkSbY,1989
671
671
  reconcile/utils/instrumented_wrappers.py,sha256=eVwMoa6FCrYxLv3RML3WpZF9qKVfCTjMxphgVXG03OM,1073
@@ -851,8 +851,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
851
851
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
852
852
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
853
853
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
854
- qontract_reconcile-0.10.1rc983.dist-info/METADATA,sha256=bPJ_umvkKlHPv1vWkMcu9rFpAZCkz4jZlcsufQ6TM90,2262
855
- qontract_reconcile-0.10.1rc983.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
856
- qontract_reconcile-0.10.1rc983.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
857
- qontract_reconcile-0.10.1rc983.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
858
- qontract_reconcile-0.10.1rc983.dist-info/RECORD,,
854
+ qontract_reconcile-0.10.1rc984.dist-info/METADATA,sha256=As6P3u65YzIin_JIIsx6wWgNcd-Uhk0Huwe57X-2P44,2262
855
+ qontract_reconcile-0.10.1rc984.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
856
+ qontract_reconcile-0.10.1rc984.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
857
+ qontract_reconcile-0.10.1rc984.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
858
+ qontract_reconcile-0.10.1rc984.dist-info/RECORD,,
reconcile/utils/helm.py CHANGED
@@ -35,9 +35,7 @@ def do_template(
35
35
  tempfile.NamedTemporaryFile(
36
36
  mode="w+", encoding="locale"
37
37
  ) as repository_config_file,
38
- tempfile.NamedTemporaryFile(
39
- mode="w+", encoding="locale"
40
- ) as repository_cache_file,
38
+ tempfile.TemporaryDirectory() as repository_cache_dir,
41
39
  ):
42
40
  with open(
43
41
  os.path.join(path, "Chart.yaml"), encoding="locale"
@@ -55,7 +53,7 @@ def do_template(
55
53
  "--repository-config",
56
54
  repository_config_file.name,
57
55
  "--repository-cache",
58
- repository_cache_file.name,
56
+ repository_cache_dir,
59
57
  ]
60
58
  run(cmd, capture_output=False, check=True)
61
59
  cmd = [
@@ -66,7 +64,7 @@ def do_template(
66
64
  "--repository-config",
67
65
  repository_config_file.name,
68
66
  "--repository-cache",
69
- repository_cache_file.name,
67
+ repository_cache_dir,
70
68
  ]
71
69
  run(cmd, capture_output=False, check=True)
72
70
  with tempfile.NamedTemporaryFile(
@@ -85,7 +83,7 @@ def do_template(
85
83
  "--repository-config",
86
84
  repository_config_file.name,
87
85
  "--repository-cache",
88
- repository_cache_file.name,
86
+ repository_cache_dir,
89
87
  ]
90
88
  result = run(cmd, capture_output=True, check=True)
91
89
  except CalledProcessError as e: