[MVP] refactor Hostea playbooks #30

Open
opened 8 months ago by dachary · 4 comments
Owner

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 8 months ago
dachary self-assigned this 8 months ago
dachary added the due date 2022-12-15 8 months ago
Poster
Owner
https://lab.enough.community/main/infrastructure/-/issues/327 document the workaround
dachary added spent time 8 months ago
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 8 months ago
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 8 months ago
7 hours 48 minutes
dachary modified the due date from 2022-12-15 to 2023-02-15 5 months ago
Sign in to join this conversation.
Loading…
There is no content yet.