2021-05-16 22:45:28 +01:00
|
|
|
"""Utility script to generate a config for CI runs"""
|
2021-08-23 19:27:38 +01:00
|
|
|
from authentik.lib.generators import generate_id
|
2021-05-16 22:45:28 +01:00
|
|
|
from yaml import safe_dump
|
|
|
|
|
|
|
|
with open("local.env.yml", "w") as _config:
|
|
|
|
safe_dump({
|
2021-08-23 19:30:58 +01:00
|
|
|
"log_level": "debug",
|
|
|
|
"secret_key": generate_id(),
|
2021-05-16 22:45:28 +01:00
|
|
|
}, _config, default_flow_style=False)
|