dbt-platform-helper 12.5.1__py3-none-any.whl → 13.0.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.md +45 -42
- dbt_platform_helper/commands/codebase.py +7 -10
- dbt_platform_helper/commands/conduit.py +2 -2
- dbt_platform_helper/commands/config.py +1 -1
- dbt_platform_helper/commands/environment.py +32 -18
- dbt_platform_helper/commands/notify.py +5 -3
- dbt_platform_helper/commands/pipeline.py +17 -11
- dbt_platform_helper/constants.py +3 -1
- dbt_platform_helper/domain/codebase.py +48 -36
- dbt_platform_helper/domain/conduit.py +10 -12
- dbt_platform_helper/domain/config_validator.py +42 -31
- dbt_platform_helper/domain/copilot_environment.py +133 -129
- dbt_platform_helper/domain/database_copy.py +38 -37
- dbt_platform_helper/domain/maintenance_page.py +243 -193
- dbt_platform_helper/domain/pipelines.py +60 -135
- dbt_platform_helper/domain/terraform_environment.py +7 -3
- dbt_platform_helper/providers/aws.py +5 -0
- dbt_platform_helper/providers/cloudformation.py +12 -1
- dbt_platform_helper/providers/config.py +12 -14
- dbt_platform_helper/providers/ecr.py +20 -0
- dbt_platform_helper/providers/files.py +1 -1
- dbt_platform_helper/providers/io.py +31 -0
- dbt_platform_helper/providers/load_balancers.py +29 -3
- dbt_platform_helper/providers/platform_config_schema.py +24 -22
- dbt_platform_helper/providers/terraform_manifest.py +120 -0
- dbt_platform_helper/providers/vpc.py +81 -32
- dbt_platform_helper/templates/COMMANDS.md.jinja +5 -3
- dbt_platform_helper/templates/environment-pipelines/main.tf +2 -2
- dbt_platform_helper/templates/environments/main.tf +3 -4
- dbt_platform_helper/utils/aws.py +16 -5
- dbt_platform_helper/utils/messages.py +2 -3
- {dbt_platform_helper-12.5.1.dist-info → dbt_platform_helper-13.0.0.dist-info}/METADATA +2 -2
- {dbt_platform_helper-12.5.1.dist-info → dbt_platform_helper-13.0.0.dist-info}/RECORD +36 -44
- dbt_platform_helper/templates/pipelines/codebase/manifest.yml +0 -56
- dbt_platform_helper/templates/pipelines/codebase/overrides/.gitignore +0 -12
- dbt_platform_helper/templates/pipelines/codebase/overrides/bin/override.ts +0 -8
- dbt_platform_helper/templates/pipelines/codebase/overrides/buildspec.deploy.yml +0 -29
- dbt_platform_helper/templates/pipelines/codebase/overrides/buildspec.image.yml +0 -48
- dbt_platform_helper/templates/pipelines/codebase/overrides/cdk.json +0 -20
- dbt_platform_helper/templates/pipelines/codebase/overrides/package-lock.json +0 -4232
- dbt_platform_helper/templates/pipelines/codebase/overrides/package.json +0 -27
- dbt_platform_helper/templates/pipelines/codebase/overrides/stack.ts +0 -521
- dbt_platform_helper/templates/pipelines/codebase/overrides/tsconfig.json +0 -30
- dbt_platform_helper/templates/pipelines/codebase/overrides/types.ts +0 -52
- {dbt_platform_helper-12.5.1.dist-info → dbt_platform_helper-13.0.0.dist-info}/LICENSE +0 -0
- {dbt_platform_helper-12.5.1.dist-info → dbt_platform_helper-13.0.0.dist-info}/WHEEL +0 -0
- {dbt_platform_helper-12.5.1.dist-info → dbt_platform_helper-13.0.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
version: 0.2
|
|
2
|
-
env:
|
|
3
|
-
git-credential-helper: yes
|
|
4
|
-
parameter-store:
|
|
5
|
-
SLACK_CHANNEL_ID: /codebuild/slack_oauth_channel
|
|
6
|
-
SLACK_TOKEN: /codebuild/slack_oauth_token
|
|
7
|
-
variables:
|
|
8
|
-
COLOR: false
|
|
9
|
-
CI: true
|
|
10
|
-
phases:
|
|
11
|
-
build:
|
|
12
|
-
commands:
|
|
13
|
-
- echo "Copilot environment is ${COPILOT_ENVIRONMENT}"
|
|
14
|
-
- /work/cli deploy --send-notifications
|
|
15
|
-
|
|
16
|
-
post_build:
|
|
17
|
-
commands:
|
|
18
|
-
- |
|
|
19
|
-
if [ "${CODEBUILD_BUILD_SUCCEEDING}" != "1" ]; then
|
|
20
|
-
BUILD_ID_PREFIX=$(echo $CODEBUILD_BUILD_ID | cut -d':' -f1)
|
|
21
|
-
echo "BUILD_ID_PREFIX - ${BUILD_ID_PREFIX}"
|
|
22
|
-
|
|
23
|
-
echo -e "\nInstalling dependencies"
|
|
24
|
-
pip install dbt-platform-helper
|
|
25
|
-
|
|
26
|
-
MESSAGE=":no_entry::construction: Build failure in codebuild project: <https://eu-west-2.console.aws.amazon.com/codesuite/codebuild/${AWS_ACCOUNT_ID}/projects/${BUILD_ID_PREFIX}/build/${CODEBUILD_BUILD_ID}/?region=eu-west-2|${BUILD_ID_PREFIX} - build ${CODEBUILD_BUILD_NUMBER}>"
|
|
27
|
-
|
|
28
|
-
platform-helper notify add-comment "${SLACK_CHANNEL_ID}" "${SLACK_TOKEN}" "" "${MESSAGE}"
|
|
29
|
-
fi
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
version: 0.2
|
|
2
|
-
|
|
3
|
-
env:
|
|
4
|
-
parameter-store:
|
|
5
|
-
SLACK_CHANNEL_ID: /codebuild/slack_oauth_channel
|
|
6
|
-
SLACK_TOKEN: /codebuild/slack_oauth_token
|
|
7
|
-
|
|
8
|
-
phases:
|
|
9
|
-
install:
|
|
10
|
-
commands:
|
|
11
|
-
- >
|
|
12
|
-
if [ -f .copilot/phases/install.sh ]; then
|
|
13
|
-
bash .copilot/phases/install.sh;
|
|
14
|
-
fi
|
|
15
|
-
|
|
16
|
-
pre_build:
|
|
17
|
-
commands:
|
|
18
|
-
- >
|
|
19
|
-
if [ -f .copilot/phases/pre_build.sh ]; then
|
|
20
|
-
bash .copilot/phases/pre_build.sh;
|
|
21
|
-
fi
|
|
22
|
-
|
|
23
|
-
build:
|
|
24
|
-
commands:
|
|
25
|
-
- >
|
|
26
|
-
if [ -f .copilot/phases/build.sh ]; then
|
|
27
|
-
bash .copilot/phases/build.sh;
|
|
28
|
-
fi
|
|
29
|
-
- /work/cli build --publish --send-notifications
|
|
30
|
-
|
|
31
|
-
post_build:
|
|
32
|
-
commands:
|
|
33
|
-
- >
|
|
34
|
-
if [ -f .copilot/phases/post_build.sh ]; then
|
|
35
|
-
bash .copilot/phases/post_build.sh;
|
|
36
|
-
fi
|
|
37
|
-
|
|
38
|
-
if [ "${CODEBUILD_BUILD_SUCCEEDING}" != "1" ]; then
|
|
39
|
-
BUILD_ID_PREFIX=$(echo $CODEBUILD_BUILD_ID | cut -d':' -f1)
|
|
40
|
-
echo "BUILD_ID_PREFIX - ${BUILD_ID_PREFIX}"
|
|
41
|
-
|
|
42
|
-
echo -e "\nInstalling dependencies"
|
|
43
|
-
pip install dbt-platform-helper
|
|
44
|
-
|
|
45
|
-
MESSAGE=":no_entry::building_construction: Image build failure in codebuild project: <https://eu-west-2.console.aws.amazon.com/codesuite/codebuild/${AWS_ACCOUNT_ID}/projects/${BUILD_ID_PREFIX}/build/${CODEBUILD_BUILD_ID}/?region=eu-west-2|${BUILD_ID_PREFIX} - build ${CODEBUILD_BUILD_NUMBER}>"
|
|
46
|
-
|
|
47
|
-
platform-helper notify add-comment "${SLACK_CHANNEL_ID}" "${SLACK_TOKEN}" "" "${MESSAGE}"
|
|
48
|
-
fi
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"app": "npx ts-node --prefer-ts-exts bin/override.ts",
|
|
3
|
-
"versionReporting": false,
|
|
4
|
-
"watch": {
|
|
5
|
-
"include": [
|
|
6
|
-
"**"
|
|
7
|
-
],
|
|
8
|
-
"exclude": [
|
|
9
|
-
"README.md",
|
|
10
|
-
"cdk*.json",
|
|
11
|
-
"**/*.d.ts",
|
|
12
|
-
"**/*.js",
|
|
13
|
-
"tsconfig.json",
|
|
14
|
-
"package*.json",
|
|
15
|
-
"yarn.lock",
|
|
16
|
-
"node_modules",
|
|
17
|
-
"test"
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
}
|