Skip to content

Commit 5ad937d

Browse files
committed
Initial Commit
1 parent afe1788 commit 5ad937d

Some content is hidden

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

57 files changed

+553
-3492
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@
55

66
// See https://containers.dev/implementors/features/
77
"features": {
8-
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
8+
"ghcr.io/devcontainers/features/docker-in-docker:latest": {},
99
"ghcr.io/azure/azure-dev/azd:latest": {},
1010
"ghcr.io/devcontainers/features/azure-cli:latest": {},
11-
"ghcr.io/devcontainers/features/github-cli:latest": {}
11+
"ghcr.io/devcontainers/features/github-cli:latest": {},
12+
"ghcr.io/devcontainers/features/kubectl-helm-minikube:latest": {
13+
"version": "latest",
14+
"helm": "latest",
15+
"minikube": "none"
16+
}
1217
},
1318

1419
// Configure tool-specific properties.

.gitignore

Lines changed: 158 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,163 @@
11

22
.azure
3-
3+
src_env/
4+
# Byte-compiled / optimized / DLL files
45
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
9+
# C extensions
10+
*.so
11+
12+
# Distribution / packaging
13+
.Python
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
wheels/
26+
share/python-wheels/
27+
*.egg-info/
28+
.installed.cfg
29+
*.egg
30+
MANIFEST
31+
32+
# PyInstaller
33+
# Usually these files are written by a python script from a template
34+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
35+
*.manifest
36+
*.spec
537

38+
# Installer logs
39+
pip-log.txt
40+
pip-delete-this-directory.txt
41+
42+
# Unit test / coverage reports
43+
htmlcov/
44+
.tox/
45+
.nox/
646
.coverage
47+
.coverage.*
48+
.cache
49+
nosetests.xml
50+
coverage.xml
51+
*.cover
52+
*.py,cover
53+
.hypothesis/
54+
.pytest_cache/
55+
cover/
56+
57+
# Translations
58+
*.mo
59+
*.pot
60+
61+
# Django stuff:
62+
*.log
63+
local_settings.py
64+
db.sqlite3
65+
db.sqlite3-journal
66+
67+
# Flask stuff:
68+
instance/
69+
.webassets-cache
70+
71+
# Scrapy stuff:
72+
.scrapy
73+
74+
# Sphinx documentation
75+
docs/_build/
76+
77+
# PyBuilder
78+
.pybuilder/
79+
target/
80+
81+
# Jupyter Notebook
82+
.ipynb_checkpoints
83+
84+
# IPython
85+
profile_default/
86+
ipython_config.py
87+
88+
# pyenv
89+
# For a library or package, you might want to ignore these files since the code is
90+
# intended to run in multiple environments; otherwise, check them in:
91+
# .python-version
92+
93+
# pipenv
94+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
95+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
96+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
97+
# install all needed dependencies.
98+
#Pipfile.lock
99+
100+
# poetry
101+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
102+
# This is especially recommended for binary packages to ensure reproducibility, and is more
103+
# commonly ignored for libraries.
104+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
105+
#poetry.lock
106+
107+
# pdm
108+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
109+
#pdm.lock
110+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
111+
# in version control.
112+
# https://pdm.fming.dev/#use-with-ide
113+
.pdm.toml
114+
115+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
116+
__pypackages__/
117+
118+
# Celery stuff
119+
celerybeat-schedule
120+
celerybeat.pid
121+
122+
# SageMath parsed files
123+
*.sage.py
124+
125+
# Environments
126+
.env
127+
.venv
128+
env/
129+
venv/
130+
ENV/
131+
env.bak/
132+
venv.bak/
133+
134+
# Spyder project settings
135+
.spyderproject
136+
.spyproject
137+
138+
# Rope project settings
139+
.ropeproject
140+
141+
# mkdocs documentation
142+
/site
143+
144+
# mypy
145+
.mypy_cache/
146+
.dmypy.json
147+
dmypy.json
148+
149+
# Pyre type checker
150+
.pyre/
151+
152+
# pytype static type analyzer
153+
.pytype/
154+
155+
# Cython debug symbols
156+
cython_debug/
157+
158+
# PyCharm
159+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
161+
# and can be added to the global gitignore or merged into this file. For a more nuclear
162+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
163+
#.idea/

.pre-commit-config.yaml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.3.0
4-
hooks:
5-
- id: check-yaml
6-
- id: end-of-file-fixer
7-
- id: trailing-whitespace
8-
- repo: https://github.com/charliermarsh/ruff-pre-commit
9-
rev: v0.0.237
10-
hooks:
11-
- id: ruff
12-
args: ['--config=./src/pyproject.toml']
13-
- repo: https://github.com/psf/black
14-
rev: 22.12.0
15-
hooks:
16-
- id: black
17-
args: ['--config=./src/pyproject.toml']
182
- repo: local
193
hooks:
204
- id: trufflehog
215
name: TruffleHog
226
description: Detect secrets in your data.
23-
entry: bash -c 'docker run -v "$(pwd):/workdir" -it --rm us-docker.pkg.dev/thog-artifacts/public/scanner:latest git main HEAD /workdir'
7+
entry: bash -c 'docker run -v "$(pwd):/workdir" -t --rm us-docker.pkg.dev/thog-artifacts/public/scanner:latest git main HEAD /workdir'
248
language: system
259
stages: ["commit", "push"]

azure.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ services:
1212
api:
1313
project: ./src
1414
language: py
15+
k8s:
16+
deploymentPath: api/manifests
17+
namespace: bigbang
1518
host: aks
1619
hooks:
1720
postdeploy:
1821
shell: sh
1922
interactive: true
20-
run: python3 src/hooks/postdeploy.py
23+
run: python3 hooks/postdeploy.py

infra/api.bicep

Lines changed: 0 additions & 33 deletions
This file was deleted.

infra/core/ai/cognitiveservices.bicep

Lines changed: 0 additions & 38 deletions
This file was deleted.

infra/core/database/cosmos/cosmos-account.bicep

Lines changed: 0 additions & 48 deletions
This file was deleted.

infra/core/database/cosmos/mongo/cosmos-mongo-account.bicep

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)