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':
|
if deployed_version == 'unknown':
|
||||||
logging.warning(f"Cold not detect deployed version of {domain}")
|
logging.warning(f"Cold not detect deployed version of {domain}")
|
||||||
continue
|
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)
|
upgrade_cmd.append(upgrade_version)
|
||||||
if version.parse(upgrade_version) <= version.parse(deployed_version):
|
if version.parse(upgrade_version) <= version.parse(deployed_version):
|
||||||
logging.info(f"{domain} is already at version {upgrade_version}")
|
logging.info(f"{domain} is already at version {upgrade_version}")
|
||||||
|
@ -215,6 +215,7 @@ rallly:
|
|||||||
env:
|
env:
|
||||||
OIDC_NAME: "Authentik"
|
OIDC_NAME: "Authentik"
|
||||||
OIDC_DISCOVERY_URL: "https://authentik.example.com/application/o/rallly/.well-known/openid-configuration"
|
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
|
OIDC_CLIENT_ID: rallly
|
||||||
uncomment:
|
uncomment:
|
||||||
- compose.oidc.yml
|
- compose.oidc.yml
|
||||||
|
Reference in New Issue
Block a user