fix: smaller cidr for internal + quiet poetry for ci
continuous-integration/drone/push Build is passing Details

main
flavien 2023-06-17 23:10:34 +00:00
parent aed8d54660
commit d849c230bd
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ steps:
image: python:3.11-bullseye
commands:
- pip install -q "poetry==$POETRY_VERSION"
- poetry install --with check --no-interaction --no-ansi
- poetry install --with check -n -q
- poe check
when:
event:
@ -35,7 +35,7 @@ steps:
# image: python:3.11-bullseye
# commands:
# - pip install -q "poetry==$POETRY_VERSION"
# - poetry install --with test --no-interaction --no-ansi
# - poetry install --with test -n -q
# - poe test
# when:
# event:
@ -59,7 +59,7 @@ steps:
- git config --global user.name "${CI_USERNAME}"
- git fetch --tags
- pip install -q "poetry==$POETRY_VERSION"
- poetry install --only commit --no-interaction --no-ansi
- poetry install --only commit -n -q
- cz check --message "$${DRONE_COMMIT_MESSAGE}"
- cz bump --yes
- git push origin ${DRONE_BRANCH}

View File

@ -31,7 +31,7 @@ SECRET_KEY = (
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv("ENV") != "production"
ALLOWED_CIDR_NETS = [] if os.getenv("ENV") != "production" else ["10.0.0.0/16"]
ALLOWED_CIDR_NETS = [] if os.getenv("ENV") != "production" else ["10.0.7.0/24"]
ALLOWED_HOSTS: List[str] = (
[] if os.getenv("ENV") != "production" else ["unicorn.coincoincloud.fr"]
)