app <domain>
-> app <app>
#47
Labels
No Label
breaking-change
bug
CI/CD
design
documentation
duplicate
enhancement
help wanted
invalid
plugin
question
secrets
shell-completion
versioning
wontfix
No Milestone
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/abra#47
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?
Trying to gather the change list...(will edit until we're setteld on them):
<domain>
-><app>
on the docopt CLI definition<app>
when doingabra app new <type>
(like we do for domain) and use this logic to generate<app>
defaults if user doesn't specify one.abra/servers/swarm.autonomic.zone/gitea.env
->.abra/servers/swarm.autonomic.zone/git_autonomic_zone.env
where the old used the domain name and the new uses the new default for the<app>
export APP=gitea
in the app env vars should becomeexport TYPE=gitea
following #48STACK_NAME
should becomeAPP
andAPP
should be used as the main way to refer to an instance of an app all the way down. So the user typesabra <app> deploy
to do actions on an app and the internals call the stack with the same value as<app>
STACK_NAME
->APP
in thecompose.yml
and.drone.yml
references also (this could be something going forward since it is too much busy work to search/replace all this now)Done.
Done, although I included
TYPE
in it, so we get e.g.customhtml_test_swarm_autonomic_zone
. Let me know if that seems bad.This is an easy fix with
mosh
but not technically required,abra
doesn't care if the old names have dots or underscores.Working on it!
Currently this would break the somewhat-hidden feature where you can set a
STACK_NAME
that's completely different to the filename, e.g. our gitea instance lives in a file calledgit.autonomic.zone.env
but theSTACK_NAME
is "gitea".We could either decide to drop that feature and require that Docker stack names be the same as
.env
filenames, or fix the naming collision between the<app>
→ $APPargument and the new
STACK_NAME` 🤔 Any thoughts?3wordchant referenced this issue2020-12-30 19:27:58 +00:00
Done.
I propose leaving the
STACK_NAME
→APP
rename until later, will open a separate ticket if that's ☮🚆