Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit bd2891fd authored by GotthardG's avatar GotthardG
Browse files

Refactor OpenAPI client script and backend server logic.

Simplify and streamline OpenAPI client generation and backend startup logic. Improved error handling, environment configuration, and self-signed SSL certificate management. Added support for generating OpenAPI schema via command-line argument.
parent 555b756c
No related branches found
No related tags found
No related merge requests found
Pipeline #44767 passed
......@@ -169,6 +169,12 @@ if __name__ == "__main__":
# Run in CI mode
if is_ci: # CI mode
print("CI mode detected: Starting server in a subprocess...")
# Ensure SSL directory exists
ssl_dir = Path("ssl")
ssl_dir.mkdir(
parents=True, exist_ok=True
) # Create ssl directory if it doesn't exist
# Ensure SSL certificate and key exist
if not Path(cert_path).exists() or not Path(key_path).exists():
print("Generating SSL certificates for CI mode...")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment