fix: smaller cidr for internal + quiet poetry for ci
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
aed8d54660
commit
d849c230bd
|
@ -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}
|
||||
|
|
|
@ -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"]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue