feat: git hash arg for deploy #434
Merged
decentral1se
merged 6 commits from 2024-07-09 09:42:57 +00:00
git-hash-arg into main
No Reviewers
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#434
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.
See coop-cloud/organising#517.
I changed the design and actually don't allow git hashes on
upgrade/rollback.This is due to there being loooooads of logic which does comparisons, release notes, etc. for versions in those commands. It's hard to separate that all from this chaos commit path. Also, the UI is unclear: do I
deploy/upgrade/rollbackto deploy a chaos commit? And when is a chaos commit arollbackand not anupgradein relation to aversion?This could technically be worked out but I think it's easier to just say "you're on your own" for chaos commits on
deploy. And the UI surface fordeployis the "center for chaos". Thenupgrade/rollbackdeals exclusively with recipe versions and deployments which remove "chaos".Some additional cleaning commits re: docstrings. Stuff was out-of-date or duplicated elsewhere, so I made it more terse. Also additional tests for stuff when I was poking around in the
upgrade/rollbackcode.Nice stuff! And I agree with the design decision
Finally 🚀 I really like this feature 🥳
But I'm not sure if it's a good idea if you're not able to
upgradeto any arbitrary version. Especially to test a version before releasing it.Can you not test the new version using abra app deploy --chaos?
Sorry you are right, I forgot that
abra app deploy --chaosis mostly doing the same likeabra app upgarde --chaos, as it also doing an in-place upgrade and I don't need to undeploy the app.Nice! afair
abra app deploy <hash>will trigger a chaos deploy, no--chaosrequired 😌 And yes, the behaviour ofupgrade/rollbackis now finally changing fromdeploy. which is IMHO a good thing and less confusing. just we need to change our habits 🙃