cdk-factory 0.9.0__py3-none-any.whl → 0.9.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.
- cdk_factory/app.py +6 -7
- cdk_factory/version.py +1 -1
- {cdk_factory-0.9.0.dist-info → cdk_factory-0.9.1.dist-info}/METADATA +1 -1
- {cdk_factory-0.9.0.dist-info → cdk_factory-0.9.1.dist-info}/RECORD +7 -7
- {cdk_factory-0.9.0.dist-info → cdk_factory-0.9.1.dist-info}/WHEEL +0 -0
- {cdk_factory-0.9.0.dist-info → cdk_factory-0.9.1.dist-info}/entry_points.txt +0 -0
- {cdk_factory-0.9.0.dist-info → cdk_factory-0.9.1.dist-info}/licenses/LICENSE +0 -0
cdk_factory/app.py
CHANGED
|
@@ -37,9 +37,6 @@ class CdkAppFactory:
|
|
|
37
37
|
|
|
38
38
|
# Auto-detect outdir for CodeBuild compatibility
|
|
39
39
|
if outdir is None and self.args.outdir is None and auto_detect_project_root:
|
|
40
|
-
# Always detect project root first
|
|
41
|
-
project_root = self._detect_project_root()
|
|
42
|
-
|
|
43
40
|
# Check if we're in CodeBuild or building a pipeline
|
|
44
41
|
in_codebuild = bool(os.getenv('CODEBUILD_SRC_DIR'))
|
|
45
42
|
|
|
@@ -47,8 +44,9 @@ class CdkAppFactory:
|
|
|
47
44
|
is_pipeline_deployment = is_pipeline or self._check_if_pipeline_deployment(config_path)
|
|
48
45
|
|
|
49
46
|
if in_codebuild or is_pipeline_deployment:
|
|
50
|
-
# For pipelines
|
|
51
|
-
# This ensures cdk.out is
|
|
47
|
+
# For pipelines/CodeBuild: calculate relative path to project_root/cdk.out
|
|
48
|
+
# This ensures cdk.out is at project root and works in CodeBuild
|
|
49
|
+
project_root = self._detect_project_root()
|
|
52
50
|
runtime_path = Path(self.runtime_directory).resolve()
|
|
53
51
|
project_path = Path(project_root).resolve()
|
|
54
52
|
cdk_out_path = project_path / 'cdk.out'
|
|
@@ -65,8 +63,9 @@ class CdkAppFactory:
|
|
|
65
63
|
# If paths are on different drives (Windows), fallback to absolute
|
|
66
64
|
self.outdir = str(cdk_out_path)
|
|
67
65
|
else:
|
|
68
|
-
# For local dev
|
|
69
|
-
|
|
66
|
+
# For local dev: use CDK default (./cdk.out in current directory)
|
|
67
|
+
# This allows CDK CLI to find it when running from any directory
|
|
68
|
+
self.outdir = None
|
|
70
69
|
else:
|
|
71
70
|
self.outdir = outdir or self.args.outdir
|
|
72
71
|
|
cdk_factory/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.9.
|
|
1
|
+
__version__ = "0.9.1"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
cdk_factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
cdk_factory/app.py,sha256=
|
|
2
|
+
cdk_factory/app.py,sha256=OXySeuN9YYwZmNkc9oKIAnwZSw8Vpta5MIWfwhMkmPY,8444
|
|
3
3
|
cdk_factory/cdk.json,sha256=SKZKhJ2PBpFH78j-F8S3VDYW-lf76--Q2I3ON-ZIQfw,3106
|
|
4
4
|
cdk_factory/cli.py,sha256=FGbCTS5dYCNsfp-etshzvFlGDCjC28r6rtzYbe7KoHI,6407
|
|
5
|
-
cdk_factory/version.py,sha256=
|
|
5
|
+
cdk_factory/version.py,sha256=UwJXM8JY2T3tE2id0K2k_lEaVThbRTrGO1mNibyzIz8,22
|
|
6
6
|
cdk_factory/builds/README.md,sha256=9BBWd7bXpyKdMU_g2UljhQwrC9i5O_Tvkb6oPvndoZk,90
|
|
7
7
|
cdk_factory/commands/command_loader.py,sha256=QbLquuP_AdxtlxlDy-2IWCQ6D-7qa58aphnDPtp_uTs,3744
|
|
8
8
|
cdk_factory/configurations/base_config.py,sha256=JKjhNsy0RCUZy1s8n5D_aXXI-upR9izaLtCTfKYiV9k,9624
|
|
@@ -119,8 +119,8 @@ cdk_factory/utilities/lambda_function_utilities.py,sha256=S1GvBsY_q2cyUiaud3HORJ
|
|
|
119
119
|
cdk_factory/utilities/os_execute.py,sha256=5Op0LY_8Y-pUm04y1k8MTpNrmQvcLmQHPQITEP7EuSU,1019
|
|
120
120
|
cdk_factory/utils/api_gateway_utilities.py,sha256=If7Xu5s_UxmuV-kL3JkXxPLBdSVUKoLtohm0IUFoiV8,4378
|
|
121
121
|
cdk_factory/workload/workload_factory.py,sha256=yBUDGIuB8-5p_mGcVFxsD2ZoZIziak3yh3LL3JvS0M4,5903
|
|
122
|
-
cdk_factory-0.9.
|
|
123
|
-
cdk_factory-0.9.
|
|
124
|
-
cdk_factory-0.9.
|
|
125
|
-
cdk_factory-0.9.
|
|
126
|
-
cdk_factory-0.9.
|
|
122
|
+
cdk_factory-0.9.1.dist-info/METADATA,sha256=ROeQUXNIHdxp8W7V8J-b-VjAafq9N0CHLNHSUmP9f0c,2450
|
|
123
|
+
cdk_factory-0.9.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
124
|
+
cdk_factory-0.9.1.dist-info/entry_points.txt,sha256=S1DPe0ORcdiwEALMN_WIo3UQrW_g4YdQCLEsc_b0Swg,53
|
|
125
|
+
cdk_factory-0.9.1.dist-info/licenses/LICENSE,sha256=NOtdOeLwg2il_XBJdXUPFPX8JlV4dqTdDGAd2-khxT8,1066
|
|
126
|
+
cdk_factory-0.9.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|