dbt-platform-helper 12.2.1__tar.gz → 12.2.2__tar.gz
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-12.2.1 → dbt_platform_helper-12.2.2}/PKG-INFO +1 -1
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/domain/codebase.py +1 -1
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/aws.py +6 -3
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/pyproject.toml +1 -1
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/LICENSE +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/COMMANDS.md +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/README.md +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/__init__.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/addon-plans.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/addons-template-map.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/__init__.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/application.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/codebase.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/conduit.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/config.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/copilot.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/database.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/environment.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/generate.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/notify.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/pipeline.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/secrets.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/version.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/constants.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/default-extensions.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/domain/__init__.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/domain/conduit.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/domain/database_copy.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/domain/maintenance_page.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/exceptions.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/jinja2_tags.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/__init__.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/cloudformation.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/copilot.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/ecs.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/load_balancers.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/secrets.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/.copilot/config.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/.copilot/image_build_run.sh +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/.copilot/phases/build.sh +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/.copilot/phases/install.sh +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/.copilot/phases/post_build.sh +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/.copilot/phases/pre_build.sh +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/COMMANDS.md.jinja +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/addon-instructions.txt +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/addons/README.md +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/addons/svc/appconfig-ipfilter.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/addons/svc/prometheus-policy.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/addons/svc/s3-policy.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/addons/svc/subscription-filter.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/ci-codebuild-role-policy.json +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/create-codebuild-role.json +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/custom-codebuild-role-policy.json +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/env/manifest.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/env/terraform-overrides/cfn.patches.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/environment-pipelines/main.tf +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/environments/main.tf +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/manifest.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/.gitignore +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/bin/override.ts +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/buildspec.deploy.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/buildspec.image.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/cdk.json +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/package-lock.json +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/package.json +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/stack.ts +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/tsconfig.json +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/codebase/overrides/types.ts +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/environments/buildspec.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/environments/manifest.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/pipelines/environments/overrides/cfn.patches.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/svc/maintenance_pages/default.html +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/svc/maintenance_pages/dmas-migration.html +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/svc/maintenance_pages/migration.html +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/svc/manifest-backend.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/svc/manifest-public.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/templates/svc/overrides/cfn.patches.yml +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/__init__.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/application.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/arn_parser.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/click.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/cloudfoundry.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/files.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/git.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/manifests.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/messages.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/platform_config.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/template.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/validation.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/versioning.py +0 -0
- {dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/platform_helper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dbt-platform-helper
|
|
3
|
-
Version: 12.2.
|
|
3
|
+
Version: 12.2.2
|
|
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
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/domain/codebase.py
RENAMED
|
@@ -144,7 +144,7 @@ class Codebase:
|
|
|
144
144
|
if not application.environments.get(env):
|
|
145
145
|
raise ApplicationEnvironmentNotFoundError()
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
self.check_codebase_exists_fn(session, application, codebase)
|
|
148
148
|
|
|
149
149
|
self.check_image_exists_fn(session, application, codebase, commit)
|
|
150
150
|
|
|
@@ -488,13 +488,16 @@ def start_build_extraction(codebuild_client, build_options):
|
|
|
488
488
|
def check_codebase_exists(session: Session, application, codebase: str):
|
|
489
489
|
try:
|
|
490
490
|
ssm_client = session.client("ssm")
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
491
|
+
json.loads(
|
|
492
|
+
ssm_client.get_parameter(
|
|
493
|
+
Name=f"/copilot/applications/{application.name}/codebases/{codebase}"
|
|
494
|
+
)["Parameter"]["Value"]
|
|
495
|
+
)
|
|
494
496
|
except (
|
|
495
497
|
KeyError,
|
|
496
498
|
ValueError,
|
|
497
499
|
ssm_client.exceptions.ParameterNotFound,
|
|
500
|
+
json.JSONDecodeError,
|
|
498
501
|
):
|
|
499
502
|
raise CopilotCodebaseNotFoundError
|
|
500
503
|
|
|
@@ -3,7 +3,7 @@ line-length = 100
|
|
|
3
3
|
|
|
4
4
|
[tool.poetry]
|
|
5
5
|
name = "dbt-platform-helper"
|
|
6
|
-
version = "12.2.
|
|
6
|
+
version = "12.2.2"
|
|
7
7
|
description = "Set of tools to help transfer applications/services from GOV.UK PaaS to DBT PaaS augmenting AWS Copilot."
|
|
8
8
|
authors = ["Department for Business and Trade Platform Team <sre-team@digital.trade.gov.uk>"]
|
|
9
9
|
license = "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/addon-plans.yml
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/codebase.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/conduit.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/config.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/copilot.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/database.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/generate.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/notify.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/pipeline.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/secrets.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/commands/version.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/default-extensions.yml
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/domain/__init__.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/domain/conduit.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/jinja2_tags.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/copilot.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/ecs.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/providers/secrets.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/__init__.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/application.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/arn_parser.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/click.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/cloudfoundry.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/files.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/manifests.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/messages.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/template.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/validation.py
RENAMED
|
File without changes
|
{dbt_platform_helper-12.2.1 → dbt_platform_helper-12.2.2}/dbt_platform_helper/utils/versioning.py
RENAMED
|
File without changes
|
|
File without changes
|