dbt-platform-helper 12.4.0__py3-none-any.whl → 12.4.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.
@@ -12,24 +12,26 @@ dbt_platform_helper/commands/database.py,sha256=aG3zcMHL5PE96b7LSAu0FGCbgcycQej3
12
12
  dbt_platform_helper/commands/environment.py,sha256=VNIzuCM6RT-jVMk3Km0d88NEhrkTEWNqscEypVwLSWU,9294
13
13
  dbt_platform_helper/commands/generate.py,sha256=YLCPb-xcPapGcsLn-7d1Am7BpGp5l0iecIDTOdNGjHk,722
14
14
  dbt_platform_helper/commands/notify.py,sha256=kVJ0s78QMiaEWPVKu_bbMko4DW2uJy2fu8-HNJsglyk,3748
15
- dbt_platform_helper/commands/pipeline.py,sha256=_52bDSDa8DoyOA4VFxFJhwaiKCPHKqPtK2LWDLFaKlA,9452
15
+ dbt_platform_helper/commands/pipeline.py,sha256=_SVodU-XL5ierxzvkuarSTi7W8pmxnl5_uHc-gEynNw,8491
16
16
  dbt_platform_helper/commands/secrets.py,sha256=QjF9xUChioIr_P0fzqwyEcqLvcN-RNZmNFFlaUPVU9o,3994
17
17
  dbt_platform_helper/commands/version.py,sha256=XVfSd53TDti4cceBqTmRfq_yZnvxs14RbrOjNJHW75U,1444
18
- dbt_platform_helper/constants.py,sha256=HVaaO7hlQB41GrBBxcgk7hHie9tKbeYhJc-cRyYuIE0,453
18
+ dbt_platform_helper/constants.py,sha256=VPixgADOM4HMbUvNFOieI4OygDqzHl34y4IUnowqD7c,476
19
19
  dbt_platform_helper/default-extensions.yml,sha256=SU1ZitskbuEBpvE7efc3s56eAUF11j70brhj_XrNMMo,493
20
20
  dbt_platform_helper/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  dbt_platform_helper/domain/codebase.py,sha256=vs25ytD0iKwfuX-EoYHwG6qiZAmfvKyQiYT9BeWZ_s4,9688
22
22
  dbt_platform_helper/domain/conduit.py,sha256=mvjDzxh-SCUCY5qGL73kG8TT7YqeQR8XtNcHx26SW2w,4344
23
23
  dbt_platform_helper/domain/database_copy.py,sha256=m25FA6DkF_yG3lVcbxBEleYxwHA85hQrB5fFeIg6adM,8988
24
- dbt_platform_helper/domain/maintenance_page.py,sha256=JN1ksJ9viZ8SjPkO48y_GqrqTgR5B3T1aiye0XlUp4I,15740
24
+ dbt_platform_helper/domain/maintenance_page.py,sha256=LN-1qnU9oprYvLbV_pHOWOG_QsIluGpYPIfU1E4La-A,15742
25
25
  dbt_platform_helper/jinja2_tags.py,sha256=jFyN_Sxmko1GSfvrqRIGQ80CCW8EwlCV3su0ahJPfoE,541
26
26
  dbt_platform_helper/platform_exception.py,sha256=bheZV9lqGvrCVTNT92349dVntNDEDWTEwciZgC83WzE,187
27
27
  dbt_platform_helper/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  dbt_platform_helper/providers/aws.py,sha256=KHgySe6cwEw1wePjw6DL7uSyZRk3DN_Aqqi8KnRoB3M,1208
29
+ dbt_platform_helper/providers/cache.py,sha256=XZpzOykanVdFGi0aiVGPgonKMHTT7U7OsZbbkqHoCu8,2936
29
30
  dbt_platform_helper/providers/cloudformation.py,sha256=YmeofMMxh9hzhU4Osa1vR41s18jNXzsZdEfpQUk1Lc4,4976
30
31
  dbt_platform_helper/providers/copilot.py,sha256=2BkQXn17GC1oGfCSCXXapTqT5OEhpEBeNkQ33g-U6wU,5245
31
32
  dbt_platform_helper/providers/ecs.py,sha256=XlQHYhZiLGrqR-1ZWMagGH2R2Hy7mCP6676eZL3YbNQ,3842
32
33
  dbt_platform_helper/providers/load_balancers.py,sha256=0tPkuQ_jWfan44HrBA5EMLqrZaYQl-Lw5PavZ1a1iag,1615
34
+ dbt_platform_helper/providers/platform_config_schema.py,sha256=38CV-j4TCTLUG3gZaZWeW5ArUUC_7ZiQJwPl_Goqk7I,19597
33
35
  dbt_platform_helper/providers/secrets.py,sha256=6cYIR15dLdHmqxtWQpM6R71e0_Xgsg9V291HBG-0LV0,5272
34
36
  dbt_platform_helper/providers/validation.py,sha256=d_YzJZVjGNO65pXcPIcFc9I-FRCESeEC7GvUzP8n-As,596
35
37
  dbt_platform_helper/templates/.copilot/config.yml,sha256=J_bA9sCtBdCPBRImpCBRnYvhQd4vpLYIXIU-lq9vbkA,158
@@ -63,9 +65,6 @@ dbt_platform_helper/templates/pipelines/codebase/overrides/package.json,sha256=X
63
65
  dbt_platform_helper/templates/pipelines/codebase/overrides/stack.ts,sha256=v9m6EziRgFnrhF7inbr1KtuOh75FeC054vaWMoAi-qg,21500
64
66
  dbt_platform_helper/templates/pipelines/codebase/overrides/tsconfig.json,sha256=k6KabP-WwhFNgA1AFHNuonTEAnES6eR74jUuYUJEGOM,651
65
67
  dbt_platform_helper/templates/pipelines/codebase/overrides/types.ts,sha256=8cp5xl_CIMH5TPvwlw9UBPKwfntcsu-lTAjbL5uylgw,1257
66
- dbt_platform_helper/templates/pipelines/environments/buildspec.yml,sha256=hTCUhSfrnTUMOpUo8EjQmvit2aX7J0cKNeqV2DChaA0,3365
67
- dbt_platform_helper/templates/pipelines/environments/manifest.yml,sha256=0-6uGxjm8Qz1l8EozNHB5JY7UFzWZicHK_AvtFMPfTo,1664
68
- dbt_platform_helper/templates/pipelines/environments/overrides/cfn.patches.yml,sha256=VLjm3Dz4clUz44B5RSQy7mu1sRzm7Yf2S_TSnor_b_k,638
69
68
  dbt_platform_helper/templates/svc/maintenance_pages/default.html,sha256=OTZ-qwwSXu7PFbsgp4kppdm1lsg_iHK7FCFqhPnvrEs,741
70
69
  dbt_platform_helper/templates/svc/maintenance_pages/dmas-migration.html,sha256=qvI6tHuI0UQbMBCuvPgK1a_zLANB6w7KVo9N5d8r-i0,829
71
70
  dbt_platform_helper/templates/svc/maintenance_pages/migration.html,sha256=GiQsOiuaMFb7jG5_wU3V7BMcByHBl9fOBgrNf8quYlw,783
@@ -75,20 +74,20 @@ dbt_platform_helper/templates/svc/overrides/cfn.patches.yml,sha256=W7-d017akuUq9
75
74
  dbt_platform_helper/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
75
  dbt_platform_helper/utils/application.py,sha256=ugY3nbUHRNFvJgaD4446EdSvIyILEN6ouuuk7eoyXe8,4538
77
76
  dbt_platform_helper/utils/arn_parser.py,sha256=BaXzIxSOLdFmP_IfAxRq-0j-0Re1iCN7L4j2Zi5-CRQ,1304
78
- dbt_platform_helper/utils/aws.py,sha256=sO5EHTbjzOYc0aPmpRupbcACwIBCHz8YUZfqz0vXydI,19771
77
+ dbt_platform_helper/utils/aws.py,sha256=y7oNjsfTfaduhIZHK9_NDOdhU49OvrKFIvkh8QyUYlc,19724
79
78
  dbt_platform_helper/utils/click.py,sha256=Fx4y4bbve1zypvog_sgK7tJtCocmzheoEFLBRv1lfdM,2943
80
79
  dbt_platform_helper/utils/cloudfoundry.py,sha256=GnQ4fVLnDfOdNSrsJjI6ElZHqpgwINeoPn77cUH2UFY,484
81
- dbt_platform_helper/utils/files.py,sha256=pa5uwwrEFIAgXZUyH2KEr2Yiu6bKuV4EMlhn9BcUMsY,5296
80
+ dbt_platform_helper/utils/files.py,sha256=wKDPLZSC3tIZrto-0xGYPmemN8Fsn4spdUsNtYQVVcY,3084
82
81
  dbt_platform_helper/utils/git.py,sha256=7JGZMaI8-cU6-GjXIXjOlsYfKu_RppLOGyAicBd4n_8,704
83
82
  dbt_platform_helper/utils/manifests.py,sha256=ji3UYHCxq9tTpkm4MlRa2y0-JOYYqq1pWZ2h_zpj0UU,507
84
83
  dbt_platform_helper/utils/messages.py,sha256=aLx6s9utt__IqlDdeIYq4n82ERwludu2Zfqy0Q2t-x8,115
85
84
  dbt_platform_helper/utils/platform_config.py,sha256=2RfIxBAT5fv7WR4YuP3yomUK7sKZFL77xevuHnUALdg,676
86
85
  dbt_platform_helper/utils/template.py,sha256=raRx4QUCVJtKfvJK08Egg6gwWcs3r3V4nPWcJW4xNhA,574
87
- dbt_platform_helper/utils/validation.py,sha256=ANGIA3k2_ATyZsPs7iqnXMNVjZC6o-rIbONxO9QZ8JU,30701
86
+ dbt_platform_helper/utils/validation.py,sha256=wvkU1H6b-m8rbPnMif8pbVPpOXGyg2ak1MNWtxn-OUY,13390
88
87
  dbt_platform_helper/utils/versioning.py,sha256=rLCofLHPXoyc3v9ArDKcjW902p-UX6GCn8n7cjg5I-U,10918
89
88
  platform_helper.py,sha256=bly3JkwbfwnWTZSZziu40dbgzQItsK-DIMMvL6ArFDY,1893
90
- dbt_platform_helper-12.4.0.dist-info/LICENSE,sha256=dP79lN73--7LMApnankTGLqDbImXg8iYFqWgnExGkGk,1090
91
- dbt_platform_helper-12.4.0.dist-info/METADATA,sha256=UuLXRBbntAkchMbR3jEaD2FCze0dH-3i54tIcpG49mo,3212
92
- dbt_platform_helper-12.4.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
93
- dbt_platform_helper-12.4.0.dist-info/entry_points.txt,sha256=QhbY8F434A-onsg0-FsdMd2U6HKh6Q7yCFFZrGUh5-M,67
94
- dbt_platform_helper-12.4.0.dist-info/RECORD,,
89
+ dbt_platform_helper-12.4.1.dist-info/LICENSE,sha256=dP79lN73--7LMApnankTGLqDbImXg8iYFqWgnExGkGk,1090
90
+ dbt_platform_helper-12.4.1.dist-info/METADATA,sha256=MPP-qrAofuCbLXhkXtXTsiy9vgfMZGPTZaVJiksBRkI,3212
91
+ dbt_platform_helper-12.4.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
92
+ dbt_platform_helper-12.4.1.dist-info/entry_points.txt,sha256=QhbY8F434A-onsg0-FsdMd2U6HKh6Q7yCFFZrGUh5-M,67
93
+ dbt_platform_helper-12.4.1.dist-info/RECORD,,
@@ -1,80 +0,0 @@
1
- # {% extra_header %}
2
- # {% version_info %}
3
- # Buildspec runs in the build stage of your environment pipeline to generate the environment CloudFormation stack config.
4
- version: 0.2
5
- env:
6
- variables:
7
- DYFF_VERSION: 1.5.8
8
- phases:
9
- install:
10
- commands:
11
- - cd $CODEBUILD_SRC_DIR
12
- - |
13
- if [ ! -f .copilot-version ]; then
14
- echo "Cannot find .copilot-version file"
15
- exit 1
16
- fi
17
- - COPILOT_VERSION=$(cat .copilot-version)
18
- # Install pyyaml and dbt-platform-helper
19
- - pip install PyYAML dbt-platform-helper
20
- # Reinstall if we require a different version to the latest
21
- - CURRENT_PLATFORM_HELPER_VERSION=$(platform-helper --version)
22
- - export PLATFORM_HELPER_VERSION=$(platform-helper version get-platform-helper-for-project)
23
- - |
24
- if [ ! "${PLATFORM_HELPER_VERSION}" == "${CURRENT_PLATFORM_HELPER_VERSION}" ]
25
- then
26
- pip uninstall dbt-platform-helper
27
- pip install dbt-platform-helper==$PLATFORM_HELPER_VERSION
28
- fi
29
- - mkdir ./build-tools
30
- - cd ./build-tools
31
- # Install copilot
32
- - wget -q "https://ecs-cli-v2-release.s3.amazonaws.com/copilot-linux-v${COPILOT_VERSION}"
33
- - mv "./copilot-linux-v${COPILOT_VERSION}" ./copilot
34
- - chmod +x ./copilot
35
- # Install dyff - yaml differ
36
- - wget -q "https://github.com/homeport/dyff/releases/download/v${DYFF_VERSION}/dyff_${DYFF_VERSION}_linux_amd64.tar.gz"
37
- - tar -zxvf "dyff_${DYFF_VERSION}_linux_amd64.tar.gz"
38
- - chmod +x ./dyff
39
- build:
40
- commands:
41
- - cd $CODEBUILD_SRC_DIR
42
- - cp -r copilot/ current-copilot/
43
- - platform-helper copilot make-addons
44
- - >
45
- for FILE in $(ls copilot/**/addons/*.yml); do
46
- ./build-tools/dyff between --omit-header $FILE current-$FILE >> ./build-tools/file-differences
47
- done;
48
- - |
49
- if [[ "$(cat ./build-tools/file-differences)" = *[![:space:]]* ]]; then
50
- echo 'Changes are introduced with version ${PLATFORM_HELPER_VERSION} of platform-helper:'
51
- echo
52
- for FILE in $(ls copilot/**/addons/*.yml); do
53
- echo "Changes in $FILE:"
54
- ./build-tools/dyff between --omit-header $FILE current-$FILE
55
- done;
56
- echo
57
- echo 'Ensure you are running version ${PLATFORM_HELPER_VERSION} with pip install dbt-platform-helper==${PLATFORM_HELPER_VERSION}'
58
- echo 'And run platform-helper copilot make-addons to regenerate your addons templates'
59
- exit 1
60
- fi
61
- post_build:
62
- commands:
63
- - git checkout -- .
64
- - export COLOR="false"
65
- - export CI="true"
66
- - pipeline=$(cat $CODEBUILD_SRC_DIR/copilot/pipelines/environments/manifest.yml | python -c 'import sys, json, yaml; print(json.dumps(yaml.safe_load(sys.stdin.read())))')
67
- - stages=$(echo $pipeline | jq -r '.stages[].name')
68
- # Generate the cloudformation templates.
69
- - >
70
- for env in $stages; do
71
- ./build-tools/copilot env package -n $env --output-dir './infrastructure' --upload-assets --force;
72
- if [ $? -ne 0 ]; then
73
- echo "Cloudformation stack and config files were not generated. Please check build logs to see if there was a manifest validation error." 1>&2;
74
- exit 1;
75
- fi
76
- done;
77
- - ls -lah ./infrastructure
78
- artifacts:
79
- files:
80
- - "infrastructure/*"
@@ -1,48 +0,0 @@
1
- # {% extra_header %}
2
- # {% version_info %}
3
- # This YAML file defines your pipeline: the source repository it tracks and the order of the environments to deploy to.
4
- # For more info: https://aws.github.io/copilot-cli/docs/manifest/pipeline/
5
-
6
- # The name of the pipeline.
7
- name: environments
8
-
9
- # The version of the schema used in this template.
10
- version: 1
11
-
12
- # This section defines your source, changes to which trigger your pipeline.
13
- source:
14
- # The name of the provider that is used to store the source artifacts.
15
- # (i.e. GitHub, Bitbucket, CodeCommit)
16
- provider: GitHub
17
- # Additional properties that further specify the location of the artifacts.
18
- properties:
19
- branch: main
20
- repository: https://github.com/{{ git_repo }}
21
- connection_name: {{ app_name }}
22
-
23
- build:
24
- additional_policy:
25
- PolicyDocument:
26
- Version: "2012-10-17"
27
- Statement:
28
- - Effect: Allow
29
- Action:
30
- - iam:ListAccountAliases
31
- Resource: '*'
32
-
33
- # This section defines the order of the environments your pipeline will deploy to.
34
- stages:
35
- {% for name, environment in pipeline_environments.items() -%}
36
- - # The name of the environment.
37
- name: {{ name }}
38
- deployments:
39
- deploy-env:
40
- template_path: infrastructure/{{ name }}.env.yml
41
- template_config: infrastructure/{{ name }}.env.params.json
42
- stack_name: {{ app_name }}-{{ name }}
43
- # Optional: flag for manual approval action before deployment.
44
- {% if not environment.requires_approval %}# {% endif %}requires_approval: true
45
- # Optional: use test commands to validate this stage of your build.
46
- # test_commands: [echo 'running tests', make test]
47
-
48
- {% endfor %}
@@ -1,21 +0,0 @@
1
- # {% extra_header %}
2
- # {% version_info %}
3
- # Give the source stage a more meaningful name
4
- - op: replace
5
- path: /Resources/Pipeline/Properties/Stages/0/Actions/0/Name
6
- value: DeployCodebase
7
-
8
- # Add git metadata to the source output artefact
9
- - op: add
10
- path: /Resources/Pipeline/Properties/Stages/0/Actions/0/Configuration/OutputArtifactFormat
11
- value: CODEBUILD_CLONE_REF
12
-
13
- # Add codestar permissions to codebuild role
14
- - op: add
15
- path: /Resources/BuildProjectPolicy/Properties/PolicyDocument/Statement/-
16
- value:
17
- Effect: Allow
18
- Action:
19
- - codestar-connections:UseConnection
20
- Resource:
21
- - {{ codestar_connection_arn }}