-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: move to fastapi and validation fixes * feat: pick secrets from default path * feat: update requirements file * feat: bump requests * feat: update tests and add code-cov * fix: update code cov * feat: add tests * fix: update code-cov * del: codecov gha
- Loading branch information
1 parent
f188299
commit 924c558
Showing
13 changed files
with
372 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,6 @@ nginx-confs/* | |
*keys.txt | ||
|
||
# Ignore the nginx conf for sarthi | ||
sarthi.conf | ||
sarthi.conf | ||
|
||
.coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pytest==7.4.4 | ||
pytest-mock==3.12.0 | ||
pre-commit==3.6.0 | ||
coverage==7.4.0 | ||
pytest~=7.4.4 | ||
pytest-mock~=3.12.0 | ||
pre-commit~=3.6.0 | ||
coverage~=7.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
pyyaml==6.0.1 | ||
flask==3.0.0 | ||
pyjwt==2.8.0 | ||
Flask-HTTPAuth==4.8.0 | ||
python-dotenv==1.0.0 | ||
requests==2.31.0 | ||
filelock==3.13.1 | ||
pyyaml~=6.0.1 | ||
pyjwt~=2.8.0 | ||
python-dotenv~=1.0.0 | ||
requests>=2.32.0 | ||
filelock~=3.13.1 | ||
fastapi~=0.111.0 | ||
uvicorn~=0.29.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Can't be used as branch names for now | ||
DEFAULT_SECRETS_PATH = "default-dev-secrets" | ||
COMPOSE_FILE = "docker-compose.yml" | ||
|
||
GET = "GET" | ||
POST = "POST" | ||
DELETE = "DELETE" | ||
PUT = "PUT" | ||
|
||
LOCAL = "LOCAL" | ||
PROD = "PROD" | ||
|
||
DOCKER_HOST_NETWORK_DOMAIN = "host.docker.internal" | ||
|
||
DEFAULT_DEPLOYMENT_PORT_START = 15000 | ||
DEFAULT_DEPLOYMENT_PORT_END = 25000 | ||
|
||
LOCALHOST = "localhost" | ||
|
||
SAMPLE_ENV_FILENAMES = [".env.sample", "env.sample", "sample.env"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.