Upgrade env config only #440
Labels
No Label
abra
abra-gandi
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
democracy
design
documentation
duplicate
enhancement
finance
funding
good first issue
help wanted
installer
kadabra
performance
proposal
question
recipes.coopcloud.tech
security
test
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/organising#440
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice to have a way to change the .env config without executing
abra app undeploy
andabra app deploy
again, which can lead to hidden upgrades: #434Something like
abra app upgrade --env / -E
The actual way is to run
abra app ls -S
to find out the current version. Checkout the recipe repo into this version and then runabra app upgrade -C
. This could be combined into one command.@moritz I'm not sure I understand this one. What in the
.env
do you want to update? You are mentioning versions but no versioning information is currently stored in the.env
files?For the version deployment issues, yeh, that is a pain currently. You could
upgrade
/rollback
currently but then there is no auto-complete on the versions. I think #204 would solve this?You can also use
abra app version
. I just checked that and it says in the--help
:But actually, I don't think that's correct. I'll open a separate ticket.
abra app upgrade
only works if there is a new version, but often I want to update only the .env configuration without changing the deployed version and without undeploying everything. Therefore I thought something likeabra app upgrade --env / -E
would be nice. Or maybeabra app env-update
to avoid any confusion with version upgrades.Using this workaround I can update env variables and only the container that are affected by the changes are restarted.
I was going to say, "isn't this
upgrade --force
/deploy --force
"? But then I ran into #444 🙃I thought
deploy --force
does this?You still have to manually manage the versions carefully because #434 / #204 are not solved. We should get around to this soon.
Nice
upgrade --force / deploy --force
is almost doing what I want, despite the version issue. Is there a difference between these two commands? Also betweenupgrade -C / deploy -C
? This is a bit confusing.Yeh, this was some early UI/UX that nobody really questioned until now 😆 I'm pretty sure both of those are exactly the same but I haven't checked the code again. Maybe we should make change here... you can't force the upgrade? 🤷♀️
OK, let's converge on #434 following #434 (comment). Gathering energy for a speedrun...
Also, you can now do
abra app version <domain>
and get the version and then run:abra app deploy <domain> <version> -f
which is more repeatable. Hopefully with pinned & synced versions, this will more automated in the future.