dbt-platform-helper 10.7.4__py3-none-any.whl → 10.8.1__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.

@@ -177,33 +177,38 @@ export class TransformedStack extends cdk.Stack {
177
177
 
178
178
  const currentEnvironment = buildProject.environment as cdk.aws_codebuild.CfnProject.EnvironmentProperty;
179
179
  const currentEnvironmentVariables = currentEnvironment.environmentVariables as Array<cdk.aws_codebuild.CfnProject.EnvironmentVariableProperty>;
180
+ const deployEnvironmentVariables = [
181
+ ...currentEnvironmentVariables,
182
+ {
183
+ name: 'CODESTAR_CONNECTION_ID',
184
+ value: this.codestarConnection.id
185
+ },
186
+ {
187
+ name: 'DEPLOY_REPOSITORY',
188
+ value: this.deployRepository
189
+ },
190
+ {
191
+ name: 'CODEBASE_REPOSITORY',
192
+ value: this.codebaseConfiguration.repository
193
+ },
194
+ {
195
+ name: 'COPILOT_SERVICES',
196
+ value: this.codebaseConfiguration.services.join(' ')
197
+ },
198
+ {
199
+ name: 'ECR_REPOSITORY',
200
+ value: this.ecrRepository()
201
+ },
202
+ ];
203
+
204
+ if (this.codebaseConfiguration.deploy_repository_branch){
205
+ deployEnvironmentVariables.push({name: 'DEPLOY_REPOSITORY_BRANCH', value: this.codebaseConfiguration.deploy_repository_branch})
206
+ }
180
207
 
181
208
  buildProject.environment = {
182
209
  ...buildProject.environment,
183
210
  image: 'public.ecr.aws/uktrade/ci-image-builder:tag-latest',
184
- environmentVariables: [
185
- ...currentEnvironmentVariables,
186
- {
187
- name: 'CODESTAR_CONNECTION_ID',
188
- value: this.codestarConnection.id
189
- },
190
- {
191
- name: 'DEPLOY_REPOSITORY',
192
- value: this.deployRepository
193
- },
194
- {
195
- name: 'CODEBASE_REPOSITORY',
196
- value: this.codebaseConfiguration.repository
197
- },
198
- {
199
- name: 'COPILOT_SERVICES',
200
- value: this.codebaseConfiguration.services.join(' ')
201
- },
202
- {
203
- name: 'ECR_REPOSITORY',
204
- value: this.ecrRepository()
205
- },
206
- ]
211
+ environmentVariables: deployEnvironmentVariables
207
212
  } as cdk.aws_codebuild.CfnProject.EnvironmentProperty;
208
213
 
209
214
  const currentSource = buildProject.source as cdk.aws_codebuild.CfnProject.SourceProperty;
@@ -26,6 +26,7 @@ export interface PipelinesConfiguration {
26
26
  codebase_pipelines: Array<{
27
27
  name: string;
28
28
  repository: string;
29
+ deploy_repository_branch?: string;
29
30
  additional_ecr_repository?: string;
30
31
  services: Array<string>;
31
32
  pipelines: Array<{
@@ -204,6 +204,7 @@ POSTGRES_PLANS = Or(
204
204
  "small-ha",
205
205
  "small-high-io",
206
206
  "medium",
207
+ "medium-ha",
207
208
  "medium-high-io",
208
209
  "large",
209
210
  "large-ha",
@@ -346,6 +347,8 @@ OPENSEARCH_DEFINITION = {
346
347
  Optional("index_slow_log_retention_in_days"): int,
347
348
  Optional("audit_log_retention_in_days"): int,
348
349
  Optional("search_slow_log_retention_in_days"): int,
350
+ Optional("password_special_characters"): str,
351
+ Optional("urlencode_password"): bool,
349
352
  }
350
353
  },
351
354
  }
@@ -409,6 +412,7 @@ CODEBASE_PIPELINES_DEFINITION = [
409
412
  "name": str,
410
413
  "repository": str,
411
414
  Optional("additional_ecr_repository"): str,
415
+ Optional("deploy_repository_branch"): str,
412
416
  "services": list[str],
413
417
  "pipelines": [
414
418
  Or(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dbt-platform-helper
3
- Version: 10.7.4
3
+ Version: 10.8.1
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
@@ -24,7 +24,7 @@ Requires-Dist: cfn-lint (>=1.4.2,<2.0.0)
24
24
  Requires-Dist: checkov (>=3.1.67,<4.0.0)
25
25
  Requires-Dist: click (>=8.1.3,<9.0.0)
26
26
  Requires-Dist: cloudfoundry-client (==1.35.2)
27
- Requires-Dist: cryptography (>=41.0.3,<43.0.0)
27
+ Requires-Dist: cryptography (>=41.0.3,<44.0.0)
28
28
  Requires-Dist: jinja2-simple-tags (>=0.5.0,<0.6.0)
29
29
  Requires-Dist: jsonschema (>=4.17.0,<4.18.0)
30
30
  Requires-Dist: mypy-boto3-codebuild (>=1.26.0.post1,<2.0.0)
@@ -68,9 +68,9 @@ dbt_platform_helper/templates/pipelines/codebase/overrides/buildspec.image.yml,s
68
68
  dbt_platform_helper/templates/pipelines/codebase/overrides/cdk.json,sha256=ZbvoQdcj_k9k1GAD9qHUQcDfQPbMcBPjJwt2mu_S6ho,339
69
69
  dbt_platform_helper/templates/pipelines/codebase/overrides/package-lock.json,sha256=Is83o58QXbeg2SkHmR79ATt91aFhVbO7kb1VF0qXpY8,152671
70
70
  dbt_platform_helper/templates/pipelines/codebase/overrides/package.json,sha256=XB0Pf63NSsGyowkPGTl1Nki167nRDXJdnxLSN3S_lQg,536
71
- dbt_platform_helper/templates/pipelines/codebase/overrides/stack.ts,sha256=fZluba-PsB5Qo1eUyg8C5fYwDbKQiQ59sAfizTll_Is,20917
71
+ dbt_platform_helper/templates/pipelines/codebase/overrides/stack.ts,sha256=ugImQjc15sBCvQSbciOeHX2lnoTY_dkepjwFn5ueNNo,21117
72
72
  dbt_platform_helper/templates/pipelines/codebase/overrides/tsconfig.json,sha256=k6KabP-WwhFNgA1AFHNuonTEAnES6eR74jUuYUJEGOM,651
73
- dbt_platform_helper/templates/pipelines/codebase/overrides/types.ts,sha256=Sp4nEppsreaY1nKZC2q3lditLtMP9lUOKAIzdd4M2yM,1214
73
+ dbt_platform_helper/templates/pipelines/codebase/overrides/types.ts,sha256=8cp5xl_CIMH5TPvwlw9UBPKwfntcsu-lTAjbL5uylgw,1257
74
74
  dbt_platform_helper/templates/pipelines/environments/buildspec.yml,sha256=hTCUhSfrnTUMOpUo8EjQmvit2aX7J0cKNeqV2DChaA0,3365
75
75
  dbt_platform_helper/templates/pipelines/environments/manifest.yml,sha256=UyHL6wH2mznldZIyjPSbG72yO6zErglNcaoliHOKYvM,1765
76
76
  dbt_platform_helper/templates/pipelines/environments/overrides/cfn.patches.yml,sha256=VLjm3Dz4clUz44B5RSQy7mu1sRzm7Yf2S_TSnor_b_k,638
@@ -93,11 +93,11 @@ dbt_platform_helper/utils/manifests.py,sha256=ji3UYHCxq9tTpkm4MlRa2y0-JOYYqq1pWZ
93
93
  dbt_platform_helper/utils/messages.py,sha256=aLx6s9utt__IqlDdeIYq4n82ERwludu2Zfqy0Q2t-x8,115
94
94
  dbt_platform_helper/utils/platform_config.py,sha256=dEGB6peHB1ywYSdS71JGxbWIuTFRaeQfWelksX9v6bQ,608
95
95
  dbt_platform_helper/utils/template.py,sha256=raRx4QUCVJtKfvJK08Egg6gwWcs3r3V4nPWcJW4xNhA,574
96
- dbt_platform_helper/utils/validation.py,sha256=OPajVss8pWth_3FD_1iPodNjeysTZ28-dMEvMRc4I1c,22735
96
+ dbt_platform_helper/utils/validation.py,sha256=yKP-UIOTbla_14WcafZUOUDVqHbGQagZpMeHoF5ktUU,22911
97
97
  dbt_platform_helper/utils/versioning.py,sha256=h3veQpFoiOjYY9dRVppcBDzVfgZerT0lXuE9QCTo5-c,10710
98
98
  platform_helper.py,sha256=zjsZKcbyrEQbKfERi0JG8JEL-MgG6EjxIMiWT66kCVg,2299
99
- dbt_platform_helper-10.7.4.dist-info/LICENSE,sha256=dP79lN73--7LMApnankTGLqDbImXg8iYFqWgnExGkGk,1090
100
- dbt_platform_helper-10.7.4.dist-info/METADATA,sha256=I4fYIGmlKBJZYziiMzIHNxcjZV3g5qMaMVuWi0_-TWM,3126
101
- dbt_platform_helper-10.7.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
102
- dbt_platform_helper-10.7.4.dist-info/entry_points.txt,sha256=QhbY8F434A-onsg0-FsdMd2U6HKh6Q7yCFFZrGUh5-M,67
103
- dbt_platform_helper-10.7.4.dist-info/RECORD,,
99
+ dbt_platform_helper-10.8.1.dist-info/LICENSE,sha256=dP79lN73--7LMApnankTGLqDbImXg8iYFqWgnExGkGk,1090
100
+ dbt_platform_helper-10.8.1.dist-info/METADATA,sha256=RmcvsRVK6CECWF1wkmwUG8zha7aU597TI30V3i8tEfk,3126
101
+ dbt_platform_helper-10.8.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
102
+ dbt_platform_helper-10.8.1.dist-info/entry_points.txt,sha256=QhbY8F434A-onsg0-FsdMd2U6HKh6Q7yCFFZrGUh5-M,67
103
+ dbt_platform_helper-10.8.1.dist-info/RECORD,,