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

2658 Commits

Author SHA1 Message Date
Leonidas Spyropoulos b7a98e5c4a
aurweb: bump to 6.2.1
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2023-01-27 21:22:19 +00:00
Leonidas Spyropoulos ee30b1e8e4
aurweb: bump to 6.2.0
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2023-01-26 23:39:04 +00:00
Evangelos Foutras 268b6003e4
prometheus: disable HostUnusualNetworkThroughputOut
This alert only triggers for america.mirror.pkgbuild.com. Ideally, we
should be able to increase the trigger point for high-bandwidth boxes.
I don't see a straightforward way to implement it, so disable for now.
2023-01-23 20:41:31 +02:00
Evangelos Foutras 0f20e4a2fa
php_fpm: rebase php.ini to php 8.2.1-1 2023-01-23 11:22:23 +02:00
Jan Alexander Steffens (heftig) 4c3464db85
matrix: Fix synapse feature list 2023-01-19 21:12:39 +01:00
Jan Alexander Steffens (heftig) d690a4abda
matrix: Update mjolnir to v1.6.4 2023-01-19 20:30:02 +01:00
Jan Alexander Steffens (heftig) 58f0305c4a
matrix: Update synapse to 1.75.0 2023-01-19 20:27:36 +01:00
Evangelos Foutras 0980818fa2
install_arch: use @archlinux.org for pierre's key 2023-01-16 20:21:53 +02:00
Evangelos Foutras 7943882d28
mailman: rebase mailman-hyperkitty.cfg to 1.2.1-1 2023-01-12 18:58:13 +02:00
Kristian Klausen 24e73359c6
Decommission patchwork.archlinux.org and replace it with a static copy[1]
As announced on the mailing list[2] pacman has been migrated to gitlab
and there is no real use for patchwork left, so it can be
decommissioned. A static copy[1] is kept around for the time being to
avoid link rot.

[1] https://gitlab.archlinux.org/archlinux/patchwork-archive
[2] https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/message/7B6R5HVEC67U7B2VQ3SKUVXU4RDCRRMM/

Fix #487
2023-01-08 22:10:49 +01:00
Evangelos Foutras 20b7ca7f85
gitlab_runner: adjust to arch-boxes switch to Geo
The arch-boxes images now default to Geo mirrors and no longer ship
reflector, so we don't have to disable reflector-init or update the
mirrorlist.
2023-01-08 14:56:14 +02:00
Kristian Klausen bd0bae9f48
keycloak: Bump buffer size to make room for response headers
Keycloak is apparently sending over 4k worth of response headers under
some circumstances (maybe when the client sends a stale cookie?), which
causes Nginx to return a 502 error and log "upstream sent too big header
while reading response header from upstream". This is likely also
related to this upstream issue[1]. So bump the buffer to 8k.

[1] https://github.com/keycloak/keycloak/issues/16181
2023-01-05 21:04:35 +01:00
lb-wilson 89a78a3880 archwiki: add DarkMode extension 2022-12-30 10:46:50 +00:00
lb-wilson e360656db0 archwiki: update archwiki version to 1.39.1-2 2022-12-30 10:46:50 +00:00
Evangelos Foutras 66dc40c0fc
fluxbb: install git for cloning the archbbs repo 2022-12-30 11:43:10 +02:00
Evangelos Foutras f9839273df
fluxbb: change Moscow time from UTC+4 to UTC+3
https://bugs.archlinux.org/task/71411
2022-12-30 11:39:40 +02:00
Kristian Klausen c351a12930
mailman: Reject most mails from nonmembers to reduce moderation workload
All lists expect arch-mirrors-announce and aur-requests[1] require the
user to be a member before they can post. Moderating mails from
nonmembers are a lot of work and most of the mails are spam, so let's
just reject them. Mails to arch-mirrors-announce and aur-requests from
nonmembers will still be checked manually, as you aren't required to be
subscribed[1].

[1] https://wiki.archlinux.org/index.php?title=General_guidelines&oldid=750602#Reply_to_the_mailing_list
2022-12-28 23:14:06 +01:00
Evangelos Foutras 51c14ddaf4
archwiki: restart archwiki-runjobs-wait on upgrade
This fixes the unexpanded magic words in mails that we sometimes see.
2022-12-22 21:29:33 +02:00
Jan Alexander Steffens (heftig) c740810d96
matrix: Update synapse to 1.74.0 2022-12-22 17:23:41 +01:00
nl6720 f9543cddd9
archwiki: upgrade to 1.39.0-1 2022-12-20 17:19:16 +02:00
Jan Alexander Steffens (heftig) 4fc52a2d2e
matrix: Enable the bridge's debug endpoint
In order to get access to the `killUser` command.
2022-12-19 00:49:55 +01:00
nl6720 3565d50106
archwiki: show the main page's language button in the header
Enable $wgVectorLanguageInMainPageHeader, so that the main page is consistent with other pages.
See https://www.mediawiki.org/wiki/Skin:Vector/2022#$wgVectorLanguageInMainPageHeader.

Compare: https://wiki.archlinux.org/?languageinmainpageheader=1 vs https://wiki.archlinux.org/?languageinmainpageheader=0

Discussed in https://wiki.archlinux.org/title/MediaWiki_talk:Common.css#Main_page_columns_and_Vector_2022_language_links.
2022-12-11 12:48:10 +02:00
Jan Alexander Steffens (heftig) 354fa9ed44
matrix: Update synapse to 1.73.0 2022-12-10 00:55:52 +01:00
Jan Alexander Steffens (heftig) d8ced720e9
matrix: Adjust modelines
- Add `ft=systemd` where needed
- Remove `ft=` where filetype detection works (especially jinja.vim)
- Set `sw=2 sts=-1 et` everywhere
2022-12-10 00:55:51 +01:00
Jan Alexander Steffens (heftig) 1fbfde201c
matrix: Change IRC nick template
Use the localpart for the default IRC nicknames instead of the display
name, which should make for more succinct nicks.
2022-12-10 00:55:51 +01:00
Evangelos Foutras 733ad7cb24
grafana: rebase grafana.ini to grafana 9.3.0-1 2022-12-04 18:42:52 +02:00
Leonidas Spyropoulos 52f815ebaa
aurweb: bump to v6.1.9
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-11-27 11:14:28 +00:00
Jan Alexander Steffens (heftig) 409e7880c3
matrix: Update mjolnir to v1.6.1 2022-11-23 23:50:45 +01:00
Jan Alexander Steffens (heftig) 927f1b6d4c
matrix: Update synapse to 1.72.0 2022-11-23 19:11:38 +01:00
Jan Alexander Steffens (heftig) 2c1c174169
grafana: Update synapse dashboard
Copy the latest dashboard from upstream, fixing the graphs.
2022-11-19 12:40:27 +01:00
Jelle van der Waa ecc3074330
archweb: add mastodon verification url 2022-11-18 20:42:50 +01:00
Jelle van der Waa cb5f8128fd
Bump archweb to the latest release 2022-11-18 20:39:06 +01:00
Evangelos Foutras 0f8ef2c479
Add GitLab Pages for "rfc"
Ref: https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/15
2022-11-17 22:29:27 +02:00
Evangelos Foutras 9d8146c844
prometheus: restore conf.d/prometheus default perm
No reason this should be 0600 as it doesn't contain any sensitive data;
switch it back to the package's default permissions of 0644.
2022-11-12 20:40:54 +02:00
Evangelos Foutras a782c6953f
syncrepo: let mirrorsync perform the repo syncing
This role will still handle setting up nginx and rsyncd, due to specific
configuration requirements these services have.

We're also effectively relieving build.archlinux.org of rsyncd duties as
it is not something it should be doing anyway.
2022-11-12 20:22:08 +02:00
nl6720 ee84eb063c
mailman: update mkinitcpio URL in arch-projects mailing list description
mkinitcpio moved from GitHub to gitlab.archlinux.org.
See https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/474.
2022-11-12 20:10:12 +02:00
Evangelos Foutras ed19221404
keycloak: remove /auth from all Keycloak endpoints
From [1]: "By default, the new Quarkus distribution removes /auth from
           the context-path."

[1] https://www.keycloak.org/migration/migrating-to-quarkus
2022-11-12 17:33:36 +02:00
Jan Alexander Steffens (heftig) a7cc74f489
matrix: Enable backchannel logouts from keycloak to synapse 2022-11-12 17:32:33 +02:00
Evangelos Foutras c6cfff7756
mailman: use postgresql:// engine URL in mailman.cfg
SQLAlchemy 1.4 no longer accepts engine URLs of the form postgres://.

https://docs.sqlalchemy.org/en/20/changelog/changelog_14.html#change-3687655465c25a39b968b4f5f6e9170b
2022-11-12 01:05:50 +02:00
Jan Alexander Steffens (heftig) 0868a07a6d
matrix: Update synapse to 1.71.0 2022-11-08 20:50:13 +01:00
Evangelos Foutras f9e239e85d
syncrepo: remove redundant CacheDir configuration
CacheDir, as configured by common's pacman.conf task, already includes
the local package mirror when available (on mirrors, gemini and build).
2022-11-06 20:53:34 +02:00
Evangelos Foutras 10edbd1647
mirrorsync: fix hardcoded nginx root directory
This worked because riscv was the only nginx-enabled mirror.

Fixes: 43eb814bcf ("Combine sync{archive,debug,riscv} into mirrorsync")
2022-11-06 19:57:31 +02:00
Evangelos Foutras 095a7d76e7
grafana: add dashboard w/ geo mirror traffic stats 2022-11-06 17:53:34 +02:00
Evangelos Foutras 27f1d4c7c4
grafana: rebase grafana.ini to grafana 9.2.3-1 2022-11-06 15:06:24 +02:00
Evangelos Foutras 8fd41b3b86
sshd: adjust /etc/ssh and includes dir permissions
There is no reason these should have such restrictive permissions, and
missing the execute bit appears to be a mistake. Let /etc/ssh keep the
mode from the package (0755). Use the same for the includes directory.
2022-11-06 07:21:38 +02:00
Leonidas Spyropoulos 1cef59599d
aurweb: release v6.1.8, fix git config setup
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-11-02 23:26:24 +00:00
Leonidas Spyropoulos cc5440eda8
aurweb: remove kevr and allow artafinde to tag releases on aurweb
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-11-02 23:26:24 +00:00
Leonidas Spyropoulos 8c0f468684
aurweb: use specific prod logging on gunicorn
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-11-02 23:26:24 +00:00
Leonidas Spyropoulos ba9786a35e
aurweb: goaurrpc disable admin api with 1.2.0 release
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-11-02 23:26:24 +00:00
Kristian Klausen e9e44d445c
Migrate PostgreSQL to C.UTF-8
C.UTF-8 is installed by default, so we can avoid messing with locale-gen
by using that.

All the postgres servers (excluding matrix due to[1]) have been migrated
with the following commands:
# sudo -u postgres pg_dumpall > d
# sed "s/LOCALE = 'C'/LOCALE = 'C.UTF-8'/" -i d
# systemctl stop postgresql.service
# mv /var/lib/postgres/data{,.old}
$ ansible-playbook --diff -t postgres playbooks/<host>.yml
# sudo -u postgres psql < d

[1] 19a57f4a37/docs/postgres.md (fixing-incorrect-collate-or-ctype)

Fix #470
2022-11-03 00:11:36 +01:00