drone-ci-configs/server.env
surtur c6acd44ffe
add user filter
basic sanity check to prevent anybody from registering and running a
cryptominer or similar BS in CI.

note:
any new users in need of access to CI are encouraged to leave us a PR
with appropriate changes to this config line for review
2022-03-20 21:11:29 +01:00

32 lines
922 B
Bash

# Gitea settings
DRONE_GITEA_SERVER=https://git.dotya.ml
DRONE_GITEA_CLIENT_ID=${DRONE_GITEA_CLIENT_ID}
DRONE_GITEA_CLIENT_SECRET=${DRONE_GITEA_SKIP_VERIFY}
DRONE_GITEA_SKIP_VERIFY=false
# Service settings
DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
DRONE_SERVER_HOST=drone.dotya.ml
DRONE_SERVER_PORT=:8000
DRONE_SERVER_PROTO=https
DRONE_GIT_ALWAYS_AUTH=true
DRONE_STARLARK_ENABLED=true
DRONE_JSONNET_ENABLED=false
DRONE_USER_FILTER=wanderer,dalahast,dotya.ml,kreyren,FunTom,ShutUpMeg,VeronikaMacku,corvin,Moonchild,2EEEB,renovate-bot
DRONE_DATABASE_SECRET=${DRONE_DATABASE_SECRET}
DRONE_CRON_INTERVAL=10m
DRONE_LOGS_PRETTY=true
DRONE_LOGS_COLOR=true
DRONE_LOGS_DEBUG=false
DRONE_LOGS_TRACE=false
# ssl
DRONE_HTTP_SSL_HOST=https://drone.dotya.ml
DRONE_HTTP_STS_SECONDS=63072000
DRONE_HTTP_STS_PRELOAD=true
# Registration settings
DRONE_OPEN=true
DRONE_ADMIN=${DRONE_ADMIN}
DRONE_USER_CREATE=username:${DRONE_ADMIN},admin:true