[MVP] refactor Hostea playbooks #30

Open
opened 2022-10-05 12:01:26 +00:00 by dachary · 4 comments

The general idea is that each instance has its own Enough configuration so that it is 100% self contained. It makes it simpler to migrate out of Enough as the configuration is already on the machine. There is one repository per instance which is cloned in ~/.enough/xxx.h.gna.org and preset with the domain.

  • fix Enough so bind-host is not required / automatically set to exist
  • xxx.h.gna.org runs a DNS
  • ns1.h.gna.org delegates to ns1.xxx.h.gna.org
  • xxx-ci.h.gna.org ⇒ ci.xxx.h.gna.org
  • gitea.gna.org CI runs Enough on xxx.h.gna.org
  • hosteadashboard writes in ~/.enough/xxx.h.gna.org instead of ~/.enough/h.gna.org
The general idea is that each instance has its own Enough configuration so that it is 100% self contained. It makes it simpler to migrate out of Enough as the configuration is already on the machine. There is one repository per instance which is cloned in ~/.enough/xxx.h.gna.org and preset with the domain. - [x] fix Enough so bind-host is not required / automatically set to exist - [ ] xxx.h.gna.org runs a DNS - [ ] ns1.h.gna.org delegates to ns1.xxx.h.gna.org - [ ] xxx-ci.h.gna.org ⇒ ci.xxx.h.gna.org - [ ] gitea.gna.org CI runs Enough on xxx.h.gna.org - [ ] hosteadashboard writes in ~/.enough/xxx.h.gna.org instead of ~/.enough/h.gna.org
dachary added the
Expense
Improve Gna!
labels 2022-10-05 12:01:26 +00:00
dachary self-assigned this 2022-10-05 12:01:26 +00:00
dachary added the due date 2022-12-15 2022-10-05 12:04:56 +00:00
Poster
Owner
https://lab.enough.community/main/infrastructure/-/issues/327 document the workaround
dachary added spent time 2022-10-07 06:33:57 +00:00
30 minutes
Poster
Owner
enough --domain try.tld host create --driver=libvirt try-host
enough --domain try.tld service create --driver=libvirt --host try-host gitea
enough --domain try.tld host delete --driver=libvirt try-host

Hacking ~/.enough/try.tld to make it work and verify it succeeds to ensure there are no unforseen blockers.

``` enough --domain try.tld host create --driver=libvirt try-host enough --domain try.tld service create --driver=libvirt --host try-host gitea enough --domain try.tld host delete --driver=libvirt try-host ``` Hacking ~/.enough/try.tld to make it work and verify it succeeds to ensure there are no unforseen blockers.
dachary started working 2022-10-07 08:41:24 +00:00
Poster
Owner
https://forum.gna.org/t/hostea-architecture-evolution/217
Poster
Owner
* https://lab.enough.community/main/infrastructure/-/merge_requests/596 * https://lab.enough.community/main/infrastructure/-/merge_requests/597
dachary stopped working 2022-10-07 16:29:35 +00:00
7 hours 48 minutes
dachary modified the due date from 2022-12-15 to 2023-02-15 2023-01-08 11:48:04 +00:00
Sign in to join this conversation.
There is no content yet.