From 1d8ee5d6ec4e04c828112c53d37b96a4c0114c37 Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 3 Jun 2025 14:45:28 +0200 Subject: [PATCH] fix: catch chaos version deployments --- alakazam.py | 5 +++++ combine.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/alakazam.py b/alakazam.py index 2802c4f..8eda270 100755 --- a/alakazam.py +++ b/alakazam.py @@ -981,6 +981,11 @@ def upgrade(recipes: Tuple[str], execute_hooks: bool, dry_run: bool, redeploy: b if deployed_version == 'unknown': logging.warning(f"Cold not detect deployed version of {domain}") continue + try: + version.parse(deployed_version) + except version.InvalidVersion: + logging.warning(f"Cold not detect deployed version of {domain}: {deployed_version}") + continue upgrade_cmd.append(upgrade_version) if version.parse(upgrade_version) <= version.parse(deployed_version): logging.info(f"{domain} is already at version {upgrade_version}") diff --git a/combine.yml b/combine.yml index 7ea7110..63ded29 100644 --- a/combine.yml +++ b/combine.yml @@ -215,6 +215,7 @@ rallly: env: OIDC_NAME: "Authentik" OIDC_DISCOVERY_URL: "https://authentik.example.com/application/o/rallly/.well-known/openid-configuration" + OIDC_ISSUER_URL: "https://authentik.example.com/application/o/rallly/" OIDC_CLIENT_ID: rallly uncomment: - compose.oidc.yml