-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement NixOS configuration for webforge with CI/CD Nix workflow #28
Conversation
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
650195a
to
da3ad66
Compare
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
@hacklschorsch is not going to like it (1063 lines of code full of place for bugs to hide :-/), but we need to start this workflow somewhere. I've considered to split this PR in different pieces, but each steps would end up achieving not much until the last one (which would be actually deploying the services we need). |
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
Co-authored-by: Florian Sesser <florian@leastauthority.com> Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
Co-authored-by: Florian Sesser <florian@leastauthority.com> Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
Co-authored-by: Florian Sesser <florian@leastauthority.com> Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
Co-authored-by: Florian Sesser <florian@leastauthority.com> Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
I've started to back ported a few improvements from @hacklschorsch in this PR (#23, #24, #25 and #26). But I had to revert #25 because this does not work with flake. Which lead me to consider if we could switch to the small variants of the nixpkgs... |
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
Too big to be review: let's split it in smaller pieces. |
Closed in favor of either one of those: |
Part of #4161 Move off Trac - Execution - Forgejo
This PR is implementing a workflow which we're already using at Least Authority to simplify the management of a few NixOS systems and automatically deploy changed in a pull fashion way (see the README file).
It has been largely inspired from the following projects:
Merging this PR should trigger the automatic deployment of the NixOS configuration of
webforge
as defined in thenix/hosts/webforge
folder.This should should provide us an empty Forgejo, some blank website and a reverse proxy to expose the legacy (current) Trac and web landing page of the Tahoe-LAFS project.
WARNING
This configuration requires a few DNS records to be published before merging:
In addition to a few more records required to make it fully functional later:
But we might be able to automate the management of those 15 records via pull requests (see #4162 Infrastructure as Code to manage DNS configurations).