dbt-platform-helper 10.7.3__py3-none-any.whl → 10.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.
- dbt_platform_helper/templates/pipelines/codebase/overrides/stack.ts +30 -25
- dbt_platform_helper/templates/pipelines/codebase/overrides/types.ts +1 -0
- dbt_platform_helper/utils/validation.py +3 -0
- {dbt_platform_helper-10.7.3.dist-info → dbt_platform_helper-10.8.0.dist-info}/METADATA +1 -1
- {dbt_platform_helper-10.7.3.dist-info → dbt_platform_helper-10.8.0.dist-info}/RECORD +8 -8
- {dbt_platform_helper-10.7.3.dist-info → dbt_platform_helper-10.8.0.dist-info}/LICENSE +0 -0
- {dbt_platform_helper-10.7.3.dist-info → dbt_platform_helper-10.8.0.dist-info}/WHEEL +0 -0
- {dbt_platform_helper-10.7.3.dist-info → dbt_platform_helper-10.8.0.dist-info}/entry_points.txt +0 -0
|
@@ -108,7 +108,7 @@ export class TransformedStack extends cdk.Stack {
|
|
|
108
108
|
type: 'LINUX_CONTAINER',
|
|
109
109
|
computeType: 'BUILD_GENERAL1_SMALL',
|
|
110
110
|
privilegedMode: true,
|
|
111
|
-
image: 'public.ecr.aws/uktrade/ci-image-builder',
|
|
111
|
+
image: 'public.ecr.aws/uktrade/ci-image-builder:tag-latest',
|
|
112
112
|
environmentVariables: envVars,
|
|
113
113
|
},
|
|
114
114
|
source: {
|
|
@@ -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
|
-
image: 'public.ecr.aws/uktrade/ci-image-builder',
|
|
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
|
-
]
|
|
210
|
+
image: 'public.ecr.aws/uktrade/ci-image-builder:tag-latest',
|
|
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;
|
|
@@ -346,6 +346,8 @@ OPENSEARCH_DEFINITION = {
|
|
|
346
346
|
Optional("index_slow_log_retention_in_days"): int,
|
|
347
347
|
Optional("audit_log_retention_in_days"): int,
|
|
348
348
|
Optional("search_slow_log_retention_in_days"): int,
|
|
349
|
+
Optional("password_special_characters"): str,
|
|
350
|
+
Optional("urlencode_password"): bool,
|
|
349
351
|
}
|
|
350
352
|
},
|
|
351
353
|
}
|
|
@@ -409,6 +411,7 @@ CODEBASE_PIPELINES_DEFINITION = [
|
|
|
409
411
|
"name": str,
|
|
410
412
|
"repository": str,
|
|
411
413
|
Optional("additional_ecr_repository"): str,
|
|
414
|
+
Optional("deploy_repository_branch"): str,
|
|
412
415
|
"services": list[str],
|
|
413
416
|
"pipelines": [
|
|
414
417
|
Or(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dbt-platform-helper
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.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
|
|
@@ -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=
|
|
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=
|
|
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=
|
|
96
|
+
dbt_platform_helper/utils/validation.py,sha256=gzmqP1EHTjdifmKBVmTxiv7T5xZ2vh3EfgwkFJ3u1OU,22894
|
|
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.
|
|
100
|
-
dbt_platform_helper-10.
|
|
101
|
-
dbt_platform_helper-10.
|
|
102
|
-
dbt_platform_helper-10.
|
|
103
|
-
dbt_platform_helper-10.
|
|
99
|
+
dbt_platform_helper-10.8.0.dist-info/LICENSE,sha256=dP79lN73--7LMApnankTGLqDbImXg8iYFqWgnExGkGk,1090
|
|
100
|
+
dbt_platform_helper-10.8.0.dist-info/METADATA,sha256=6ltslUwUQSytujVxWgoxknLDLV7es_Ngm0HOpaf1W7k,3126
|
|
101
|
+
dbt_platform_helper-10.8.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
102
|
+
dbt_platform_helper-10.8.0.dist-info/entry_points.txt,sha256=QhbY8F434A-onsg0-FsdMd2U6HKh6Q7yCFFZrGUh5-M,67
|
|
103
|
+
dbt_platform_helper-10.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-10.7.3.dist-info → dbt_platform_helper-10.8.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|