Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> # Conflicts: # authentik/core/tests/test_source_flow_manager.py # authentik/stages/authenticator_validate/tests.py # authentik/stages/password/tests.py # scripts/generate_ci_config.py
		
			
				
	
	
		
			10 lines
		
	
	
		
			300 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			300 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""Utility script to generate a config for CI runs"""
 | 
						|
from authentik.lib.generators import generate_id
 | 
						|
from yaml import safe_dump
 | 
						|
 | 
						|
with open("local.env.yml", "w") as _config:
 | 
						|
    safe_dump({
 | 
						|
        "log_level": "debug",
 | 
						|
        "secret_key": generate_id(),
 | 
						|
    }, _config, default_flow_style=False)
 |