refactor!: remove autoupdate (kadabra)

This commit is contained in:
2025-10-19 15:42:56 +02:00
parent fcb3167394
commit 964ed834ee
9 changed files with 220 additions and 276 deletions

View File

@ -158,7 +158,6 @@ checkout as-is. Recipe commit hashes are also supported as values for
if internal.Chaos {
appPkg.SetChaosVersionLabel(compose, stackName, toDeployVersion)
}
appPkg.SetUpdateLabel(compose, stackName, app.Env)
versionLabel := toDeployVersion
if internal.Chaos {

View File

@ -25,7 +25,6 @@ type appStatus struct {
Status string `json:"status"`
Chaos string `json:"chaos"`
ChaosVersion string `json:"chaosVersion"`
AutoUpdate string `json:"autoUpdate"`
Version string `json:"version"`
Upgrade string `json:"upgrade"`
}
@ -118,7 +117,6 @@ Use "--status/-S" flag to query all servers for the live deployment status.`),
version := i18n.G("unknown")
chaos := i18n.G("unknown")
chaosVersion := i18n.G("unknown")
autoUpdate := i18n.G("unknown")
if statusMeta, ok := statuses[app.StackName()]; ok {
if currentVersion, exists := statusMeta["version"]; exists {
if currentVersion != "" {
@ -131,9 +129,6 @@ Use "--status/-S" flag to query all servers for the live deployment status.`),
if chaosDeployVersion, exists := statusMeta["chaosVersion"]; exists {
chaosVersion = chaosDeployVersion
}
if autoUpdateState, exists := statusMeta["autoUpdate"]; exists {
autoUpdate = autoUpdateState
}
if statusMeta["status"] != "" {
status = statusMeta["status"]
}
@ -146,7 +141,6 @@ Use "--status/-S" flag to query all servers for the live deployment status.`),
appStats.Chaos = chaos
appStats.ChaosVersion = chaosVersion
appStats.Version = version
appStats.AutoUpdate = autoUpdate
var newUpdates []string
if version != "unknown" && chaos == "false" {
@ -231,7 +225,6 @@ Use "--status/-S" flag to query all servers for the live deployment status.`),
i18n.G("CHAOS"),
i18n.G("VERSION"),
i18n.G("UPGRADE"),
i18n.G("AUTOUPDATE"),
}...,
)
}
@ -262,8 +255,7 @@ Use "--status/-S" flag to query all servers for the live deployment status.`),
appStat.Status,
chaosStatus,
appStat.Version,
appStat.Upgrade,
appStat.AutoUpdate}...,
appStat.Upgrade}...,
)
}

View File

@ -183,7 +183,6 @@ beforehand. See "abra app backup" for more.`),
if internal.Chaos {
appPkg.SetChaosVersionLabel(compose, stackName, chosenDowngrade)
}
appPkg.SetUpdateLabel(compose, stackName, app.Env)
// Gather secrets
secretInfo, err := deploy.GatherSecretsForDeploy(cl, app, internal.ShowUnchanged)

View File

@ -196,7 +196,6 @@ beforehand. See "abra app backup" for more.`),
if internal.Chaos {
appPkg.SetChaosVersionLabel(compose, stackName, chosenUpgrade)
}
appPkg.SetUpdateLabel(compose, stackName, app.Env)
envVars, err := appPkg.CheckEnv(app)
if err != nil {