1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-26 15:26:03 +02:00
Commit Graph

2150 Commits

Author SHA1 Message Date
peanutduck db2f6341c4 Clean up offload-build artifacts tasks and files 2021-10-02 15:16:37 +02:00
Kristian Klausen 3ab6b8890c
networking: Fix missing and broken hcloud-init conditionals
A string is always "true"[1].

[1] https://stackoverflow.com/a/34868470
2021-10-02 15:03:04 +02:00
Kristian Klausen 7da1e273fc Cleanup tools
Fix #392
2021-10-02 14:45:02 +02:00
Amin Vakil f7f7dda23d
Extend flyspray's disabled functions 2021-10-02 14:43:17 +02:00
Jelle van der Waa 685e37bcaf
Add missing handler for restarting php7-fpm@flyspray 2021-10-02 14:36:08 +02:00
Thorben Günther 34a72b68b7 install_arch: Use shell instead of command
shell is like command but runs the command through a shell, so that
piping will work.
2021-10-02 14:10:03 +02:00
Jelle van der Waa 9a9113d1b1
Fix pymemcache client errors with django 2021-10-02 14:07:25 +02:00
peanutduck 9255c4a745 Change log-driver settings 2021-10-02 13:54:32 +02:00
Jakub Klinkovský 6875bbb8e1 archwiki: clean up old task 2021-10-02 01:01:52 +00:00
Jakub Klinkovský a0f5a42e90 archwiki: ensure that MediaWiki file cache is invalidated on each MediaWiki update
We've hit this problem at least twice in the past, last time with the new
Vector skin update. With this change it should not be necessary to do
anything manually after an update.
2021-10-02 01:01:52 +00:00
Jelle van der Waa 44fb106eb9
Raise memcached object size memory limit for sitemaps 2021-09-30 09:19:36 +02:00
Jelle van der Waa 2bc0121be6
Emergency fix for 500 on support staff page 2021-09-29 22:06:04 +02:00
Jelle van der Waa 44df554cef
Update archweb to the latest version 2021-09-29 21:51:56 +02:00
Jan Alexander Steffens (heftig) a2fd81c717 roles/loki: Install custom OOM configuration
- When loki hits 5.5G RSS, aggressively reclaim its memory. This puts
  it under memory pressure.
- When loki hits 6G RSS, invoke the kernel OOM killer.
- When loki is under severe memory pressure, have systemd-oomd kill it.
2021-09-27 18:30:49 +02:00
Jan Alexander Steffens (heftig) 698a28c6fc roles/common: Install generic OOM configuration
- Allow killing of any cgroup if swap is about to run out. When swap is
  at least 90% full, oomd will kill a cgroup, tending to kill the cgroup
  with the highest swap usage.
- Allow killing cgroups of logged in users under severe memory pressure.
  When a cgroup is stalled waiting for memory at least 60% of the time,
  for at least 30 seconds, oomd will attempt to kill it or one of its
  descendant cgroups.
2021-09-27 18:30:49 +02:00
Jan Alexander Steffens (heftig) c9754eb342
matrix: Update synapse to 1.43.0 2021-09-22 23:46:53 +02:00
Jan Alexander Steffens (heftig) a23950ee2d
matrix: Update bridge to 0.31.0 2021-09-22 23:40:35 +02:00
Evangelos Foutras 65d793a808
Partially revert "Add polkit to phrik.archlinux.org"
This partially reverts commit c3d00264e6.

The smartd changes are not ready to land yet and were included in the
above commit by accident.
2021-09-22 09:25:23 +03:00
Jan Alexander Steffens (heftig) 03b4463952
matrix: Update mjolnir to v1.1.20 2021-09-18 00:55:56 +02:00
Jelle van der Waa c3d00264e6
Add polkit to phrik.archlinux.org
phrik has a polkit rule for demize to restart phrik
2021-09-17 22:26:04 +02:00
Jelle van der Waa 7d806b94f6
Enable new CSP options for hedgedoc 2021-09-14 08:31:19 +02:00
Jelle van der Waa e63d76d851
Switch to pymemcache 2021-09-13 19:20:38 +02:00
Jan Alexander Steffens (heftig) 2b99199c57
matrix: Enable the bridge's dropMatrixMessagesAfterSecs 2021-09-12 22:22:33 +02:00
Jan Alexander Steffens (heftig) 514652806c
matrix: Update pantalaimon to 0.10.3 2021-09-08 13:56:46 +02:00
Jan Alexander Steffens (heftig) 1efe132f4a
matrix: Update synapse to 1.42.0 2021-09-08 13:56:45 +02:00
Jelle van der Waa f078db3241
Rate limit our securit tracker
Some people love to do 48 req/s to our tracker which causes ~100% cpu.
For now we allow 5req/sec with a burst of 10 requests.
2021-09-07 08:13:49 +02:00
Jelle van der Waa 1d6ce92890
Update archweb to latest release 2021-09-06 22:26:27 +02:00
Evangelos Foutras ec85864d9b
Fix host variable selector in nginx dashboard 2021-09-06 10:23:09 +03:00
Kristian Klausen 4ff17e8707 keycloak: Update links to "Service Agreements"
Ref: https://gitlab.archlinux.org/archlinux/service-agreements/-/merge_requests/16
2021-09-04 13:01:55 +02:00
Ira ㋡ 0ab630e96a Add terms template with external links to project's terms and conditions 2021-09-04 12:48:37 +02:00
Ira ㋡ ab2064e646 Add terms and conditions preamble text 2021-09-04 12:48:37 +02:00
Jakub Klinkovský 329cab6992 archwiki: update to 1.36.1-3 2021-09-02 20:50:40 +02:00
Jan Alexander Steffens (heftig) 901416ce13
matrix: Update synapse to 1.41.1 2021-08-31 22:21:47 +02:00
Jan Alexander Steffens (heftig) 41956295a1
matrix: Update turnserver config
- Drop the custom service file, use the packaged one
- Merge in the comments from the packaged config file
2021-08-28 22:41:10 +02:00
Evangelos Foutras 7d5dee0a88
Add Wants=network-online.target to a few services
After=network-online.target is likely insufficient by itself.

Fixes: 104d08a1db ("archweb: Put most services after network-online.target")
Fixes: c844d0cb6c ("Split storage box monitoring into new text collector")
2021-08-28 14:42:41 +03:00
Evangelos Foutras 104d08a1db
archweb: Put most services after network-online.target
We noticed readlinks and reporead on gemini failing to connect to the
archweb database immediately after rebooting. To fix this, place them
after network-online.target. Do the same for all but one of the other
service units even though they run on timers 10-15 minutes after boot
for completeness and correctness.
2021-08-28 13:29:16 +03:00
Jan Alexander Steffens (heftig) e2643bf741
matrix: Update synapse to 1.41.0 2021-08-26 19:24:03 +02:00
Jan Alexander Steffens (heftig) 1bbbe70ecc
matrix: Remove synapse's log buffering
The JournalHandler doesn't support flushing, anyway.
2021-08-26 19:24:03 +02:00
Jan Alexander Steffens (heftig) f2808b95c8
matrix: Expose the bridge's metrics 2021-08-26 19:24:03 +02:00
Jan Alexander Steffens (heftig) 9460b9acdf
matrix: Update bridge to 0.30.0 2021-08-26 19:24:03 +02:00
Jan Alexander Steffens (heftig) aaec777647
matrix: Update mjolnir to v0.1.19 2021-08-26 19:24:03 +02:00
Evangelos Foutras 70dbfcd9c4 Merge branch 'update-mirrorcheck-locations' into 'master'
Update mirrorcheck locations

See merge request archlinux/infrastructure!483
2021-08-24 21:41:28 +00:00
Evangelos Foutras 7cc64e5483
archweb: Gate donation import tasks on archweb_site 2021-08-24 23:54:48 +03:00
Kristian Klausen 6a11db2f20 Use wireguard for db connections to archlinux.org
Fix #177
2021-08-24 21:08:08 +02:00
Kristian Klausen a06ed9ef10 networking: Make hcloud-init.service more reliable
Fix #371
2021-08-24 19:00:24 +02:00
Kristian Klausen 9227825b96
Revert "common: override smartd.service with ConditionVirtualization=no"
It has been applied upstream[1] and released with smartmontools 7.2[2].

[1] 61bc85ecad
[2] https://github.com/smartmontools/smartmontools/releases/tag/RELEASE_7_2

This reverts commit b4c97002f5.
2021-08-22 17:13:59 +02:00
Kristian Klausen d7d4ecbce1
Add GitLab Pages for "Service Agreements"
Ref: https://gitlab.archlinux.org/archlinux/service-agreements/-/merge_requests/16
2021-08-22 13:13:36 +02:00
Evangelos Foutras 5a88a31374
fluxbb: Speed up search and increase buffer pool 2021-08-19 03:48:53 +03:00
Evangelos Foutras 6534413cf3
mariadb: Tweak query cache settings
We used to set query_cache_type to 0 in the default settings but we were
also setting query_cache_size to a non-zero/non-default value, which was
in turn re-enabling the query cache. Update the configuration to reflect
the actual cache state and make sure query_cache_size is set to zero for
the "query_cache_type = 0" case.

Now that the setting controls the real state of the query cache, disable
it for bbs.archlinux.org; its hit rate is small compared to insert rate.
2021-08-18 19:56:50 +03:00
Evangelos Foutras 1b2cfa7120
mariadb: Remove no-auto-rehash setting 2021-08-18 19:36:49 +03:00