qontract-reconcile 0.10.2.dev146__py3-none-any.whl → 0.10.2.dev148__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.2.dev146.dist-info → qontract_reconcile-0.10.2.dev148.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev146.dist-info → qontract_reconcile-0.10.2.dev148.dist-info}/RECORD +6 -6
- reconcile/templating/renderer.py +5 -4
- tools/qontract_cli.py +1 -1
- {qontract_reconcile-0.10.2.dev146.dist-info → qontract_reconcile-0.10.2.dev148.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev146.dist-info → qontract_reconcile-0.10.2.dev148.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev146.dist-info → qontract_reconcile-0.10.2.dev148.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.2.
|
3
|
+
Version: 0.10.2.dev148
|
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
|
{qontract_reconcile-0.10.2.dev146.dist-info → qontract_reconcile-0.10.2.dev148.dist-info}/RECORD
RENAMED
@@ -512,7 +512,7 @@ reconcile/templates/jira-checkpoint-missinginfo.j2,sha256=c_Vvg-lEENsB3tgxm9B6Y9
|
|
512
512
|
reconcile/templates/rosa-classic-cluster-creation.sh.j2,sha256=zqMMlKWV-aUDMtA-Xu5kl5pYLilewDClnKM0c807nNA,2146
|
513
513
|
reconcile/templates/rosa-hcp-cluster-creation.sh.j2,sha256=hQ-WapiBNV3oEKQ813W3bD4HwQ4gADRPy80z9OLtW3Y,2317
|
514
514
|
reconcile/templating/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
515
|
-
reconcile/templating/renderer.py,sha256=
|
515
|
+
reconcile/templating/renderer.py,sha256=VA_lMMtsyEFc0Cwf0jehQdv3tMEJtfyZMzBgA5us5ME,14856
|
516
516
|
reconcile/templating/validator.py,sha256=5f9f35PCHOOdjb7KZquL2YdabyuAUokPDa4xutSEHIQ,5360
|
517
517
|
reconcile/templating/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
518
518
|
reconcile/templating/lib/merge_request_manager.py,sha256=XwpOR4rVS9ZiJ_Mn8qfCXPZ7CRLMGSJgeIkqD-8Jhgc,5228
|
@@ -770,7 +770,7 @@ tools/app_sre_tekton_access_reporter.py,sha256=o9prLUgQpwO3msRWc2as1xT1y9OB3znkp
|
|
770
770
|
tools/app_sre_tekton_access_revalidation.py,sha256=66nHEaY-bIqxIhpcmwN8AvQZu6ZXenfkg4Fut0pVZRM,2726
|
771
771
|
tools/glitchtip_access_reporter.py,sha256=o01A6b88t3Wie6tj_tJWWVo2J01LxQ_a9giGm4UzEaU,2901
|
772
772
|
tools/glitchtip_access_revalidation.py,sha256=PXN5wxl6OX8sxddPaakDF3X79nFLvpm-lz0mWLVelw0,2806
|
773
|
-
tools/qontract_cli.py,sha256=
|
773
|
+
tools/qontract_cli.py,sha256=VmwXfvYEUewhvTYA3M2ucjRzhCb2G42AWrb9asMsdSQ,157451
|
774
774
|
tools/sd_app_sre_alert_report.py,sha256=jQpJdXVID68bSNtJNOGDh0-ei1CfEUS4Itr4MAaBNFA,5062
|
775
775
|
tools/template_validation.py,sha256=qpKYaTgk0GOPGa2Ct5_5sKdwIHtCAKIBGzsMPuJU5fw,3371
|
776
776
|
tools/cli_commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -797,7 +797,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
797
797
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
|
798
798
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
799
799
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
800
|
-
qontract_reconcile-0.10.2.
|
801
|
-
qontract_reconcile-0.10.2.
|
802
|
-
qontract_reconcile-0.10.2.
|
803
|
-
qontract_reconcile-0.10.2.
|
800
|
+
qontract_reconcile-0.10.2.dev148.dist-info/METADATA,sha256=kBuHS7iU_WbaGxjsnZVvv7rpMhB0hutZQ94Hs7AYogI,24627
|
801
|
+
qontract_reconcile-0.10.2.dev148.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
802
|
+
qontract_reconcile-0.10.2.dev148.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
803
|
+
qontract_reconcile-0.10.2.dev148.dist-info/RECORD,,
|
reconcile/templating/renderer.py
CHANGED
@@ -30,8 +30,8 @@ from reconcile.typed_queries.app_interface_repo_url import get_app_interface_rep
|
|
30
30
|
from reconcile.typed_queries.github_orgs import get_github_orgs
|
31
31
|
from reconcile.typed_queries.gitlab_instances import get_gitlab_instances
|
32
32
|
from reconcile.utils import gql
|
33
|
-
from reconcile.utils.git import clone
|
34
|
-
from reconcile.utils.gql import GqlApi
|
33
|
+
from reconcile.utils.git import checkout, clone
|
34
|
+
from reconcile.utils.gql import GqlApi
|
35
35
|
from reconcile.utils.jinja2.utils import TemplateRenderOptions, process_jinja2_template
|
36
36
|
from reconcile.utils.ruamel import create_ruamel_instance
|
37
37
|
from reconcile.utils.runtime.integration import (
|
@@ -333,7 +333,6 @@ class TemplateRendererIntegration(QontractReconcileIntegration):
|
|
333
333
|
def reconcile(
|
334
334
|
self, persistence: FilePersistence, ruamel_instance: yaml.YAML
|
335
335
|
) -> None:
|
336
|
-
gql_api = init_from_config(validate_schemas=False)
|
337
336
|
for collection in get_template_collections(
|
338
337
|
name=self.params.template_collection_name
|
339
338
|
):
|
@@ -351,7 +350,7 @@ class TemplateRendererIntegration(QontractReconcileIntegration):
|
|
351
350
|
for item in for_each_items:
|
352
351
|
self.reconcile_template_collection(
|
353
352
|
collection=collection,
|
354
|
-
gql_api=
|
353
|
+
gql_api=gql.get_api(),
|
355
354
|
persistence=p,
|
356
355
|
ruamel_instance=ruamel_instance,
|
357
356
|
each=item,
|
@@ -398,6 +397,8 @@ class TemplateRendererIntegration(QontractReconcileIntegration):
|
|
398
397
|
) as temp_dir:
|
399
398
|
logging.debug(f"Cloning {url} to {temp_dir}")
|
400
399
|
clone(url, temp_dir, depth=1, verify=ssl_verify)
|
400
|
+
logging.debug(f"Checking out commit {gql.get_api().commit}")
|
401
|
+
checkout(str(gql.get_api().commit), temp_dir, verify=bool(ssl_verify))
|
401
402
|
persistence = ClonedRepoGitlabPersistence(
|
402
403
|
dry_run=dry_run,
|
403
404
|
local_path=temp_dir,
|
tools/qontract_cli.py
CHANGED
@@ -2510,7 +2510,7 @@ def selectorsyncset_managed_resources(ctx: click.Context, use_jump_host: bool) -
|
|
2510
2510
|
try:
|
2511
2511
|
for resource in sss["spec"]["resources"]:
|
2512
2512
|
kind = resource["kind"]
|
2513
|
-
namespace = resource["metadata"].get("namespace")
|
2513
|
+
namespace = resource["metadata"].get("namespace", "")
|
2514
2514
|
name = resource["metadata"]["name"]
|
2515
2515
|
item = {
|
2516
2516
|
"cluster": c_name,
|
{qontract_reconcile-0.10.2.dev146.dist-info → qontract_reconcile-0.10.2.dev148.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|