This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2021-05-16 21:45:28 +00:00
|
|
|
"""Utility script to generate a config for CI runs"""
|
2021-08-23 18:27:38 +00:00
|
|
|
from authentik.lib.generators import generate_id
|
2021-05-16 21:45:28 +00:00
|
|
|
from yaml import safe_dump
|
|
|
|
|
|
|
|
with open("local.env.yml", "w") as _config:
|
|
|
|
safe_dump({
|
2021-08-23 18:30:58 +00:00
|
|
|
"log_level": "debug",
|
|
|
|
"secret_key": generate_id(),
|
2021-05-16 21:45:28 +00:00
|
|
|
}, _config, default_flow_style=False)
|