sqlmesh 0.196.1.dev1__py3-none-any.whl → 0.196.1.dev2__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.
- sqlmesh/_version.py +2 -2
- sqlmesh/integrations/github/cicd/command.py +3 -1
- sqlmesh/integrations/github/cicd/controller.py +2 -2
- {sqlmesh-0.196.1.dev1.dist-info → sqlmesh-0.196.1.dev2.dist-info}/METADATA +1 -1
- {sqlmesh-0.196.1.dev1.dist-info → sqlmesh-0.196.1.dev2.dist-info}/RECORD +9 -9
- {sqlmesh-0.196.1.dev1.dist-info → sqlmesh-0.196.1.dev2.dist-info}/WHEEL +0 -0
- {sqlmesh-0.196.1.dev1.dist-info → sqlmesh-0.196.1.dev2.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.196.1.dev1.dist-info → sqlmesh-0.196.1.dev2.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.196.1.dev1.dist-info → sqlmesh-0.196.1.dev2.dist-info}/top_level.txt +0 -0
sqlmesh/_version.py
CHANGED
|
@@ -17,5 +17,5 @@ __version__: str
|
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
|
18
18
|
version_tuple: VERSION_TUPLE
|
|
19
19
|
|
|
20
|
-
__version__ = version = '0.196.1.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 196, 1, '
|
|
20
|
+
__version__ = version = '0.196.1.dev2'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 196, 1, 'dev2')
|
|
@@ -276,7 +276,9 @@ def _run_all(controller: GithubController) -> None:
|
|
|
276
276
|
if has_required_approval and prod_plan_generated and controller.pr_targets_prod_branch:
|
|
277
277
|
deployed_to_prod = _deploy_production(controller)
|
|
278
278
|
elif is_auto_deploying_prod:
|
|
279
|
-
if not has_required_approval:
|
|
279
|
+
if controller.deploy_command_enabled and not has_required_approval:
|
|
280
|
+
skip_reason = "Skipped Deploying to Production because a `/deploy` command has not been detected yet"
|
|
281
|
+
elif controller.do_required_approval_check and not has_required_approval:
|
|
280
282
|
skip_reason = (
|
|
281
283
|
"Skipped Deploying to Production because a required approver has not approved"
|
|
282
284
|
)
|
|
@@ -1022,7 +1022,7 @@ class GithubController:
|
|
|
1022
1022
|
conclusion_to_title = {
|
|
1023
1023
|
GithubCheckConclusion.SUCCESS: "Deployed to Prod",
|
|
1024
1024
|
GithubCheckConclusion.CANCELLED: "Cancelled deploying to prod",
|
|
1025
|
-
GithubCheckConclusion.SKIPPED:
|
|
1025
|
+
GithubCheckConclusion.SKIPPED: "Skipped deployment",
|
|
1026
1026
|
GithubCheckConclusion.FAILURE: "Failed to deploy to prod",
|
|
1027
1027
|
GithubCheckConclusion.ACTION_REQUIRED: "Failed due to error applying plan",
|
|
1028
1028
|
}
|
|
@@ -1031,7 +1031,7 @@ class GithubController:
|
|
|
1031
1031
|
or f"Got an unexpected conclusion: {conclusion.value}"
|
|
1032
1032
|
)
|
|
1033
1033
|
if conclusion.is_skipped:
|
|
1034
|
-
summary =
|
|
1034
|
+
summary = skip_reason
|
|
1035
1035
|
elif conclusion.is_failure:
|
|
1036
1036
|
captured_errors = self._console.consume_captured_errors()
|
|
1037
1037
|
summary = (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=QjwaamJIdW7voXoS880yAx7tHm-Im4_mqGA-XJgafos,7631
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=T3TOuwwG7lDoyDPW-ns25kpuEBPYyBK1G1qdP7WuvZk,528
|
|
3
3
|
sqlmesh/magics.py,sha256=nMfwSW5rIkdnyO9MXYm9u24hNl6dqgAWybC-MnRcNnE,41451
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -162,9 +162,9 @@ sqlmesh/integrations/llm.py,sha256=URgp3JKr06HYv6hGlJ7DQ9m3QCc41xRWK23HzmGpbDI,1
|
|
|
162
162
|
sqlmesh/integrations/slack.py,sha256=nxLxu5WztGbZH3JdqnzyPqmJUMfRdJ_49LQ7zR-u39Q,6801
|
|
163
163
|
sqlmesh/integrations/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
164
164
|
sqlmesh/integrations/github/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
165
|
-
sqlmesh/integrations/github/cicd/command.py,sha256=
|
|
165
|
+
sqlmesh/integrations/github/cicd/command.py,sha256=ZhHxnYzXICvnfOgBk2NzpqhsM2cyVxgs-SGpH36IUs4,11791
|
|
166
166
|
sqlmesh/integrations/github/cicd/config.py,sha256=tRhMZaLf1p6AWXvi67n85Q-lptJNGt1Wk_Jr61ytpiM,2104
|
|
167
|
-
sqlmesh/integrations/github/cicd/controller.py,sha256=
|
|
167
|
+
sqlmesh/integrations/github/cicd/controller.py,sha256=F0Dh2NDTj8ZBUhUGGYNpC-ZjY-xoMY944yUUzEgLsk4,43805
|
|
168
168
|
sqlmesh/lsp/api.py,sha256=_lA_buSPZFIoLJuINbS53LbNOOaHp3orb0uFTE3aCqI,2328
|
|
169
169
|
sqlmesh/lsp/completions.py,sha256=Nt1XpFL_-QAIRM8BBBC6Ia6YG0hMZriiNJra7nGfD4Q,6676
|
|
170
170
|
sqlmesh/lsp/context.py,sha256=QGbNL0sifxzVJ7T1U5oWcJ5FXrOrLrVKt1jtH1qM_50,6099
|
|
@@ -283,7 +283,7 @@ sqlmesh/utils/pydantic.py,sha256=I898jAFqa3qU6lG2uPpRebVFncOUo8ZrLWM_R3K3DHU,116
|
|
|
283
283
|
sqlmesh/utils/rich.py,sha256=BpB47G0-JcU41LkGkeGKroexj4NOV5fox4-GOIXPgIc,3545
|
|
284
284
|
sqlmesh/utils/windows.py,sha256=r7Yin4WEwbvH7sKA3hOJtRsclmscNuBeCklCfVPvtQs,611
|
|
285
285
|
sqlmesh/utils/yaml.py,sha256=hvo5lmybYLcIx4p6CQwufS8X4MbwS60lEBnCmYJCXmU,2336
|
|
286
|
-
sqlmesh-0.196.1.
|
|
286
|
+
sqlmesh-0.196.1.dev2.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
287
287
|
web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
288
288
|
web/client/dist/index.html,sha256=drXwzSCEVDTMfaIwzJYjnT8Xk4c-Y4wNJz-CflUa_vY,5472
|
|
289
289
|
web/client/dist/assets/Audits-DrNQaTQA.js,sha256=E8JF632bsRUm6LGtgXlyHrJOYQe5VW2CgRZPaZNKvgg,1041
|
|
@@ -401,8 +401,8 @@ web/server/api/endpoints/models.py,sha256=ud-lRwriyI_OYg9tZchrBgeiXELiRTLNEodraf
|
|
|
401
401
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
402
402
|
web/server/api/endpoints/plan.py,sha256=OYuQ_4dgbhG9ibTcX1a8mvYgH3ANxw9Fhbb4wg6QWqc,9222
|
|
403
403
|
web/server/api/endpoints/table_diff.py,sha256=SCy3-pr5x6bEEiOaZGCDbiHQhpgxwmnz3Acqa2Ie6jI,2090
|
|
404
|
-
sqlmesh-0.196.1.
|
|
405
|
-
sqlmesh-0.196.1.
|
|
406
|
-
sqlmesh-0.196.1.
|
|
407
|
-
sqlmesh-0.196.1.
|
|
408
|
-
sqlmesh-0.196.1.
|
|
404
|
+
sqlmesh-0.196.1.dev2.dist-info/METADATA,sha256=_VppuqJpefmk1SENSpk8TaVD9BnjcQPHO3fDs7a-o7Y,26690
|
|
405
|
+
sqlmesh-0.196.1.dev2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
406
|
+
sqlmesh-0.196.1.dev2.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
|
|
407
|
+
sqlmesh-0.196.1.dev2.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
|
|
408
|
+
sqlmesh-0.196.1.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|