1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-10 06:36:08 +02:00
Commit Graph

1239 Commits

Author SHA1 Message Date
Bartłomiej Piotrowski 3e8f6d8197 Revert "Add my dragon ssh key"
This reverts commit 27ec5b773c.
2019-03-20 21:59:18 +01:00
Evangelos Foutras 5204d9d9e9 zabbix-agent: clarify python-zabbix-api is needed locally 2019-03-20 22:55:46 +02:00
Sven-Hendrik Haase 08f4f6ea46 Fix date in motd 2019-03-20 11:10:30 +01:00
Sven-Hendrik Haase b9d47a8390 install_arch: fstrim -> fstrim.timer 2019-03-20 10:52:33 +01:00
Sven-Hendrik Haase e729ff599a tools: Add ranger and vifm for nicer file navigration 2019-03-20 09:15:38 +01:00
Sven-Hendrik Haase d125b10801 tools: Add fasd to quickly jump all over the place 2019-03-20 09:09:57 +01:00
Sven-Hendrik Haase f610774aef tools: Add fzf for nice fuzzy finding stuff 2019-03-20 09:08:33 +01:00
Sven-Hendrik Haase 9b382a93c2 tools: Add stow for easy dotfile management 2019-03-20 09:00:10 +01:00
Sven-Hendrik Haase 27ec5b773c Add my dragon ssh key 2019-03-20 08:55:19 +01:00
Sven-Hendrik Haase f5d5de17ec Update MOTD 2019-03-20 08:00:45 +01:00
Sven-Hendrik Haase b05de302d6 tools: Add some more tools:
- glances: Helpful tool to see everything going on in the server in real time
- tokei: Like cloc but doesn't suck
- bat: A really neat auto-paging cat with syntax highlighting that use pretty often
- hexyl: Look at binary stuff
2019-03-20 07:59:56 +01:00
Evangelos Foutras 48a61e5063 Add syncrepo and sogrep roles to dragon
These are required for a working build server.
2019-03-20 02:19:21 +02:00
Evangelos Foutras 6b0bbe5626 syncrepo: create nginx log dir iff mirror_domain is defined 2019-03-20 02:03:37 +02:00
Evangelos Foutras e5128f1dcf install_arch: preserve stock nsswitch.conf
Leaving "dns" out of "hosts" breaks DNS lookups when resolved is
stopped.
2019-03-20 01:41:04 +02:00
Evangelos Foutras 282266d4ff Add my build host key to dragon 2019-03-20 00:06:45 +02:00
Evangelos Foutras 52bb7960c7 Update dragon's network interface name 2019-03-19 23:31:41 +02:00
Giancarlo Razzolini 6085c220f9
Merge branch 'master' of arch-git:/srv/git/infrastructure 2019-03-19 16:40:43 -03:00
Giancarlo Razzolini 5f5c0d56bd
archusers: Add developer powers to dvzrv. 2019-03-19 16:39:09 -03:00
Sven-Hendrik Haase eb39173010 Initial dragon playbook 2019-03-19 20:30:51 +01:00
Sven-Hendrik Haase 1604966684 Add the new boi: dragon.archlinux.org 2019-03-19 18:53:54 +01:00
Sven-Hendrik Haase b2e22da8e6 Remove redundant config that's already defined in group_vars/all 2019-03-19 18:53:29 +01:00
Sven-Hendrik Haase ab1c932e7a Lower Python version requirement to any Python 3 version
This is because otherwise we'll fail to install on any system not explicitly running Python 3.7 (like some Debian we provision Arch on).
We don't strictly need Python 3.7 and most Python 3 versions will in fact work with Ansible.
2019-03-19 18:51:44 +01:00
Jelle van der Waa c4dff00899 install_arch: switch to python3
We've changed ansible to use python3 now and Python 2 will be deprecated
next year.
2019-03-17 17:25:06 +01:00
Jelle van der Waa 9f53e7a85a tools: change obsolete python2 dep
python2-neovim is removed from the repos, switch to python3 variant.
2019-03-17 17:23:35 +01:00
Jelle van der Waa 62ac66f9d3 archweb: use python -m venv
Python 3.3 has venv support, prefer this method over virtualenv.
2019-03-17 17:22:17 +01:00
Florian Pritz 466cc41eef
zabbix-agent: Monitor 502 nginx errors
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-03-16 10:29:57 +01:00
Florian Pritz 71a507703d archive: Fix typo in regex group assignment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-03-16 10:14:57 +01:00
Florian Pritz cd7205d31b archive: Reuse regex of /.all/ for /repos/ redirections
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-03-16 10:14:57 +01:00
Florian Pritz 19c0ec0aac archive: Fix redirection for pkgnames with hyphens for .all subdir
Similar change to cb7ac5c302 except that
the pattern is adapted to extract the first char of the pkgname too.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-03-16 10:14:57 +01:00
Jelle van der Waa cff9dea0cf archweb: update to march release 2019-03-15 23:12:40 +01:00
Jan Alexander Steffens (heftig) e2d0380b45
Gitpkg: Add --print-errorlogs to meson test 2019-03-15 17:40:39 +01:00
Florian Pritz cb7ac5c302
archive: Fix redirect for packages with hyphen in pkgname
https://archive.archlinux.org/repos/2016/09/01/core/os/x86_64/iana-etc-20160513-1-any.pkg.tar.xz

should redirect to

https://archive.org/download/archlinux_pkg_iana-etc/iana-etc-20160513-1-any.pkg.tar.xz

but it actually redirects to the URL with the "-etc" part missing from
the directory name. The new regex fixes this by removing the part where
pkgver is allowed to have a hyphen. The PKGBUILD manpage explains that
pkgver is explicitly not allowed to contain a hyphen so we do not need
to allow this either.

It also makes the regex more readable by using named groups for the
different parts.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-02-28 17:44:33 +01:00
Florian Pritz 5b06d2e3b0 zabbix-agent: Monitor accounting information for syslog-ng
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-02-28 17:15:22 +01:00
Florian Pritz 39071e7a5a common: Add syslog-ng and logrotate
journal logs are nice and all, but they are comparatively large and
(mostly) uncompressed. This way we at can at least maintain logs for a
reasonable time frame to investigate issues even if the journal decided
that it has to clean up "old" logs.

The logrotate config uses an archive directory to rotate logs to for
stricter permissions on old logs to increase data protection (EU GDPR).

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-02-28 17:15:22 +01:00
Florian Pritz daec2ae207
grafana: Limit cookies to HTTPS
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-02-27 16:14:26 +01:00
Florian Pritz 1321e9e6de
grafana: Merge upstream config changes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-02-27 16:13:10 +01:00
Evangelos Foutras d9f1649cb3 common: drop congestion control configuration
It's highly unlikely we'll be using anything other than cubic, so there
is no need for this to be configurable.
2019-02-27 11:49:26 +02:00
Jelle van der Waa 31fffc5a8d public_html: update css for archnav bar
Sync CSS with archweb.
2019-02-24 20:36:23 +01:00
Jelle van der Waa 64aa569b69 Cleanup archweb.css to bare minimum
A lot of CSS classes where not required, remove those rules.
2019-02-24 20:24:03 +01:00
Jelle van der Waa 451ee136fa remove projection media type 2019-02-24 20:23:31 +01:00
Jelle van der Waa 6a4482ee75 Update to 02-24 release
Fixes create user bug.
2019-02-24 17:26:38 +01:00
Jan Alexander Steffens (heftig) 4c022fed44
gitpkg: Support '?signed' 2019-02-23 21:27:36 +01:00
Jelle van der Waa f574043476 remove nymeria server from ansible
nymeria was a sponsored dedicated server but the server has been
cancelled.
2019-02-23 17:06:08 +01:00
Jelle van der Waa 0fa1be4b75 archweb: update to 02-23 release 2019-02-23 17:01:08 +01:00
Jan Alexander Steffens (heftig) 1902860609
clean-dests: Speed up
Try not to scan deep into directory trees and exit early if we find a
new enough file. An LLVM SVN checkout has a lot of files.

I don't think zsh glob can do this so reimplement in bash+find.
2019-02-17 02:05:17 +01:00
Florian Pritz f4d35d2ed6
syncrepo: Fix usage of undefined variable
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-02-16 15:36:44 +01:00
Florian Pritz e9c89dcfdc
syncrepo: Fix comment not being a comment
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-02-16 15:26:35 +01:00
Florian Pritz 552c52730b
nginx: Increase http2_max_field_size for AUR
This is changed globally because it is probably fine for other services
too.

Some AUR RPC requests apparently manage to hit the 4k default limit and
if they do, they get an empty response. This is an easier fix to the
problam than  changing the maximum request length in each AUR helper.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2019-02-16 14:55:30 +01:00
Jan Alexander Steffens (heftig) a44b604f6b
postgres: Integrate soyuz' config and clean up syntax 2019-02-15 11:24:53 +01:00
Jelle van der Waa 57f79764ec archweb: Update archweb to latest version 2019-02-14 21:23:13 +01:00