@aws-mdaa/devops 1.5.0 → 1.6.0
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.
- package/SCHEMA.md +1316 -1391
- package/package.json +15 -17
- package/sample_configs/sample-config-comprehensive.yaml +110 -0
- package/sample_configs/sample-config-minimal.yaml +20 -0
- package/mdaa.config.json +0 -3
package/package.json
CHANGED
|
@@ -8,40 +8,35 @@
|
|
|
8
8
|
"bin": {
|
|
9
9
|
"devops-cdk": "bin/devops.js"
|
|
10
10
|
},
|
|
11
|
-
"version": "1.
|
|
11
|
+
"version": "1.6.0",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "
|
|
14
|
+
"build": "../../../../scripts/build/build_package.sh DevOpsConfigContents",
|
|
15
15
|
"watch": "tsc -w",
|
|
16
|
-
"test": "jest --passWithNoTests --
|
|
16
|
+
"test": "jest --passWithNoTests --coverage",
|
|
17
17
|
"cdk": "cdk",
|
|
18
18
|
"lint": "eslint --max-warnings 0 -c ../../../../eslint.config.mjs",
|
|
19
|
-
"test:
|
|
20
|
-
"test:snapshots": "jest --passWithNoTests --testPathPattern='.*\\.snapshot\\.test\\.ts'",
|
|
21
|
-
"test:snapshots:update": "jest --passWithNoTests --testPathPattern='.*\\.snapshot\\.test\\.ts' --updateSnapshot"
|
|
19
|
+
"test:package-docs": "../../../../scripts/generate_docs/test_package_docs.sh"
|
|
22
20
|
},
|
|
23
21
|
"main": "lib/index.js",
|
|
24
22
|
"types": "lib/index.d.ts",
|
|
25
23
|
"devDependencies": {
|
|
26
|
-
"@aws-mdaa/testing": "1.5.0",
|
|
27
24
|
"@types/jest": "29.5.14",
|
|
28
25
|
"@types/node": "22.9.0",
|
|
29
26
|
"@types/prettier": "2.6.0",
|
|
30
27
|
"jest": "29.7.0",
|
|
31
|
-
"ts-jest": "29.4.
|
|
28
|
+
"ts-jest": "29.4.9",
|
|
32
29
|
"ts-node": "10.9.2",
|
|
33
30
|
"typescript": "5.9.3",
|
|
34
|
-
"typescript-json-schema": "0.67.
|
|
31
|
+
"typescript-json-schema": "0.67.4"
|
|
35
32
|
},
|
|
36
33
|
"dependencies": {
|
|
37
|
-
"@aws-mdaa/app": "1.
|
|
38
|
-
"@aws-mdaa/
|
|
39
|
-
"@aws-mdaa/
|
|
40
|
-
"@aws-mdaa/
|
|
41
|
-
"@aws-mdaa/
|
|
42
|
-
"
|
|
43
|
-
"@aws-mdaa/s3-constructs": "1.5.0",
|
|
44
|
-
"ajv": "8.17.1",
|
|
34
|
+
"@aws-mdaa/app": "1.6.0",
|
|
35
|
+
"@aws-mdaa/iam-constructs": "1.6.0",
|
|
36
|
+
"@aws-mdaa/kms-constructs": "1.6.0",
|
|
37
|
+
"@aws-mdaa/l3-construct": "1.6.0",
|
|
38
|
+
"@aws-mdaa/s3-constructs": "1.6.0",
|
|
39
|
+
"ajv": "8.18.0",
|
|
45
40
|
"aws-cdk-lib": "2.220.0",
|
|
46
41
|
"cdk-nag": "2.37.55",
|
|
47
42
|
"constructs": "10.0.96",
|
|
@@ -52,5 +47,8 @@
|
|
|
52
47
|
"repository": {
|
|
53
48
|
"type": "git",
|
|
54
49
|
"url": "https://github.com/aws/modern-data-architecture-accelerator"
|
|
50
|
+
},
|
|
51
|
+
"mdaa": {
|
|
52
|
+
"deployStage": "0"
|
|
55
53
|
}
|
|
56
54
|
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# (Required) The CodeCommit repo containing these configs
|
|
2
|
+
# Pipelines will be triggered on updates to this repo
|
|
3
|
+
configsCodeCommitRepo: test-config-repo
|
|
4
|
+
# (Optional) The branch within the configs repo to be deployed
|
|
5
|
+
configsBranch: test-branch
|
|
6
|
+
# (Required) The CodeCommit repo containing the MDAA source code
|
|
7
|
+
# Pipelines will be triggered on updates to this repo
|
|
8
|
+
mdaaCodeCommitRepo: test-mdaa-repo
|
|
9
|
+
# (Optional) The branch within the MDAA repo to be deployed
|
|
10
|
+
mdaaBranch: test-mdaa-branch
|
|
11
|
+
# (Optional) CDK bootstrap context qualifier for identifying CDK bootstrap
|
|
12
|
+
# resources (deployment roles, asset buckets) in the target environment
|
|
13
|
+
cdkBootstrapContext: my-cdk-qualifier
|
|
14
|
+
# (Optional) Install commands to be run on all stages of all pipelines
|
|
15
|
+
install:
|
|
16
|
+
- echo testing
|
|
17
|
+
# (Optional) Pre commands to be run on all stages of all pipelines
|
|
18
|
+
pre:
|
|
19
|
+
- echo testing
|
|
20
|
+
# (Optional) Post commands to be run on all stages of all pipelines
|
|
21
|
+
post:
|
|
22
|
+
- echo testing
|
|
23
|
+
# (Optional) Commands to be run on PreDeploy stage of all pipelines
|
|
24
|
+
preDeploy:
|
|
25
|
+
# Install dependencies for pre-deploy stage
|
|
26
|
+
install:
|
|
27
|
+
- echo testing
|
|
28
|
+
# Pre-execution commands for pre-deploy stage
|
|
29
|
+
pre:
|
|
30
|
+
- echo testing
|
|
31
|
+
# Post-execution commands for pre-deploy stage
|
|
32
|
+
post:
|
|
33
|
+
- echo testing
|
|
34
|
+
# (Optional) Commands to be run on PreDeployValidate stage of all pipelines
|
|
35
|
+
preDeployValidate:
|
|
36
|
+
# Install testing tools for pre-deploy validation
|
|
37
|
+
install:
|
|
38
|
+
- echo testing
|
|
39
|
+
# Validation commands for pre-deploy quality gate
|
|
40
|
+
commands:
|
|
41
|
+
- echo testing
|
|
42
|
+
# (Optional) Commands to be run on Deploy stage of all pipelines
|
|
43
|
+
deploy:
|
|
44
|
+
# Install dependencies for deploy stage
|
|
45
|
+
install:
|
|
46
|
+
- echo testing
|
|
47
|
+
# Pre-execution commands for deploy stage
|
|
48
|
+
pre:
|
|
49
|
+
- echo testing
|
|
50
|
+
# Post-execution commands for deploy stage
|
|
51
|
+
post:
|
|
52
|
+
- echo testing
|
|
53
|
+
# (Optional) Commands to be run on PostDeployValidate stage of all pipelines
|
|
54
|
+
postDeployValidate:
|
|
55
|
+
# Install testing tools for post-deploy validation
|
|
56
|
+
install:
|
|
57
|
+
- echo testing
|
|
58
|
+
# Validation commands for post-deploy quality gate
|
|
59
|
+
commands:
|
|
60
|
+
- echo testing
|
|
61
|
+
# Pipelines to be deployed
|
|
62
|
+
pipelines:
|
|
63
|
+
# Pipeline Name
|
|
64
|
+
domain-test1:
|
|
65
|
+
# Domains which will be deployed via this pipeline
|
|
66
|
+
domainFilter:
|
|
67
|
+
- testdomain1
|
|
68
|
+
# Envs which will be deployed via this pipeline
|
|
69
|
+
envFilter:
|
|
70
|
+
- testenv
|
|
71
|
+
# Modules which will be deployed via this pipeline
|
|
72
|
+
moduleFilter:
|
|
73
|
+
- testmodule1
|
|
74
|
+
# (Optional) Install commands for all stages of this pipeline
|
|
75
|
+
install:
|
|
76
|
+
- echo testing
|
|
77
|
+
# (Optional) Pre commands for all stages of this pipeline
|
|
78
|
+
pre:
|
|
79
|
+
- echo testing
|
|
80
|
+
# (Optional) Post commands for all stages of this pipeline
|
|
81
|
+
post:
|
|
82
|
+
- echo testing
|
|
83
|
+
# (Optional) Pipeline-level PreDeploy stage commands
|
|
84
|
+
preDeploy:
|
|
85
|
+
install:
|
|
86
|
+
- echo testing
|
|
87
|
+
pre:
|
|
88
|
+
- echo testing
|
|
89
|
+
post:
|
|
90
|
+
- echo testing
|
|
91
|
+
# (Optional) Pipeline-level PreDeployValidate stage commands
|
|
92
|
+
preDeployValidate:
|
|
93
|
+
install:
|
|
94
|
+
- echo testing
|
|
95
|
+
commands:
|
|
96
|
+
- echo testing
|
|
97
|
+
# (Optional) Pipeline-level Deploy stage commands
|
|
98
|
+
deploy:
|
|
99
|
+
install:
|
|
100
|
+
- echo testing
|
|
101
|
+
pre:
|
|
102
|
+
- echo testing
|
|
103
|
+
post:
|
|
104
|
+
- echo testing
|
|
105
|
+
# (Optional) Pipeline-level PostDeployValidate stage commands
|
|
106
|
+
postDeployValidate:
|
|
107
|
+
install:
|
|
108
|
+
- echo testing
|
|
109
|
+
commands:
|
|
110
|
+
- echo testing
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Minimal DevOps module configuration.
|
|
2
|
+
# Deploys a single CI/CD pipeline for a domain with CodeCommit
|
|
3
|
+
# integration.
|
|
4
|
+
|
|
5
|
+
# The CodeCommit repo containing these configs
|
|
6
|
+
configsCodeCommitRepo: test-config-repo
|
|
7
|
+
# The CodeCommit repo containing the MDAA source code
|
|
8
|
+
mdaaCodeCommitRepo: test-mdaa-repo
|
|
9
|
+
# Pipelines to be deployed
|
|
10
|
+
pipelines:
|
|
11
|
+
my-pipeline:
|
|
12
|
+
# Domains deployed via this pipeline
|
|
13
|
+
domainFilter:
|
|
14
|
+
- my-domain
|
|
15
|
+
# Envs deployed via this pipeline
|
|
16
|
+
envFilter:
|
|
17
|
+
- dev
|
|
18
|
+
# Modules deployed via this pipeline
|
|
19
|
+
moduleFilter:
|
|
20
|
+
- my-module
|
package/mdaa.config.json
DELETED