fix: catch chaos version deployments
This commit is contained in:
@ -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}")
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user