include tests and activate pipeline
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
990b5c6099
commit
638901bac1
46
.drone.yml
46
.drone.yml
@ -6,7 +6,7 @@ steps:
|
|||||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
host: swarm-test.autonomic.zone
|
host: swarm-test.autonomic.zone
|
||||||
stack: example_com # UPDATE ME
|
stack: liberaforms
|
||||||
generate_secrets: true
|
generate_secrets: true
|
||||||
purge: true
|
purge: true
|
||||||
deploy_key:
|
deploy_key:
|
||||||
@ -14,9 +14,45 @@ steps:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
DOMAIN: example.swarm-test.autonomic.zone # UPDATE ME
|
- DOMAIN=liberaforms.swarm-test.autonomic.zone
|
||||||
STACK_NAME: example_com # UPDATE ME
|
- STACK_NAME=liberaforms
|
||||||
LETS_ENCRYPT_ENV: production
|
- LETS_ENCRYPT_ENV=production
|
||||||
|
- ENABLE_LDAP=False
|
||||||
|
- FLASK_DEBUG=False
|
||||||
|
- FLASK_CONFIG=production
|
||||||
|
- DB_HOST=db
|
||||||
|
- DB_USER=liberaforms
|
||||||
|
- DB_PASSWORD_FILE=/run/secrets/db_password
|
||||||
|
- DB_NAME=liberaforms
|
||||||
|
- BASE_URL=https://${DOMAIN}
|
||||||
|
- ROOT_USER=${ADMIN_USER}
|
||||||
|
- TMP_DIR=/tmp
|
||||||
|
- SECRET_KEY_FILE=/run/secrets/secret_key
|
||||||
|
- CRYPTO_KEY_FILE=/run/secrets/crypto_key
|
||||||
|
- SESSION_TYPE=filesystem
|
||||||
|
- LOG_LEVEL=INFO
|
||||||
|
- LOG_DIR=/app/logs
|
||||||
|
- GUNICORN_WORKERS=${GUNICORN_WORKERS:-3}
|
||||||
|
- SECRET_SECRET_KEY_VERSION=v1
|
||||||
|
- SECRET_DB_PASSWORD_VERSION=v1
|
||||||
|
- SECRET_CRYPTO_KEY_VERSION=v1
|
||||||
|
- ENTRYPOINT_VERSION=v2
|
||||||
|
- NGINX_CONFIG_VERSION=v1
|
||||||
|
- TYPE=liberaforms
|
||||||
|
- ADMIN_USER='you@example.com'
|
||||||
|
- DEFAULT_LANGUAGE='en'
|
||||||
|
- E2EE_MODE=ENABLED_BY_DEFAULT
|
||||||
|
- TOKEN_EXPIRATION=604800
|
||||||
|
- DEFAULT_TIMEZONE="America/New_York"
|
||||||
|
- ENABLE_RSS_FEED=True
|
||||||
|
- ENABLE_PROMETHEUS_METRICS=False
|
||||||
|
- ENABLE_UPLOADS=True
|
||||||
|
- ENABLE_REMOTE_STORAGE=False
|
||||||
|
- TOTAL_UPLOADS_LIMIT="1 GB"
|
||||||
|
- DEFAULT_USER_UPLOADS_LIMIT="50 MB"
|
||||||
|
- MAX_MEDIA_SIZE=512000
|
||||||
|
- MAX_ATTACHMENT_SIZE=1572864
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
@ -32,7 +68,7 @@ steps:
|
|||||||
from_secret: drone_abra-bot_token
|
from_secret: drone_abra-bot_token
|
||||||
fork: true
|
fork: true
|
||||||
repositories:
|
repositories:
|
||||||
- coop-cloud/auto-recipes-catalogue-json
|
- toolshed/recipes-catalogue-json
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event: tag
|
event: tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user