]>
git.openstreetmap.org Git - chef.git/log
Tom Hughes [Sun, 8 Oct 2023 07:43:08 +0000 (08:43 +0100)]
Use local variables in functions to avoid damaging the global scope
Tom Hughes [Fri, 6 Oct 2023 21:40:16 +0000 (22:40 +0100)]
Ignore ancestry when switching svn branches
Guillaume Rischard [Fri, 6 Oct 2023 21:00:57 +0000 (17:00 -0400)]
Freeze mutable objects assigned to constants
Fixes cookstyle complaint:
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Inspecting 597 files
...............................................................C.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Offenses:
cookbooks/db/recipes/master.rb:87:22: C: [Correctable] Style/MutableConstant: Freeze mutable objects assigned to constants.
CGIMAP_PERMISSIONS = { ...
^
cookbooks/db/recipes/master.rb:122:26: C: [Correctable] Style/MutableConstant: Freeze mutable objects assigned to constants.
PLANETDUMP_PERMISSIONS = { ...
^
cookbooks/db/recipes/master.rb:128:26: C: [Correctable] Style/MutableConstant: Freeze mutable objects assigned to constants.
PLANETDIFF_PERMISSIONS = { ...
^
597 files inspected, 3 offenses detected, 3 offenses auto-correctable
Guillaume RISCHARD [Fri, 6 Oct 2023 20:55:53 +0000 (16:55 -0400)]
civicrm version bump, new plugins, cleanup
Tom Hughes [Fri, 6 Oct 2023 15:40:57 +0000 (15:40 +0000)]
Simplify configuration of database permissions
Tom Hughes [Fri, 6 Oct 2023 08:52:40 +0000 (08:52 +0000)]
Ignore system tables and sequences
Tom Hughes [Fri, 6 Oct 2023 07:13:50 +0000 (08:13 +0100)]
Minimise permissions for planetdump and planetdiff users
Tom Hughes [Thu, 5 Oct 2023 19:01:28 +0000 (20:01 +0100)]
Run smokeping on prometheus servers
Tom Hughes [Thu, 5 Oct 2023 17:24:31 +0000 (17:24 +0000)]
Add additional PostgreSQL ACL permission decoding
https://www.postgresql.org/docs/current/ddl-priv.html#PRIVILEGE-ABBREVS-TABLE
Tom Hughes [Thu, 5 Oct 2023 17:07:56 +0000 (17:07 +0000)]
Manage permissions for database tables and sequences
Tom Hughes [Thu, 5 Oct 2023 16:02:17 +0000 (17:02 +0100)]
Remove role for nepomuk
Tom Hughes [Thu, 5 Oct 2023 15:45:05 +0000 (16:45 +0100)]
Drop role for firnen
Tom Hughes [Thu, 5 Oct 2023 13:29:56 +0000 (13:29 +0000)]
Add postgresql_sequence for managing sequences
Tom Hughes [Thu, 5 Oct 2023 13:29:21 +0000 (13:29 +0000)]
Limit postgresql_table to acting on tables
Tom Hughes [Thu, 5 Oct 2023 12:58:38 +0000 (13:58 +0100)]
Manage cgimap postgres user
Tom Hughes [Thu, 5 Oct 2023 12:58:13 +0000 (13:58 +0100)]
Drop gpximport postgres users that is no longer used
Sarah Hoffmann [Thu, 5 Oct 2023 12:36:21 +0000 (14:36 +0200)]
nominatim: update OpenSearch description
Grant Slater [Wed, 4 Oct 2023 16:17:02 +0000 (17:17 +0100)]
irc: Use new image name
The repo was renamed to add the website suffix per style of the other sites.
Tom Hughes [Tue, 3 Oct 2023 18:20:40 +0000 (19:20 +0100)]
Configure signing key for OpenID Connect
Tom Hughes [Mon, 2 Oct 2023 18:14:02 +0000 (19:14 +0100)]
Add laser power alerts for switches
Tom Hughes [Mon, 2 Oct 2023 16:08:26 +0000 (17:08 +0100)]
Drop role for pyrene
Tom Hughes [Fri, 29 Sep 2023 19:47:59 +0000 (20:47 +0100)]
Enable network access for planetdump service so it can publish to S3
Tom Hughes [Fri, 29 Sep 2023 16:33:26 +0000 (17:33 +0100)]
Add OOB for grisu to dhcp
Tom Hughes [Thu, 28 Sep 2023 17:56:39 +0000 (18:56 +0100)]
Run a yearly reindex of the larger database tables
The reindex starts at 0200 on the second Friday in January to
avoid the monthly reindex that runs on the first Sunday of the
month and sit between two weekly backups.
Tom Hughes [Thu, 28 Sep 2023 17:28:27 +0000 (18:28 +0100)]
Simplify fdirsync and avoid race closing the descriptor
Grant Slater [Thu, 28 Sep 2023 15:16:33 +0000 (16:16 +0100)]
Fix extra whitespace in planetdump
Tom Hughes [Thu, 28 Sep 2023 14:50:52 +0000 (15:50 +0100)]
Merge remote-tracking branch 'github/pull/626'
Grant Slater [Thu, 28 Sep 2023 14:43:15 +0000 (15:43 +0100)]
Do not report progress on scripted s3 uploads
Grant Slater [Thu, 28 Sep 2023 14:42:36 +0000 (15:42 +0100)]
Tune s3 upload speed and concurrency
Grant Slater [Thu, 28 Sep 2023 12:42:06 +0000 (13:42 +0100)]
planet: add tile_logs S3 redirect
Fixes: https://github.com/openstreetmap/operations/issues/965
Tom Hughes [Thu, 28 Sep 2023 07:28:09 +0000 (08:28 +0100)]
Correct interface name for bowser
Tom Hughes [Thu, 28 Sep 2023 07:27:29 +0000 (08:27 +0100)]
Switch balerion to use postgresql 16
Tom Hughes [Tue, 26 Sep 2023 15:52:45 +0000 (16:52 +0100)]
Switch balerion to use postgresql 16
Guillaume RISCHARD [Tue, 26 Sep 2023 05:43:11 +0000 (01:43 -0400)]
Civi+extension version bump
Grant Slater [Tue, 26 Sep 2023 01:03:53 +0000 (02:03 +0100)]
planet: remove cleanup code
Grant Slater [Tue, 26 Sep 2023 00:58:58 +0000 (01:58 +0100)]
planet: fix minor typo
Grant Slater [Tue, 26 Sep 2023 00:57:17 +0000 (01:57 +0100)]
planet: fix redirect for full-history osm files
Grant Slater [Tue, 26 Sep 2023 00:48:00 +0000 (01:48 +0100)]
planet: remove old legacy mirror redirect updater
Grant Slater [Tue, 26 Sep 2023 00:27:02 +0000 (01:27 +0100)]
planet: Remove download speed limit
Grant Slater [Mon, 25 Sep 2023 17:16:28 +0000 (18:16 +0100)]
Add redirects to planet S3
Grant Slater [Mon, 25 Sep 2023 17:14:50 +0000 (18:14 +0100)]
Port apache-latest-planet-filename to python
Tom Hughes [Sun, 24 Sep 2023 22:49:59 +0000 (23:49 +0100)]
Merge remote-tracking branch 'github/pull/623'
Grant Slater [Sun, 24 Sep 2023 22:35:51 +0000 (23:35 +0100)]
Add geoipupdate depends on planet
Paul Norman [Sun, 24 Sep 2023 21:27:51 +0000 (14:27 -0700)]
Add a comment indicating where imagery blacklist requests come from
Tom Hughes [Sun, 24 Sep 2023 18:27:20 +0000 (19:27 +0100)]
Copy planet dumps to S3
Tom Hughes [Sun, 24 Sep 2023 17:57:53 +0000 (18:57 +0100)]
Copy tile logs to S3
Tom Hughes [Sun, 24 Sep 2023 15:06:23 +0000 (16:06 +0100)]
Copy hourly and daily replication diffs to S3
Tom Hughes [Sun, 24 Sep 2023 14:45:18 +0000 (15:45 +0100)]
Make paths explicit
Tom Hughes [Sun, 24 Sep 2023 14:35:00 +0000 (15:35 +0100)]
Copy minutely replication diffs to S3
Tom Hughes [Sun, 24 Sep 2023 09:55:38 +0000 (10:55 +0100)]
Fix access to AWS credentials for planet services
Tom Hughes [Sun, 24 Sep 2023 09:54:53 +0000 (10:54 +0100)]
Add support for BindPaths and BindReadOnlyPaths to systemd_service
Tom Hughes [Sun, 24 Sep 2023 09:41:09 +0000 (10:41 +0100)]
Copy changeset replication diffs to S3
Tom Hughes [Sun, 24 Sep 2023 09:11:11 +0000 (10:11 +0100)]
Enable some addition postgres collectors
Tom Hughes [Sun, 24 Sep 2023 09:03:06 +0000 (10:03 +0100)]
Replace custom query with process_idle collector
Tom Hughes [Sun, 24 Sep 2023 08:59:14 +0000 (09:59 +0100)]
Give notes dump access to AWS credentials
Tom Hughes [Sat, 23 Sep 2023 23:42:29 +0000 (00:42 +0100)]
Add DHCP and DNS for new machines
Tom Hughes [Sat, 23 Sep 2023 23:24:33 +0000 (00:24 +0100)]
Add roles for fume and grisu
Tom Hughes [Sat, 23 Sep 2023 23:06:04 +0000 (00:06 +0100)]
Merge remote-tracking branch 'github/pull/621'
Grant Slater [Sat, 23 Sep 2023 22:55:55 +0000 (23:55 +0100)]
dhcpd: use correct netboot.xyz PXE filename.
Tom Hughes [Sat, 23 Sep 2023 16:50:38 +0000 (17:50 +0100)]
Merge remote-tracking branch 'github/pull/622'
Tom Hughes [Sat, 23 Sep 2023 15:57:09 +0000 (16:57 +0100)]
Add planet::aws recipe to configure awscli for planet uploads
Tom Hughes [Sat, 23 Sep 2023 11:52:44 +0000 (12:52 +0100)]
Make sure the planet user is created by recipes which use it
Tom Hughes [Sat, 23 Sep 2023 11:50:09 +0000 (12:50 +0100)]
Fix recipe ordering
Tom Hughes [Sat, 23 Sep 2023 11:19:18 +0000 (12:19 +0100)]
Copy notes dumps to S3
Tom Hughes [Sat, 23 Sep 2023 11:10:37 +0000 (12:10 +0100)]
Run tile log analysis as the planet user
Tom Hughes [Sat, 23 Sep 2023 11:05:21 +0000 (12:05 +0100)]
Use the planet user consistently for generating planet data
Tom Hughes [Fri, 22 Sep 2023 16:52:57 +0000 (17:52 +0100)]
Configure Tracestrack API key for the web site
Tom Hughes [Fri, 22 Sep 2023 08:43:41 +0000 (09:43 +0100)]
Remove tile role from pyrene
Sarah Hoffmann [Thu, 21 Sep 2023 09:04:47 +0000 (11:04 +0200)]
nominatim: tweak pool size on vhagar
Grant Slater [Wed, 20 Sep 2023 16:57:57 +0000 (17:57 +0100)]
Add awscli to planet cookbooks
Tom Hughes [Wed, 20 Sep 2023 07:36:55 +0000 (08:36 +0100)]
Fix paths
Tom Hughes [Wed, 20 Sep 2023 07:32:55 +0000 (08:32 +0100)]
Remove the ability to specify a custom directory for mediawiki
It doesn't actually work because the timer jobs assums they can
infer the directory from the site name.
Sarah Hoffmann [Mon, 18 Sep 2023 18:36:18 +0000 (20:36 +0200)]
nominatim: switch longma to postgres 16
Grant Slater [Mon, 18 Sep 2023 17:28:09 +0000 (18:28 +0100)]
Fix osmf mediawiki skin site name
Tom Hughes [Mon, 18 Sep 2023 16:50:09 +0000 (17:50 +0100)]
Merge remote-tracking branch 'github/pull/618'
Tom Hughes [Mon, 18 Sep 2023 16:49:01 +0000 (17:49 +0100)]
Merge remote-tracking branch 'github/pull/619'
Paul Norman [Mon, 18 Sep 2023 16:47:05 +0000 (09:47 -0700)]
Add dev dependencies of mod_tile to dev server
Grant Slater [Mon, 18 Sep 2023 14:27:08 +0000 (15:27 +0100)]
Allow wiki to serve main page on /
Grant Slater [Mon, 18 Sep 2023 14:26:41 +0000 (15:26 +0100)]
Switch OSMF default site to bare domain
Grant Slater [Sun, 17 Sep 2023 00:28:37 +0000 (01:28 +0100)]
Revert "Add contact form 7 to blog.openstreetmap.org"
This reverts commit
5e921d8b793856c60973888cc866d087594e89db .
Grant Slater [Sun, 17 Sep 2023 00:28:35 +0000 (01:28 +0100)]
Revert "Remove broken wordpress_plugin line from previous commit"
This reverts commit
d1f00bcdca1e465514141d591384d219b81b72b0 .
Grant Slater [Sun, 17 Sep 2023 00:27:14 +0000 (01:27 +0100)]
Remove broken wordpress_plugin line from previous commit
Guillaume RISCHARD [Sat, 16 Sep 2023 23:30:51 +0000 (19:30 -0400)]
Add contact form 7 to blog.openstreetmap.org
Tom Hughes [Thu, 14 Sep 2023 21:09:16 +0000 (22:09 +0100)]
Revert accidental commit
Tom Hughes [Thu, 14 Sep 2023 09:08:07 +0000 (10:08 +0100)]
Add missing comma
Tom Hughes [Thu, 14 Sep 2023 09:05:57 +0000 (10:05 +0100)]
Merge remote-tracking branch 'github/pull/614'
Paul Norman [Tue, 12 Sep 2023 09:34:27 +0000 (02:34 -0700)]
Set reasonable PostgreSQL GUCs for tile servers
These are based off of the osm2pgsql.org recommendations, scaled
for the larger servers we run, as well as experience running
PostgreSQL in a large variety of environments.
Tom Hughes [Thu, 14 Sep 2023 08:46:39 +0000 (09:46 +0100)]
Merge remote-tracking branch 'github/pull/617'
Paul Norman [Thu, 14 Sep 2023 08:40:55 +0000 (01:40 -0700)]
Remove unused PostgreSQL config from Prometheus
Tom Hughes [Thu, 14 Sep 2023 08:11:45 +0000 (09:11 +0100)]
Merge remote-tracking branch 'github/pull/616'
Paul Norman [Thu, 14 Sep 2023 03:49:32 +0000 (20:49 -0700)]
Update to tilelog v1.7.0
Tom Hughes [Tue, 12 Sep 2023 23:09:02 +0000 (00:09 +0100)]
Match number of apache workers on tile servers to the CPU count
Tom Hughes [Tue, 12 Sep 2023 20:03:08 +0000 (21:03 +0100)]
Try and ensure tile server use an integer number of listen buckets
Tom Hughes [Tue, 12 Sep 2023 15:28:44 +0000 (16:28 +0100)]
Merge remote-tracking branch 'github/pull/613'
Tom Hughes [Tue, 12 Sep 2023 15:11:54 +0000 (16:11 +0100)]
Merge remote-tracking branch 'github/pull/615'
dependabot[bot] [Tue, 12 Sep 2023 11:33:03 +0000 (11:33 +0000)]
build(deps): bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Guillaume RISCHARD [Tue, 12 Sep 2023 09:47:12 +0000 (05:47 -0400)]
cookstyle
Paul Norman [Mon, 11 Sep 2023 21:27:05 +0000 (14:27 -0700)]
Set default effective_io_concurrency and random_page_cost to SSD values
Since all the drives with DBs on them are SSDs, set these GUCs to values
more appropriate to a generic SSD. NVMe drives could have even higher
concurrency, but this is a reasonable start.
Guillaume RISCHARD [Mon, 11 Sep 2023 16:40:14 +0000 (12:40 -0400)]
add stripe payment requirement firewall
Guillaume RISCHARD [Mon, 11 Sep 2023 16:10:11 +0000 (12:10 -0400)]
add stripe payment requirement sweetalert