Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
d6f40cd7
Verified
Commit
d6f40cd7
authored
May 14, 2022
by
Evangelos Foutras
🐱
Browse files
Host debuginfod.archlinux.org on the geo mirrors
Brings it closer to users and with more CPU for gzip compression.
parent
0f94594f
Pipeline
#18752
passed with stage
in 35 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
group_vars/all/geo.yml
View file @
d6f40cd7
geo_acme_dns_challenge_ns
:
redirect.archlinux.org
geo_acme_dns_challenge_ns
:
redirect.archlinux.org
geo_domains
:
geo_domains
:
-
geo.mirror.pkgbuild.com
-
geo.mirror.pkgbuild.com
-
debuginfod.archlinux.org
geo_health_check_paths
:
geo_health_check_paths
:
geo.mirror.pkgbuild.com
:
/lastupdate
geo.mirror.pkgbuild.com
:
/lastupdate
debuginfod.archlinux.org
:
/packages
playbooks/mirrors.yml
View file @
d6f40cd7
...
@@ -16,3 +16,4 @@
...
@@ -16,3 +16,4 @@
-
{
role
:
fail2ban
}
-
{
role
:
fail2ban
}
-
{
role
:
wireguard
}
-
{
role
:
wireguard
}
-
{
role
:
geo_dns
,
when
:
"
'geo_mirrors'
in
group_names"
}
-
{
role
:
geo_dns
,
when
:
"
'geo_mirrors'
in
group_names"
}
-
{
role
:
debuginfod
,
when
:
"
'geo_mirrors'
in
group_names"
}
roles/dbscripts/templates/rsyncd.conf.proto.j2
View file @
d6f40cd7
...
@@ -97,7 +97,7 @@ hosts deny = *
...
@@ -97,7 +97,7 @@ hosts deny = *
comment = debug packages
comment = debug packages
exclude = *
exclude = *
include = /*-debug/*** /pool /pool/*-debug/***
include = /*-debug/*** /pool /pool/*-debug/***
hosts allow = {{ groups['mirrors'] | map('extract', hostvars, ['ipv4_address']) | join(' ') }} {{ groups['mirrors'] | map('extract', hostvars, ['ipv6_address']) | join(' ') }}
{{ hostvars['debuginfod.archlinux.org']['ipv4_address'] }} {{ hostvars['debuginfod.archlinux.org']['ipv6_address'] }}
hosts allow = {{ groups['mirrors'] | map('extract', hostvars, ['ipv4_address']) | join(' ') }} {{ groups['mirrors'] | map('extract', hostvars, ['ipv6_address']) | join(' ') }}
max connections = 0
max connections = 0
# Individual repositories
# Individual repositories
...
...
roles/debuginfod/tasks/main.yml
View file @
d6f40cd7
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
name
:
certificate
name
:
certificate
vars
:
vars
:
domains
:
[
"
{{
debuginfod_domain
}}"
]
domains
:
[
"
{{
debuginfod_domain
}}"
]
challenge
:
"
{{
'DNS-01'
if
'geo_mirrors'
in
group_names
else
'HTTP-01'
}}"
when
:
debuginfod_domain
when
:
debuginfod_domain
-
name
:
configure debuginfod systemd service
-
name
:
configure debuginfod systemd service
...
...
roles/prometheus/defaults/main.yml
View file @
d6f40cd7
...
@@ -77,6 +77,8 @@ blackbox_targets:
...
@@ -77,6 +77,8 @@ blackbox_targets:
-
lists.archlinux.org:25
-
lists.archlinux.org:25
geo_dns_geo.mirror.pkgbuild.com_a
:
"
{{
groups['geo_mirrors']
}}"
geo_dns_geo.mirror.pkgbuild.com_a
:
"
{{
groups['geo_mirrors']
}}"
geo_dns_geo.mirror.pkgbuild.com_aaaa
:
"
{{
groups['geo_mirrors']
}}"
geo_dns_geo.mirror.pkgbuild.com_aaaa
:
"
{{
groups['geo_mirrors']
}}"
geo_dns_debuginfod.archlinux.org_a
:
"
{{
groups['geo_mirrors']
}}"
geo_dns_debuginfod.archlinux.org_aaaa
:
"
{{
groups['geo_mirrors']
}}"
matrix_metrics_endpoints
:
matrix_metrics_endpoints
:
-
homeserver
-
homeserver
-
appservice
-
appservice
...
...
tf-stage1/archlinux.tf
View file @
d6f40cd7
...
@@ -146,7 +146,7 @@ locals {
...
@@ -146,7 +146,7 @@ locals {
},
},
"debuginfod.archlinux.org"
=
{
"debuginfod.archlinux.org"
=
{
server_type
=
"cx11"
server_type
=
"cx11"
domain
=
"debuginfod"
domain
=
"debuginfod
-old
"
}
}
"buildbot.pkgbuild.com"
=
{
"buildbot.pkgbuild.com"
=
{
server_type
=
"cx21"
server_type
=
"cx21"
...
@@ -371,6 +371,10 @@ locals {
...
@@ -371,6 +371,10 @@ locals {
zone_id
=
hetznerdns_zone
.
pkgbuild
.
id
zone_id
=
hetznerdns_zone
.
pkgbuild
.
id
name
=
"geo.mirror"
name
=
"geo.mirror"
}
}
"debuginfod.archlinux.org"
=
{
zone_id
=
hetznerdns_zone
.
archlinux
.
id
name
=
"debuginfod"
}
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment