1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-21 21:31:55 +02:00
Commit Graph

37 Commits

Author SHA1 Message Date
Evangelos Foutras
6468250515
lint: adjust two task names to fix name[template]
Using templates anywhere but the end of the name makes grepping for
errors more difficult.
2022-09-24 07:25:52 +03:00
Evangelos Foutras
578b781966
Capitalize the handler name in handler invocations
Fixes: 26f289b72b ("Capitalize the first letter of all task names")
2022-08-29 21:46:39 +03:00
Evangelos Foutras
26f289b72b
Capitalize the first letter of all task names
ansible-lint 6.5.0 complains about:

  name: All names should start with an
        uppercase letter. (name[casing])
2022-08-23 06:57:13 +03:00
Evangelos Foutras
6c8de85eaf
rebuilderd: fetch dbs/packages from the Geo mirror
Update /etc/rebuilderd-sync.conf to use the Geo host mirror instead of
europe.mirror.pkgbuild.com (for added reliability in case the latter's
availability is impacted).
2022-08-06 18:30:26 +03:00
Evangelos Foutras
c470d4c6e2
rebuilderd: bump max allowed report upload to 200M
The /api/v0/build/report endpoint has received POSTs up to 161M so far
this year (2022). In 2021 there had been POSTs of sizes up to 404M and
up to 814M for 2020. Multiple hundreds of MB seem a bit excessive, but
we should be able to do up to 200M.
2022-08-06 16:34:24 +03:00
Evangelos Foutras
79bddba2e0
rebuilderd: re-indent nginx configuration
Remove a few stray TABs and correct double-indented lines.
2022-08-06 16:27:53 +03:00
Amin Vakil
453bff7437 Fix nginx "single path" location blocks 2021-10-03 15:06:54 +00:00
Jelle van der Waa
062880cf90
Remove unrequired checks as nginx is the default 2021-04-11 17:49:22 +02:00
Kristian Klausen
b70d04fa5c
Send the nginx logs to Loki
A extra access_log entry was added with the following commands:
$ cd roles
$ grep -lr access_log | xargs -P 1 -n 1 sed -i '/access_log/ s/\(.*\)\( \)\(\(reduced\|main\);$\)/\1 \3\n\1.json json_\3/'
2021-04-08 20:33:43 +02:00
Jelle van der Waa
c1cff070a4
Update rebuilderd configuration for 0.9.1 2021-02-04 21:49:32 +01:00
Jelle van der Waa
0295dbbde3
Add testing/community-testing to rebuilderd
To allow packagers to test their changes in the testing repos, enable
them for rebuilderd.
2021-01-26 17:17:36 +01:00
Jelle van der Waa
05673f49a1
Use europe.mirror.pkgbuild.com for rebuilderd
To reduce bandwidth on mirror.pkgbuild.com.
2021-01-26 16:56:41 +01:00
Kristian Klausen
2d152700b6 Move certificate issuing to its own role to ease maintenance
It should make it easier to change how the certificates is issued.
Ex: If we want to switch to ECDSA certificates in the future or replace
certbot with something else.
2021-01-10 20:03:11 +01:00
Jelle van der Waa
683671eeae
Exclude python-tensorflow-* from rebuilderd
As python-tensorflow-* kills our rebuilderd-workers as they are usually
queue at the same time.
2020-12-12 19:45:40 +01:00
Jelle van der Waa
c8f09e5f87
Bump post max size to 25M
Build artifcats are limited to 10MB per piece and we have
logs/diffoscope and json can become a little over 20M.
2020-12-07 18:22:11 +01:00
Jelle van der Waa
c840853184
Remove [testing] from rebuilderd for now
Due to the massive backlog of packages, disable [testing] until
everything is back to being stable. Also disable long during failing to
build packags such as pytorch and kubernetes
2020-12-05 15:10:45 +01:00
Jelle van der Waa
c74014007d
Set X-Real-IP header for both location points
rebuilderd requires an X-Real-IP to be set if configured.
2020-12-05 15:04:14 +01:00
Jelle van der Waa
3c0d203517 Add X-Real-IP configuration to rebuilderd
This allows rebuilderctl status to show the real ip of the
rebuilerd-worker.
2020-12-03 16:19:43 +00:00
Jelle van der Waa
d129e7d947 Add rebuilderd_worker role for repro1.pkgbuild.com
The repro3.pkgbuild.com machine was a packet.net box with an Ubuntu
installation. Now converted to an Arch Linux installation managed by
ansible with a new rebuilderd_worker role.
2020-12-03 16:19:43 +00:00
Jelle van der Waa
6f193b3d20
Also cache svg files for rebuilderd
Now that the archlogo has the version appended we can cache svg's
safely.
2020-11-24 22:05:09 +01:00
Jelle van der Waa
38bef5050c
bump max body post size for rebuilderd 2020-11-21 21:59:57 +01:00
Jelle van der Waa
f458158644
Add archinux-repro configuration file to rebuilderd role 2020-11-21 16:42:43 +01:00
Jelle van der Waa
fbe507d29d
Update rebuilderd-worker and enable diffoscope
rebuilderd-worker now supports an diffoscope output limit allowing us to
define how much data will be POST'ed to rebuilderd via nginx.
2020-11-21 16:10:22 +01:00
Jelle van der Waa
c3d8b18e4c
Fix rebuilderd configuration for the schedule 2020-11-19 20:56:58 +01:00
Jelle van der Waa
1e1875fa09
Add rebuilderd-worker configuration for workers 2020-11-19 20:54:12 +01:00
Jelle van der Waa
b0b40b64ef
Set X-Real-IP header for rebuilderd
Rebuilderd since 0.6.0 supports the X-Real-IP header to show what
builder is working on a task.
2020-11-19 20:50:23 +01:00
Jelle van der Waa
f853a2923a
Set higher max post body size for rebuilderd
rebuilderd-worker can now post diffoscope html output to rebuilderd
whcih requires raising our POST size.
2020-11-14 16:07:11 +01:00
Jelle van der Waa
3c426bfd76
Add caching headers for rebuilderd for JS/CSS
Since rebuilderd-website now does cache busting by appending the version
in it's js/css file we can apply cache headers. Also remove the invalid
Feature-Policy header entry.
2020-11-01 02:19:24 +01:00
Jelle van der Waa
5fa203afd7
Define suites in defaults and add missing [community] 2020-07-06 22:12:14 +02:00
Jelle van der Waa
a40f53f0a2
Enable [commnity] for rebuilderd 2020-06-29 17:59:40 +02:00
Jelle van der Waa
d69a1ec52c
Switch to rebuilderd-website package
Instead of relying on the mess of downloading a tarball release, use the
nicely packaged webapp.
2020-06-27 18:09:00 +02:00
Jelle van der Waa
0a35d3bc4c
Add [testing] to rebuilderd sync configurations
Use with_items to make adding sync configurations easier.
2020-05-24 21:55:03 +02:00
Jelle van der Waa
5d0018b602
Update rebuilder-sync configuration
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-05-18 21:51:49 +02:00
Jelle van der Waa
d9688b118f
rebuilderd: add website to ansible
Ansible the reproducible.archlinux.org website which is as of now still
released from jelly's github and will soon be on archlinux's official
infra.

Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-05-17 17:00:58 +02:00
Jelle van der Waa
22451d8408
Add [extra] to the rebuilderd sync configuration
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2020-05-01 20:55:34 +02:00
Jelle van der Waa
a9a6e58c07 Update rebuilderd to 0.3.0
Adjust the configuration of rebuilderd and change the proxy pass port to
the new default port 8484. Remove the plaintext from nginx as it now
serves a nice html website.
2020-04-28 14:22:40 +02:00
Jelle van der Waa
f9e3e52063 Add reproducible.archlinux.org instance
Create a new VPS for running the master rebuilderd daemon which
coordinates the rebuild tasks to rebuilderd ndoes.

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2020-04-26 01:10:44 +02:00