forked from clan/clan-infra
enable deno/shellcheck formatter
This commit is contained in:
parent
0037d7d218
commit
abb431276f
17
LICENSE.md
17
LICENSE.md
@ -1,7 +1,18 @@
|
|||||||
Copyright 2023 Clan contributers
|
Copyright 2023 Clan contributers
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
10
README.md
10
README.md
@ -4,8 +4,10 @@ This repository contains nixos modules and terraform code that powers clan.lol.
|
|||||||
The website and git hosting is currently on [hetzner](https://www.hetzner.com/).
|
The website and git hosting is currently on [hetzner](https://www.hetzner.com/).
|
||||||
|
|
||||||
## Servers
|
## Servers
|
||||||
|
|
||||||
- web01:
|
- web01:
|
||||||
- Instance type: [ex101](https://www.hetzner.com/de/dedicated-rootserver/ex101)
|
- Instance type:
|
||||||
|
[ex101](https://www.hetzner.com/de/dedicated-rootserver/ex101)
|
||||||
- CPU: Intel Core i9-13900 (24 cores / 32 threads)
|
- CPU: Intel Core i9-13900 (24 cores / 32 threads)
|
||||||
- RAM: 64GB DDR5
|
- RAM: 64GB DDR5
|
||||||
- Drives: 2 x 1.92 TB NVME
|
- Drives: 2 x 1.92 TB NVME
|
||||||
@ -26,5 +28,7 @@ $ ./tf.sh apply
|
|||||||
|
|
||||||
## To add a new project to CI
|
## To add a new project to CI
|
||||||
|
|
||||||
1. Add the 'buildbot-clan' topic to the repository using the "Manage topics" button below the project description
|
1. Add the 'buildbot-clan' topic to the repository using the "Manage topics"
|
||||||
2. Go to https://buildbot.clan.lol/#/builders/2 and press "Update projects" after you have logged in.
|
button below the project description
|
||||||
|
2. Go to https://buildbot.clan.lol/#/builders/2 and press "Update projects"
|
||||||
|
after you have logged in.
|
||||||
|
12
flake.nix
12
flake.nix
@ -64,6 +64,18 @@
|
|||||||
treefmt = {
|
treefmt = {
|
||||||
projectRootFile = ".git/config";
|
projectRootFile = ".git/config";
|
||||||
programs.terraform.enable = true;
|
programs.terraform.enable = true;
|
||||||
|
programs.shellcheck.enable = true;
|
||||||
|
|
||||||
|
programs.deno.enable = true;
|
||||||
|
settings.formatter.deno.excludes = [
|
||||||
|
# generated files
|
||||||
|
"sops/*"
|
||||||
|
"terraform.tfstate"
|
||||||
|
"*.tfvars.sops.json"
|
||||||
|
"*nixos-vars.json"
|
||||||
|
"secrets.yaml"
|
||||||
|
];
|
||||||
|
|
||||||
programs.nixfmt-rfc-style.enable = true;
|
programs.nixfmt-rfc-style.enable = true;
|
||||||
settings.formatter.nixfmt-rfc-style.excludes = [
|
settings.formatter.nixfmt-rfc-style.excludes = [
|
||||||
# generated files
|
# generated files
|
||||||
|
Loading…
Reference in New Issue
Block a user