Skip to content

Commit d3af95b

Browse files
committed
Version 1.0.0
0 parents  commit d3af95b

File tree

1,896 files changed

+304896
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,896 files changed

+304896
-0
lines changed

.bandit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[bandit]
2+
exclude = packages/constructs/L2/eks-constructs/lib/kubectl-handler/cmd/__init__.py,packages/constructs/L2/sagemaker-constructs/src/lambda/lifecycle/lifecycle.py,packages/constructs/L3/ai/gaia-l3-construct/lib/sagemaker-model/hf-custom-script-model/build-script/script.py
3+
# tests = B201,B301
4+
# skips = B101,B601

.eslintrc.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"env": {
3+
"es2021": true,
4+
"node": true
5+
},
6+
"root": true,
7+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
8+
"parser": "@typescript-eslint/parser",
9+
"parserOptions": {
10+
"ecmaVersion": 12,
11+
"sourceType": "module"
12+
},
13+
"plugins": ["@typescript-eslint"],
14+
"rules": {
15+
"dot-notation": "off",
16+
"no-case-declarations": "off",
17+
"@typescript-eslint/no-non-null-assertion": "off",
18+
"@typescript-eslint/camelcase": "off",
19+
"@typescript-eslint/no-var-requires": 0,
20+
"@typescript-eslint/ban-ts-comment": "off"
21+
},
22+
"globals": {
23+
"require": true
24+
}
25+
}

.github/workflows/docs.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# GitHub Actions workflow for generating and publishing project documentation to GitHub Pages.
2+
# Triggered on release publication, this workflow:
3+
# - Generates JSON schema documentation
4+
# - Creates TypeDoc API documentation
5+
# - Builds MkDocs site with Material theme
6+
# - Deploys consolidated documentation to GitHub Pages
7+
# Documentation is versioned using mike and accessible via GitHub Pages.
8+
9+
name: Publish Documentation
10+
on:
11+
release:
12+
types: [published]
13+
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
19+
# Allow only one concurrent deployment
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: true
23+
24+
jobs:
25+
build:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Setup Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.12'
35+
36+
- name: Setup Node.js
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: '22'
40+
cache: 'npm'
41+
42+
- name: Install dependencies
43+
run: |
44+
pip install \
45+
mkdocs-material \
46+
mike \
47+
mdx_truly_sane_lists \
48+
mkdocs-awesome-pages-plugin \
49+
pymdown-extensions \
50+
json-schema-for-humans
51+
npm ci
52+
npm install -g typedoc
53+
54+
- name: Configure Git
55+
run: |
56+
git config --global user.name "GitHub Actions"
57+
git config --global user.email "[email protected]"
58+
59+
- name: Build MDAA
60+
run: |
61+
lerna run build
62+
63+
- name: Generate documentation
64+
run: |
65+
chmod +x ./scripts/generate_docs.sh
66+
./scripts/generate_docs.sh gh-pages github
67+
68+
- name: Setup Pages
69+
uses: actions/configure-pages@v5
70+
71+
- name: Upload artifact
72+
uses: actions/upload-pages-artifact@v3
73+
with:
74+
path: './target/docs_site'
75+
76+
deploy:
77+
environment:
78+
name: github-pages
79+
url: ${{ steps.deployment.outputs.page_url }}
80+
runs-on: ubuntu-latest
81+
needs: build
82+
steps:
83+
- name: Deploy to GitHub Pages
84+
id: deployment
85+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
terraform.tfstate
2+
tempfile
3+
codescan*
4+
.viperlightrc
5+
.DS_Store
6+
*.js
7+
!jest.config.js
8+
*.d.ts
9+
*.d.ts.map
10+
node_modules
11+
.history
12+
.vscode
13+
.idea
14+
# CDK asset staging directory
15+
.cdk.staging
16+
cdk.out
17+
**/lerna.json
18+
.*.ts.map
19+
lerna-debug.log
20+
target
21+
tsdocs
22+
dist
23+
jsii-dist
24+
.jsii
25+
tsconfig.tsbuildinfo
26+
npm
27+
.scannerwork
28+
coverage
29+
.mdaa_working
30+
cdk.context.json
31+
__pycache__
32+
.nx
33+
test-template.json
34+
.idea
35+
.terraform*
36+
**/*.drawio.bkp
37+
*.zip
38+
# **/python/*
39+
!**/python/.gitkeep
40+
!deployment/cdk-solution-helper/index.js
41+
deployment/cdk-solution-helper/package-lock.json
42+
deployment/global-s3-assets*
43+
deployment/regional-s3-assets*

0 commit comments

Comments
 (0)