app ls --status shows more detailles about the deployment state
#280
Labels
Clear labels
bug
build
ci/cd
critical fix
design
documentation
duplicate
easy-first-issue
enhancement
help wanted
i10n
i18n
installer
invalid
question
release
release-candidate
security
tech-debt
test
wontfix
Something is not working
go build related issues
Building things with CI/CD
https://docs.coopcloud.tech/federation/resolutions/passed/010/
UI/UX
Documenting all the things
This issue or pull request already exists
Something for new people to get stuck into. We hope it's easy!
New feature
Need some help
Everything to do with localisation
Everything to do with internationalisation
Everything to do with the install script.
Something is wrong
More information is needed
Release management
Related to the new release candidate
Security related
Unit/integration testing
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/abra#280
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR adds the chaos state, the chaos version and the autoupdate state to the deployment details of
abra app ls --status.The label
coop-cloud.<app_name>.chaos_versionis used to store the chaos version. This solves coop-cloud/organising#429Amazing work @moritz! Love this change and it will really help us. The table output is getting quite long now, so I'm wondering if folks have concerns about that? I think each column is pretty useful to have. Especially when we have a chaos deployment label but no version, that can happen with todays
abra. But then again, that won't be the case later, in say, a years time? If you have a chaos labeled deploy then you will have the version? We could merge these columns potentially, I'm not sure. Or maybe remove it later on?@@ -183,6 +183,7 @@ recipes.config.ExposeAllEnv(stackName, compose, app.Env)config.SetRecipeLabel(compose, stackName, app.Recipe)config.SetChaosLabel(compose, stackName, internal.Chaos)config.SetChaosVersionLabel(compose, app.StackName(), chosenDowngrade)app.StackName()->stackName@@ -194,6 +194,7 @@ recipes.config.ExposeAllEnv(stackName, compose, app.Env)config.SetRecipeLabel(compose, stackName, app.Recipe)config.SetChaosLabel(compose, stackName, internal.Chaos)config.SetChaosVersionLabel(compose, app.StackName(), chosenUpgrade)app.StackName()->stackName@@ -139,6 +139,7 @@ func DeployAction(c *cli.Context) error {config.ExposeAllEnv(app.StackName(), compose, app.Env)config.SetRecipeLabel(compose, app.StackName(), app.Recipe)config.SetChaosLabel(compose, app.StackName(), Chaos)config.SetChaosVersionLabel(compose, app.StackName(), version)Oops, can we make all the
app.StackName()calls onestackNametoo? To avoid computing this several times...@@ -407,0 +409,4 @@result["chaos"] = chaos}labelKey = fmt.Sprintf("coop-cloud.%s.chaos_version", name)chaos_version->chaos-versionfollowing the convention of-? This would require updating in several places in this PR.@@ -407,0 +414,4 @@result["chaosVersion"] = chaosVersion}labelKey = fmt.Sprintf("coop-cloud.%s.autoupdate", name)Is
autoupdate->auto-updatepotentially more readable?This would be a bit more readable but it would break kadabra for for all apps that are deployed with the current abra version.
Kadabra is still alpha, so breaking changes are part of it, but I don't think this label change is really worth the effort to redeploy all apps after the next abra release.
4bb2fb6b63toedff63b446