Commit graph

66 commits

Author SHA1 Message Date
Moritz 'e1mo' Fromm
2e5d1690d4
services/monitoring: Only monitor non-dev hosts 2023-08-12 11:48:39 +02:00
Moritz 'e1mo' Fromm
d7d6b7e6ef
hosts/hamilton: init 2023-08-12 11:48:39 +02:00
Moritz 'e1mo' Fromm
788fb22732
services/monitoring: enable nginx by default
Otherwise, building hosts that don't have any (nginx using) services
configured will faill.
2023-08-12 11:48:37 +02:00
Moritz 'e1mo' Fromm
c80fafda16
Fix diff script when running on main 2023-08-12 11:41:00 +02:00
Moritz 'e1mo' Fromm
e58bfa3c35
Merge pull request #25 from chaos-jetzt/gha-diff-new-hosts
Rework host diffing

Now it'll detect wether there are changes to a hosts closure at all, lists
build failures as such and is able to handle newly added or removed hosts.

https://github.com/chaos-jetzt/chaos-jetzt-nixfiles/actions/runs/5770703946
shows the intended behavior when hosts are added, removed, builds fail or
changes are made.
2023-08-11 20:36:19 +02:00
Moritz 'e1mo' Fromm
3ec3fb9416
Add error handling to ci build job 2023-08-05 14:37:05 +02:00
Moritz 'e1mo' Fromm
b8f968dc23
Rework diff-hosts
Now it'll detect wether there are changes to a hosts closure at all,
lists build failures as such and is able to handle newly added or
removed hosts.
2023-08-05 14:35:46 +02:00
Moritz 'e1mo' Fromm
1f9d8ba77f
Merge pull request #23 from chaos-jetzt/touchups
Various smaller changes or cleanups that, to me, wouldn't warrant a PR on their
own. Besides addressing some TODOs (namely the one in the flake.nix), goals
included a reduction of redundant and ambiguous code / statements (e.g. the
isDev detection) and a reduction of (visual) complexity making the code easier
to follow, understand and review.
2023-08-04 17:06:21 +02:00
Moritz 'e1mo' Fromm
934aa5e736
Dokuwiki has been migrated 2023-08-04 16:39:12 +02:00
Moritz 'e1mo' Fromm
5722941e1d
Remove deprevated grub version definition
Also merged the various network configurations a bit for better clarity
2023-08-04 16:39:11 +02:00
Moritz 'e1mo' Fromm
8696e2cbef
services/monitoring: Drop unneeded helpers
Attempting to reduce the complexity of the service as a whole.
2023-08-04 16:39:11 +02:00
Moritz 'e1mo' Fromm
ef147a0e22
services/monitoring: Tie up loose ends
Some variables that were intendet to be used were in fact not used (e.g.
allTargets) but that will be needed as soon as we have a second non-dev
host in our nixfiles.
2023-08-04 16:39:11 +02:00
Moritz 'e1mo' Fromm
047d73dc78
Add cj.deployment module
That way we can configure the depployment tags and everything in a
single location.
2023-08-04 16:39:10 +02:00
Moritz 'e1mo' Fromm
52a0991bfb
colmena: Use FQDN for deployment
Complete TODO we initially left there
2023-08-04 16:39:08 +02:00
Moritz 'e1mo' Fromm
a5de6d59b3
Merge pull request #21 from chaos-jetzt/ci-touchups
Also updated the triggers, only building on pushes to main since the rest will eventually be a PR to main, so that the we can ditch the avoid duplicates action.
2023-08-04 16:28:13 +02:00
Moritz 'e1mo' Fromm
458f832b83
Add tickets.chaos.jetzt redirect
With all https://tickets.chaos.jetzt/shortcode links will redirect to
the appropriate ticket-shop without a need for us to place manual
redirect links.
2023-08-03 16:12:42 +02:00
Moritz
2f3a707216
Merge pull request #20 from chaos-jetzt/momme-gpg
Add gpg key for momme
2023-07-25 20:02:36 +02:00
Moritz 'e1mo' Fromm
f445723cd4
Use DeterminateSystems/magic-nix-cache-action
Should significantely increase build times
2023-07-24 18:33:07 +02:00
Moritz 'e1mo' Fromm
6bdafe2bbe
Diff server closures on pull_request
Also updated the triggers, only building on pushes to main since the
rest will eventually be a PR to main, so that the we can ditch the avoid
duplicates action.
2023-07-24 18:32:34 +02:00
Moritz 'e1mo' Fromm
d8d2997bb3
Use full key fingerprint for e1mo in sops 2023-07-23 16:02:25 +02:00
Moritz 'e1mo' Fromm
b5ca65d9a0
Add mommes GPG key to sops 2023-07-23 16:01:04 +02:00
Moritz
6af66d37b0
Merge pull request #18 from chaos-jetzt/flake-update
flake & dokuwiki plugin updates
2023-07-22 22:30:37 +02:00
Moritz 'e1mo' Fromm
c1eebe17dc website: Clear old generations on dev
With https://github.com/chaos-jetzt/website_pelican/pull/33, a lot of
orphans are to be expected which will take up space on our servers. This
introduces a timer which runs once a week and will delete any
website generations older than 28 days.
2023-07-22 21:18:55 +02:00
Moritz 'e1mo' Fromm
cb56ab1f45
Update dokuwiki plugins 2023-07-22 17:47:42 +02:00
Moritz 'e1mo' Fromm
d9c1adde3e
Nix flake update 2023-07-22 17:47:34 +02:00
Moritz 'e1mo' Fromm
5442317071
Remove n0emis from sops
Follow up to cd026b118c
2023-07-17 12:20:02 +02:00
Moritz 'e1mo' Fromm
cd026b118c
Remove n0emis due to them leaving the admin team 2023-07-17 11:54:39 +02:00
Moritz 'e1mo' Fromm
17ed07993d
Colmena: Add deployment tags and block deploy all 2023-05-20 00:48:06 +02:00
Moritz 'e1mo' Fromm
6210804f59
Flake update 2023-05-20 00:43:55 +02:00
Moritz 'e1mo' Fromm
f2ebb3fe5c Set longer cache duration for fonts
Since they are versioned, we can be a bit more liberal with the stated
cache duration.
2023-04-25 14:39:37 +02:00
Moritz 'e1mo' Fromm
681da3fd18 Support custom 404 page
The actual 404 will be generated from pelican. log_not_found was set for
privacy reasons (since we don't have a favicon, every request still gets
logged with it's full IP due to the 404)
2023-04-25 14:39:37 +02:00
Moritz 'e1mo' Fromm
cb4c29f1d7 Deliver images in alternative formats
If the browser supports webp/avif images, nginx checks if any file with
the same name but the other formats extension is available.
2023-04-25 14:39:37 +02:00
Moritz 'e1mo' Fromm
bf891ae2d9 Update freescout flake for php8.2 compatibility 2023-04-13 18:38:10 +02:00
Moritz 'e1mo' Fromm
3d2493f3a0 freescout: 1.8.48 -> 1.8.71 2023-04-13 18:38:10 +02:00
Moritz 'e1mo' Fromm
37a3ca4a70 services/freescout: Initial setup 2023-04-13 18:38:10 +02:00
Moritz 'e1mo' Fromm
07779e14b3
Disable cachix (for now) 2023-04-12 14:18:19 +02:00
Moritz 'e1mo' Fromm
ab4baf558d
update nix-install-action
Fixes incompatibilities with newer nix versions:
https://github.com/cachix/install-nix-action/releases/tag/v20
2023-04-12 14:11:56 +02:00
Moritz 'e1mo' Fromm
37b0ccabf0
flake update 2023-04-12 12:22:52 +02:00
Moritz 'e1mo' Fromm
b8f08de175 services/dokuwiki: Add missing timezone option 2023-02-20 17:21:20 +01:00
Moritz
948664e5dc
Merge pull request #13 from chaos-jetzt/gh-actions-quality-of-life
CODEOWNERS and GitHub actions
2023-02-20 17:15:27 +01:00
Moritz 'e1mo' Fromm
460c8f13b6
Add initial nix building github actions
To reduce the amount of redudand rebuilds cachix is used to store
outputs. The cachix cache should be accessible in the cachix UI to
everyone in the @chaos-jetzt/infra team
2023-02-15 15:20:27 +01:00
Moritz 'e1mo' Fromm
2fdda18666
Add CODEOWNERS
Very simply file, with this file we don't need to manually request
reviews since this will be done automatically.
2023-02-15 12:55:50 +01:00
Moritz Kempe
1ec7fb3994 fixed incorrect spelling in deployment command
When building with the old version, no build target exists for the specified command.
2023-02-15 12:20:38 +01:00
Moritz 'e1mo' Fromm
f337dd087b
Add mome as admin
As decided/approved in our plenum today
2023-02-12 19:04:00 +01:00
adb-sh
6c1e6d5811 Update email and ssh key from adb 2023-02-11 22:10:44 +01:00
Moritz 'e1mo' Fromm
dd3325ab95
Remove redundand dokuwii override+openssh settings 2023-02-10 15:30:09 +01:00
Moritz 'e1mo' Fromm
840eff4f97
flake update 2023-02-10 15:28:34 +01:00
Moritz 'e1mo' Fromm
b7c8b28cf9
Update dokuwiki service config 2023-01-10 10:57:34 +01:00
Moritz 'e1mo' Fromm
76424262ec
Remove pretix from TODO
Using CTFL Pretix for now
2023-01-10 09:59:56 +01:00
Moritz 'e1mo' Fromm
8bc71b28bb
Nix flake update 2023-01-10 09:59:50 +01:00