qontract-reconcile 0.10.2.dev228__py3-none-any.whl → 0.10.2.dev229__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.dev228
3
+ Version: 0.10.2.dev229
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
@@ -77,7 +77,7 @@ reconcile/openshift_rolebindings.py,sha256=9mlJ2FjWUoH-rsjtasreA_hV-K5Z_YR00qR_R
77
77
  reconcile/openshift_routes.py,sha256=fXvuPSjcjVw1X3j2EQvUAdbOepmIFdKk-M3qP8QzPiw,1075
78
78
  reconcile/openshift_saas_deploy.py,sha256=T1dvb9zajisaJNjbnR6-AZHU-itscHtr4oCqLj8KCK0,13037
79
79
  reconcile/openshift_saas_deploy_change_tester.py,sha256=12uyBwaeMka1C3_pejmQPIBPAx2V1sJ4dJkScq-2e2M,8793
80
- reconcile/openshift_saas_deploy_trigger_base.py,sha256=fHCnlskcRKcitmIWWF3ePhKhQ0WlMeEaRDZM2IAW9BY,14649
80
+ reconcile/openshift_saas_deploy_trigger_base.py,sha256=YztjQZrpxq_uPjxqlwZxC3JaLTC4GBjC_CpsLDNKk1w,14534
81
81
  reconcile/openshift_saas_deploy_trigger_cleaner.py,sha256=roLyVAVntaQptKaZbnN1LyLvCA8fyvqELfjU6M8xfeY,3511
82
82
  reconcile/openshift_saas_deploy_trigger_configs.py,sha256=eUejMGWuaQabZTLuvPLLvROfN5HOFyYZOpH4YEsiU_g,928
83
83
  reconcile/openshift_saas_deploy_trigger_images.py,sha256=iUsiBGJf-CyFw7tSLWo59rXmSvsVnN6TTaAObbsVpNg,936
@@ -803,7 +803,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
803
803
  tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
804
804
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
805
805
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
806
- qontract_reconcile-0.10.2.dev228.dist-info/METADATA,sha256=5Vilv7XrctUYz2MggGRV5YpQQzRms_cQB_isU8a-HNE,24431
807
- qontract_reconcile-0.10.2.dev228.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
808
- qontract_reconcile-0.10.2.dev228.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
809
- qontract_reconcile-0.10.2.dev228.dist-info/RECORD,,
806
+ qontract_reconcile-0.10.2.dev229.dist-info/METADATA,sha256=TtqPuJKbDOI4FK-V9gGy3bn01Xuw4UtOE9qfKSHv_DI,24431
807
+ qontract_reconcile-0.10.2.dev229.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
808
+ qontract_reconcile-0.10.2.dev229.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
809
+ qontract_reconcile-0.10.2.dev229.dist-info/RECORD,,
@@ -38,7 +38,7 @@ from reconcile.utils.saasherder import (
38
38
  TriggerSpecUnion,
39
39
  )
40
40
  from reconcile.utils.saasherder.interfaces import SaasPipelinesProviderTekton
41
- from reconcile.utils.saasherder.models import TriggerSpecConfig, TriggerTypes
41
+ from reconcile.utils.saasherder.models import TriggerTypes
42
42
  from reconcile.utils.secret_reader import create_secret_reader
43
43
  from reconcile.utils.sharding import is_in_shard
44
44
  from reconcile.utils.state import init_state
@@ -267,10 +267,6 @@ def _trigger_tekton(
267
267
  )
268
268
  return False
269
269
 
270
- target_ref = None
271
- if isinstance(spec, TriggerSpecConfig):
272
- target_ref = spec.target_ref
273
-
274
270
  tkn_trigger_resource, tkn_name = _construct_tekton_trigger_resource(
275
271
  spec.saas_file_name,
276
272
  spec.env_name,
@@ -282,7 +278,7 @@ def _trigger_tekton(
282
278
  integration_version,
283
279
  saasherder.include_trigger_trace,
284
280
  spec.reason,
285
- target_ref,
281
+ spec.state_content,
286
282
  )
287
283
 
288
284
  error = False