]> git.openstreetmap.org Git - chef.git/log
chef.git
13 months agoUse local variables in functions to avoid damaging the global scope
Tom Hughes [Sun, 8 Oct 2023 07:43:08 +0000 (08:43 +0100)]
Use local variables in functions to avoid damaging the global scope

13 months agoIgnore ancestry when switching svn branches
Tom Hughes [Fri, 6 Oct 2023 21:40:16 +0000 (22:40 +0100)]
Ignore ancestry when switching svn branches

13 months agoFreeze mutable objects assigned to constants
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

13 months agocivicrm version bump, new plugins, cleanup
Guillaume RISCHARD [Fri, 6 Oct 2023 20:55:53 +0000 (16:55 -0400)]
civicrm version bump, new plugins, cleanup

13 months agoSimplify configuration of database permissions
Tom Hughes [Fri, 6 Oct 2023 15:40:57 +0000 (15:40 +0000)]
Simplify configuration of database permissions

13 months agoIgnore system tables and sequences
Tom Hughes [Fri, 6 Oct 2023 08:52:40 +0000 (08:52 +0000)]
Ignore system tables and sequences

13 months agoMinimise permissions for planetdump and planetdiff users
Tom Hughes [Fri, 6 Oct 2023 07:13:50 +0000 (08:13 +0100)]
Minimise permissions for planetdump and planetdiff users

13 months agoRun smokeping on prometheus servers
Tom Hughes [Thu, 5 Oct 2023 19:01:28 +0000 (20:01 +0100)]
Run smokeping on prometheus servers

13 months agoAdd additional PostgreSQL ACL permission decoding
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

13 months agoManage permissions for database tables and sequences
Tom Hughes [Thu, 5 Oct 2023 17:07:56 +0000 (17:07 +0000)]
Manage permissions for database tables and sequences

13 months agoRemove role for nepomuk
Tom Hughes [Thu, 5 Oct 2023 16:02:17 +0000 (17:02 +0100)]
Remove role for nepomuk

13 months agoDrop role for firnen
Tom Hughes [Thu, 5 Oct 2023 15:45:05 +0000 (16:45 +0100)]
Drop role for firnen

13 months agoAdd postgresql_sequence for managing sequences
Tom Hughes [Thu, 5 Oct 2023 13:29:56 +0000 (13:29 +0000)]
Add postgresql_sequence for managing sequences

13 months agoLimit postgresql_table to acting on tables
Tom Hughes [Thu, 5 Oct 2023 13:29:21 +0000 (13:29 +0000)]
Limit postgresql_table to acting on tables

13 months agoManage cgimap postgres user
Tom Hughes [Thu, 5 Oct 2023 12:58:38 +0000 (13:58 +0100)]
Manage cgimap postgres user

13 months agoDrop gpximport postgres users that is no longer used
Tom Hughes [Thu, 5 Oct 2023 12:58:13 +0000 (13:58 +0100)]
Drop gpximport postgres users that is no longer used

13 months agonominatim: update OpenSearch description
Sarah Hoffmann [Thu, 5 Oct 2023 12:36:21 +0000 (14:36 +0200)]
nominatim: update OpenSearch description

13 months agoirc: Use new image name
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.

13 months agoConfigure signing key for OpenID Connect
Tom Hughes [Tue, 3 Oct 2023 18:20:40 +0000 (19:20 +0100)]
Configure signing key for OpenID Connect

13 months agoAdd laser power alerts for switches
Tom Hughes [Mon, 2 Oct 2023 18:14:02 +0000 (19:14 +0100)]
Add laser power alerts for switches

13 months agoDrop role for pyrene
Tom Hughes [Mon, 2 Oct 2023 16:08:26 +0000 (17:08 +0100)]
Drop role for pyrene

13 months agoEnable network access for planetdump service so it can publish to S3
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

13 months agoAdd OOB for grisu to dhcp
Tom Hughes [Fri, 29 Sep 2023 16:33:26 +0000 (17:33 +0100)]
Add OOB for grisu to dhcp

13 months agoRun a yearly reindex of the larger database tables
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.

13 months agoSimplify fdirsync and avoid race closing the descriptor
Tom Hughes [Thu, 28 Sep 2023 17:28:27 +0000 (18:28 +0100)]
Simplify fdirsync and avoid race closing the descriptor

13 months agoFix extra whitespace in planetdump
Grant Slater [Thu, 28 Sep 2023 15:16:33 +0000 (16:16 +0100)]
Fix extra whitespace in planetdump

13 months agoMerge remote-tracking branch 'github/pull/626'
Tom Hughes [Thu, 28 Sep 2023 14:50:52 +0000 (15:50 +0100)]
Merge remote-tracking branch 'github/pull/626'

13 months agoDo not report progress on scripted s3 uploads
Grant Slater [Thu, 28 Sep 2023 14:43:15 +0000 (15:43 +0100)]
Do not report progress on scripted s3 uploads

13 months agoTune s3 upload speed and concurrency
Grant Slater [Thu, 28 Sep 2023 14:42:36 +0000 (15:42 +0100)]
Tune s3 upload speed and concurrency

13 months agoplanet: add tile_logs S3 redirect
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
13 months agoCorrect interface name for bowser
Tom Hughes [Thu, 28 Sep 2023 07:28:09 +0000 (08:28 +0100)]
Correct interface name for bowser

13 months agoSwitch balerion to use postgresql 16
Tom Hughes [Thu, 28 Sep 2023 07:27:29 +0000 (08:27 +0100)]
Switch balerion to use postgresql 16

13 months agoSwitch balerion to use postgresql 16
Tom Hughes [Tue, 26 Sep 2023 15:52:45 +0000 (16:52 +0100)]
Switch balerion to use postgresql 16

13 months agoCivi+extension version bump
Guillaume RISCHARD [Tue, 26 Sep 2023 05:43:11 +0000 (01:43 -0400)]
Civi+extension version bump

13 months agoplanet: remove cleanup code
Grant Slater [Tue, 26 Sep 2023 01:03:53 +0000 (02:03 +0100)]
planet: remove cleanup code

13 months agoplanet: fix minor typo
Grant Slater [Tue, 26 Sep 2023 00:58:58 +0000 (01:58 +0100)]
planet: fix minor typo

13 months agoplanet: fix redirect for full-history osm files
Grant Slater [Tue, 26 Sep 2023 00:57:17 +0000 (01:57 +0100)]
planet: fix redirect for full-history osm files

13 months agoplanet: remove old legacy mirror redirect updater
Grant Slater [Tue, 26 Sep 2023 00:48:00 +0000 (01:48 +0100)]
planet: remove old legacy mirror redirect updater

13 months agoplanet: Remove download speed limit
Grant Slater [Tue, 26 Sep 2023 00:27:02 +0000 (01:27 +0100)]
planet: Remove download speed limit

13 months agoAdd redirects to planet S3
Grant Slater [Mon, 25 Sep 2023 17:16:28 +0000 (18:16 +0100)]
Add redirects to planet S3

13 months agoPort apache-latest-planet-filename to python
Grant Slater [Mon, 25 Sep 2023 17:14:50 +0000 (18:14 +0100)]
Port apache-latest-planet-filename to python

13 months agoMerge remote-tracking branch 'github/pull/623'
Tom Hughes [Sun, 24 Sep 2023 22:49:59 +0000 (23:49 +0100)]
Merge remote-tracking branch 'github/pull/623'

13 months agoAdd geoipupdate depends on planet
Grant Slater [Sun, 24 Sep 2023 22:35:51 +0000 (23:35 +0100)]
Add geoipupdate depends on planet

13 months agoAdd a comment indicating where imagery blacklist requests come from
Paul Norman [Sun, 24 Sep 2023 21:27:51 +0000 (14:27 -0700)]
Add a comment indicating where imagery blacklist requests come from

13 months agoCopy planet dumps to S3
Tom Hughes [Sun, 24 Sep 2023 18:27:20 +0000 (19:27 +0100)]
Copy planet dumps to S3

13 months agoCopy tile logs to S3
Tom Hughes [Sun, 24 Sep 2023 17:57:53 +0000 (18:57 +0100)]
Copy tile logs to S3

13 months agoCopy hourly and daily replication diffs to S3
Tom Hughes [Sun, 24 Sep 2023 15:06:23 +0000 (16:06 +0100)]
Copy hourly and daily replication diffs to S3

13 months agoMake paths explicit
Tom Hughes [Sun, 24 Sep 2023 14:45:18 +0000 (15:45 +0100)]
Make paths explicit

13 months agoCopy minutely replication diffs to S3
Tom Hughes [Sun, 24 Sep 2023 14:35:00 +0000 (15:35 +0100)]
Copy minutely replication diffs to S3

13 months agoFix access to AWS credentials for planet services
Tom Hughes [Sun, 24 Sep 2023 09:55:38 +0000 (10:55 +0100)]
Fix access to AWS credentials for planet services

13 months agoAdd support for BindPaths and BindReadOnlyPaths to systemd_service
Tom Hughes [Sun, 24 Sep 2023 09:54:53 +0000 (10:54 +0100)]
Add support for BindPaths and BindReadOnlyPaths to systemd_service

13 months agoCopy changeset replication diffs to S3
Tom Hughes [Sun, 24 Sep 2023 09:41:09 +0000 (10:41 +0100)]
Copy changeset replication diffs to S3

13 months agoEnable some addition postgres collectors
Tom Hughes [Sun, 24 Sep 2023 09:11:11 +0000 (10:11 +0100)]
Enable some addition postgres collectors

13 months agoReplace custom query with process_idle collector
Tom Hughes [Sun, 24 Sep 2023 09:03:06 +0000 (10:03 +0100)]
Replace custom query with process_idle collector

13 months agoGive notes dump access to AWS credentials
Tom Hughes [Sun, 24 Sep 2023 08:59:14 +0000 (09:59 +0100)]
Give notes dump access to AWS credentials

13 months agoAdd DHCP and DNS for new machines
Tom Hughes [Sat, 23 Sep 2023 23:42:29 +0000 (00:42 +0100)]
Add DHCP and DNS for new machines

13 months agoAdd roles for fume and grisu
Tom Hughes [Sat, 23 Sep 2023 23:24:33 +0000 (00:24 +0100)]
Add roles for fume and grisu

13 months agoMerge remote-tracking branch 'github/pull/621'
Tom Hughes [Sat, 23 Sep 2023 23:06:04 +0000 (00:06 +0100)]
Merge remote-tracking branch 'github/pull/621'

13 months agodhcpd: use correct netboot.xyz PXE filename.
Grant Slater [Sat, 23 Sep 2023 22:55:55 +0000 (23:55 +0100)]
dhcpd: use correct netboot.xyz PXE filename.

13 months agoMerge remote-tracking branch 'github/pull/622'
Tom Hughes [Sat, 23 Sep 2023 16:50:38 +0000 (17:50 +0100)]
Merge remote-tracking branch 'github/pull/622'

13 months agoAdd planet::aws recipe to configure awscli for planet uploads
Tom Hughes [Sat, 23 Sep 2023 15:57:09 +0000 (16:57 +0100)]
Add planet::aws recipe to configure awscli for planet uploads

14 months agoMake sure the planet user is created by recipes which use it
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

14 months agoFix recipe ordering
Tom Hughes [Sat, 23 Sep 2023 11:50:09 +0000 (12:50 +0100)]
Fix recipe ordering

14 months agoCopy notes dumps to S3
Tom Hughes [Sat, 23 Sep 2023 11:19:18 +0000 (12:19 +0100)]
Copy notes dumps to S3

14 months agoRun tile log analysis as the planet user
Tom Hughes [Sat, 23 Sep 2023 11:10:37 +0000 (12:10 +0100)]
Run tile log analysis as the planet user

14 months agoUse the planet user consistently for generating planet data
Tom Hughes [Sat, 23 Sep 2023 11:05:21 +0000 (12:05 +0100)]
Use the planet user consistently for generating planet data

14 months agoConfigure Tracestrack API key for the web site
Tom Hughes [Fri, 22 Sep 2023 16:52:57 +0000 (17:52 +0100)]
Configure Tracestrack API key for the web site

14 months agoRemove tile role from pyrene
Tom Hughes [Fri, 22 Sep 2023 08:43:41 +0000 (09:43 +0100)]
Remove tile role from pyrene

14 months agonominatim: tweak pool size on vhagar
Sarah Hoffmann [Thu, 21 Sep 2023 09:04:47 +0000 (11:04 +0200)]
nominatim: tweak pool size on vhagar

14 months agoAdd awscli to planet cookbooks
Grant Slater [Wed, 20 Sep 2023 16:57:57 +0000 (17:57 +0100)]
Add awscli to planet cookbooks

14 months agoFix paths
Tom Hughes [Wed, 20 Sep 2023 07:36:55 +0000 (08:36 +0100)]
Fix paths

14 months agoRemove the ability to specify a custom directory for mediawiki
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.

14 months agonominatim: switch longma to postgres 16
Sarah Hoffmann [Mon, 18 Sep 2023 18:36:18 +0000 (20:36 +0200)]
nominatim: switch longma to postgres 16

14 months agoFix osmf mediawiki skin site name
Grant Slater [Mon, 18 Sep 2023 17:28:09 +0000 (18:28 +0100)]
Fix osmf mediawiki skin site name

14 months agoMerge remote-tracking branch 'github/pull/618'
Tom Hughes [Mon, 18 Sep 2023 16:50:09 +0000 (17:50 +0100)]
Merge remote-tracking branch 'github/pull/618'

14 months agoMerge remote-tracking branch 'github/pull/619'
Tom Hughes [Mon, 18 Sep 2023 16:49:01 +0000 (17:49 +0100)]
Merge remote-tracking branch 'github/pull/619'

14 months agoAdd dev dependencies of mod_tile to dev server
Paul Norman [Mon, 18 Sep 2023 16:47:05 +0000 (09:47 -0700)]
Add dev dependencies of mod_tile to dev server

14 months agoAllow wiki to serve main page on /
Grant Slater [Mon, 18 Sep 2023 14:27:08 +0000 (15:27 +0100)]
Allow wiki to serve main page on /

14 months agoSwitch OSMF default site to bare domain
Grant Slater [Mon, 18 Sep 2023 14:26:41 +0000 (15:26 +0100)]
Switch OSMF default site to bare domain

14 months agoRevert "Add contact form 7 to blog.openstreetmap.org"
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.

14 months agoRevert "Remove broken wordpress_plugin line from previous commit"
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.

14 months agoRemove broken wordpress_plugin line from previous commit
Grant Slater [Sun, 17 Sep 2023 00:27:14 +0000 (01:27 +0100)]
Remove broken wordpress_plugin line from previous commit

14 months agoAdd contact form 7 to blog.openstreetmap.org
Guillaume RISCHARD [Sat, 16 Sep 2023 23:30:51 +0000 (19:30 -0400)]
Add contact form 7 to blog.openstreetmap.org

14 months agoRevert accidental commit
Tom Hughes [Thu, 14 Sep 2023 21:09:16 +0000 (22:09 +0100)]
Revert accidental commit

14 months agoAdd missing comma
Tom Hughes [Thu, 14 Sep 2023 09:08:07 +0000 (10:08 +0100)]
Add missing comma

14 months agoMerge remote-tracking branch 'github/pull/614'
Tom Hughes [Thu, 14 Sep 2023 09:05:57 +0000 (10:05 +0100)]
Merge remote-tracking branch 'github/pull/614'

14 months agoSet reasonable PostgreSQL GUCs for tile servers
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.

14 months agoMerge remote-tracking branch 'github/pull/617'
Tom Hughes [Thu, 14 Sep 2023 08:46:39 +0000 (09:46 +0100)]
Merge remote-tracking branch 'github/pull/617'

14 months agoRemove unused PostgreSQL config from Prometheus
Paul Norman [Thu, 14 Sep 2023 08:40:55 +0000 (01:40 -0700)]
Remove unused PostgreSQL config from Prometheus

14 months agoMerge remote-tracking branch 'github/pull/616'
Tom Hughes [Thu, 14 Sep 2023 08:11:45 +0000 (09:11 +0100)]
Merge remote-tracking branch 'github/pull/616'

14 months agoUpdate to tilelog v1.7.0
Paul Norman [Thu, 14 Sep 2023 03:49:32 +0000 (20:49 -0700)]
Update to tilelog v1.7.0

14 months agoMatch number of apache workers on tile servers to the CPU count
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

14 months agoTry and ensure tile server use an integer number of listen buckets
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

14 months agoMerge remote-tracking branch 'github/pull/613'
Tom Hughes [Tue, 12 Sep 2023 15:28:44 +0000 (16:28 +0100)]
Merge remote-tracking branch 'github/pull/613'

14 months agoMerge remote-tracking branch 'github/pull/615'
Tom Hughes [Tue, 12 Sep 2023 15:11:54 +0000 (16:11 +0100)]
Merge remote-tracking branch 'github/pull/615'

14 months agobuild(deps): bump docker/login-action from 2 to 3
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>
14 months agocookstyle
Guillaume RISCHARD [Tue, 12 Sep 2023 09:47:12 +0000 (05:47 -0400)]
cookstyle

14 months agoSet default effective_io_concurrency and random_page_cost to SSD values
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.

14 months agoadd stripe payment requirement firewall
Guillaume RISCHARD [Mon, 11 Sep 2023 16:40:14 +0000 (12:40 -0400)]
add stripe payment requirement firewall

14 months agoadd stripe payment requirement sweetalert
Guillaume RISCHARD [Mon, 11 Sep 2023 16:10:11 +0000 (12:10 -0400)]
add stripe payment requirement sweetalert