WIP: untie server name from a domain #398
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "wykwit/abra:server-name"
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?
The convention of mapping names to domains was driving me crazy.
This fix resolves the actual server hostname according to host entry in the SSH config, allows for using any server name, but most importantly allows for adding local machines as servers.
Turns out that's enough to use
abra
for LAN-only deployments.Default behaviors shouldn't change.
Solid stuff! One minor comment.
I think it'd be nice if you could add an integration test for this?
@ -169,1 +175,4 @@
if err := newContext(c, domainName, hostConfig.Host, hostConfig.User, hostConfig.Port); err != nil {
logrus.Fatal(err)
cleanUp(domainName)
Doesn't this need to go before the
logrus.Fatal
call?Good catch, thanks!
@wykwit got any cycles to take another run at this?
Untie server name from a domainto WIP: untie server name from a domainMerged in
9bf44c15ed
/d787f71215
and also coop-cloud/abra#415Pull request closed