dbt-platform-helper 15.7.0__py3-none-any.whl → 15.8.0__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.
Potentially problematic release.
This version of dbt-platform-helper might be problematic. Click here for more details.
- dbt_platform_helper/commands/application.py +2 -1
- dbt_platform_helper/entities/platform_config_schema.py +12 -4
- dbt_platform_helper/providers/load_balancers.py +3 -2
- {dbt_platform_helper-15.7.0.dist-info → dbt_platform_helper-15.8.0.dist-info}/METADATA +1 -1
- {dbt_platform_helper-15.7.0.dist-info → dbt_platform_helper-15.8.0.dist-info}/RECORD +8 -8
- {dbt_platform_helper-15.7.0.dist-info → dbt_platform_helper-15.8.0.dist-info}/LICENSE +0 -0
- {dbt_platform_helper-15.7.0.dist-info → dbt_platform_helper-15.8.0.dist-info}/WHEEL +0 -0
- {dbt_platform_helper-15.7.0.dist-info → dbt_platform_helper-15.8.0.dist-info}/entry_points.txt +0 -0
|
@@ -281,12 +281,13 @@ def task_stats(env, app, disk, storage, network):
|
|
|
281
281
|
memory,
|
|
282
282
|
dsk,
|
|
283
283
|
) in cpu_response["results"]:
|
|
284
|
+
cpu_value = f"{float(cpu['value']):.1f}" + "%"
|
|
284
285
|
values = [
|
|
285
286
|
f"{YELLOW}{taskdef['value'].split('-')[-1]}",
|
|
286
287
|
f"{YELLOW}{task['value']}",
|
|
287
288
|
f"{YELLOW}{task_def_revision['value']}",
|
|
288
289
|
f"{YELLOW}{status['value']}",
|
|
289
|
-
f"{YELLOW}{
|
|
290
|
+
f"{YELLOW}{cpu_value}",
|
|
290
291
|
f"{YELLOW}{memory['value'] + 'M'}",
|
|
291
292
|
]
|
|
292
293
|
|
|
@@ -410,11 +410,19 @@ class PlatformConfigSchema:
|
|
|
410
410
|
Optional("environments"): {
|
|
411
411
|
Optional(PlatformConfigSchema.__valid_environment_name()): {
|
|
412
412
|
"team_name": str,
|
|
413
|
-
"contact_name": str,
|
|
414
|
-
"contact_email": str,
|
|
415
|
-
"
|
|
413
|
+
Optional("contact_name"): str,
|
|
414
|
+
Optional("contact_email"): str,
|
|
415
|
+
Optional("contacts"): [
|
|
416
|
+
{
|
|
417
|
+
"name": str,
|
|
418
|
+
"type": str,
|
|
419
|
+
"contact": str,
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
Optional("documentation_url"): str,
|
|
416
423
|
"services_to_monitor": dict,
|
|
417
|
-
|
|
424
|
+
Optional("description"): str,
|
|
425
|
+
},
|
|
418
426
|
},
|
|
419
427
|
}
|
|
420
428
|
|
|
@@ -149,8 +149,9 @@ class LoadBalancerProvider:
|
|
|
149
149
|
|
|
150
150
|
for rule in rules:
|
|
151
151
|
for action in rule["Actions"]:
|
|
152
|
-
if
|
|
153
|
-
|
|
152
|
+
if "TargetGroupArn" in action:
|
|
153
|
+
if action["Type"] == "forward" and action["TargetGroupArn"] == target_group_arn:
|
|
154
|
+
conditions = rule["Conditions"]
|
|
154
155
|
|
|
155
156
|
if not conditions:
|
|
156
157
|
raise ListenerRuleConditionsNotFoundException(listener_arn)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dbt-platform-helper
|
|
3
|
-
Version: 15.
|
|
3
|
+
Version: 15.8.0
|
|
4
4
|
Summary: Set of tools to help transfer applications/services from GOV.UK PaaS to DBT PaaS augmenting AWS Copilot.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Department for Business and Trade Platform Team
|
|
@@ -2,7 +2,7 @@ dbt_platform_helper/COMMANDS.md,sha256=eR_fK_iMO59_PjGWZIv3MDD61zG5Hlp9hbHeoXaHw
|
|
|
2
2
|
dbt_platform_helper/README.md,sha256=B0qN2_u_ASqqgkGDWY2iwNGZt_9tUgMb9XqtaTuzYjw,1530
|
|
3
3
|
dbt_platform_helper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
dbt_platform_helper/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
dbt_platform_helper/commands/application.py,sha256=
|
|
5
|
+
dbt_platform_helper/commands/application.py,sha256=GefE6MHuIdERUvd39K_3a-2v6VZUFQIS6F1U0GMXdAc,10156
|
|
6
6
|
dbt_platform_helper/commands/codebase.py,sha256=oNlZcP2w3XE5YP-JVl0rdqoJuXUrfe1ELZ5xAdgPvBk,3166
|
|
7
7
|
dbt_platform_helper/commands/conduit.py,sha256=GVDX2QjeGCxgN0otWOPivo0jyoE0CjnBz3VCDx9s-po,2313
|
|
8
8
|
dbt_platform_helper/commands/config.py,sha256=4pgGgaH7Mp93UWdVoqZDc2eAmjsP7Yw1jjsviNWXsks,1442
|
|
@@ -31,7 +31,7 @@ dbt_platform_helper/domain/plans.py,sha256=X5-jKGiJDVWn0CRH1k5aV74fTH0E41HqFQcCo
|
|
|
31
31
|
dbt_platform_helper/domain/service.py,sha256=b1wtvINDhyMmauTb4Ed2wyyGQXsKPfB-SIcewjXiCwA,6771
|
|
32
32
|
dbt_platform_helper/domain/terraform_environment.py,sha256=g9PSuZeVXgboGNDXU7OGMiRATd67NU8S92HUGri1fbo,2471
|
|
33
33
|
dbt_platform_helper/domain/versioning.py,sha256=pIL8VPAJHqX5kJBp3QIxII5vmUo4aIYW_U9u_KxUJd0,5494
|
|
34
|
-
dbt_platform_helper/entities/platform_config_schema.py,sha256=
|
|
34
|
+
dbt_platform_helper/entities/platform_config_schema.py,sha256=IUwjxQ19SotiAHLe5K9lpftaw4tJmMk-U6PQbe-HzEU,27551
|
|
35
35
|
dbt_platform_helper/entities/semantic_version.py,sha256=VgQ6V6OgSaleuVmMB8Kl_yLoakXl2auapJTDbK00mfc,2679
|
|
36
36
|
dbt_platform_helper/entities/service.py,sha256=9EkcSBVGxiLunyd_WneanW0_dbwX7QcF_YWjBvR_k_4,4147
|
|
37
37
|
dbt_platform_helper/jinja2_tags.py,sha256=hKG6RS3zlxJHQ-Op9r2U2-MhWp4s3lZir4Ihe24ApJ0,540
|
|
@@ -54,7 +54,7 @@ dbt_platform_helper/providers/environment_variable.py,sha256=PopMLKnWcoObQrgg7xS
|
|
|
54
54
|
dbt_platform_helper/providers/files.py,sha256=sH02Ka_WaDBFtN4Y0i9kuo9YQoKn2rhUy0Dn8LPMrEw,857
|
|
55
55
|
dbt_platform_helper/providers/io.py,sha256=-C_NLHH_ebN2G5ZMtAAj4E9AqcDZX98mIWgAV34Dm7U,1737
|
|
56
56
|
dbt_platform_helper/providers/kms.py,sha256=JR2EU3icXePoJCtr7QnqDPj1wWbyn5Uf9CRFq3_4lRs,647
|
|
57
|
-
dbt_platform_helper/providers/load_balancers.py,sha256=
|
|
57
|
+
dbt_platform_helper/providers/load_balancers.py,sha256=Xm7cyFIKfGPeD1HzIFCT8XQ6QJA8yJOwZjTuc6k8zcw,11800
|
|
58
58
|
dbt_platform_helper/providers/parameter_store.py,sha256=klxDhcQ65Yc2KAc4Gf5P0vhpZOW7_vZalAVb-LLAA4s,1568
|
|
59
59
|
dbt_platform_helper/providers/schema_migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
60
60
|
dbt_platform_helper/providers/schema_migrations/schema_v0_to_v1_migration.py,sha256=dplbvEAc8l8F4dEAy3JwLP1Phjkt4QVuQYNX_EKe_Ls,2036
|
|
@@ -106,8 +106,8 @@ platform_helper.py,sha256=LP9o5_1H9-FKbBa85FqW07QFPn6STg6D4gM2-QHaaD4,2048
|
|
|
106
106
|
terraform/elasticache-redis/plans.yml,sha256=efJfkLuLC_5TwhLb9DalKHOuZFO79y6iei6Dg_tqKjI,1831
|
|
107
107
|
terraform/opensearch/plans.yml,sha256=lQbUSNMGfvUeDMcGx8mSwzGQhMJU3EZ4J4tPzPKaq6c,1471
|
|
108
108
|
terraform/postgres/plans.yml,sha256=plwCklW1VB_tNJFyUduRMZx9UANgiWH_7TGLWUaUEus,2553
|
|
109
|
-
dbt_platform_helper-15.
|
|
110
|
-
dbt_platform_helper-15.
|
|
111
|
-
dbt_platform_helper-15.
|
|
112
|
-
dbt_platform_helper-15.
|
|
113
|
-
dbt_platform_helper-15.
|
|
109
|
+
dbt_platform_helper-15.8.0.dist-info/LICENSE,sha256=dP79lN73--7LMApnankTGLqDbImXg8iYFqWgnExGkGk,1090
|
|
110
|
+
dbt_platform_helper-15.8.0.dist-info/METADATA,sha256=SC2tYGy-f0qweGjG1PxdtYALvhi-FnzEJB6IQ2vZIr8,3163
|
|
111
|
+
dbt_platform_helper-15.8.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
112
|
+
dbt_platform_helper-15.8.0.dist-info/entry_points.txt,sha256=QhbY8F434A-onsg0-FsdMd2U6HKh6Q7yCFFZrGUh5-M,67
|
|
113
|
+
dbt_platform_helper-15.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-15.7.0.dist-info → dbt_platform_helper-15.8.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|