From 12bedd6d244b7248034bd04a6a48ed169ca2bb8f Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 27 Sep 2026 22:16:12 +0100 Subject: [PATCH] Add simple news.osm.org redirect to WeeklyOSM Potential to later change to a hosted hugo container for WeeklyOSM --- cookbooks/foundation/recipes/news.rb | 25 +++++++++++++++++++++++++ roles/naga.rb | 1 + 2 files changed, 26 insertions(+) create mode 100644 cookbooks/foundation/recipes/news.rb diff --git a/cookbooks/foundation/recipes/news.rb b/cookbooks/foundation/recipes/news.rb new file mode 100644 index 000000000..7168d4aef --- /dev/null +++ b/cookbooks/foundation/recipes/news.rb @@ -0,0 +1,25 @@ +# +# Cookbook:: foundation +# Recipe:: news +# +# Copyright:: 2026, OpenStreetMap Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +include_recipe "podman::apache" + +podman_site "news.openstreetmap.org" do + image "ghcr.io/openstreetmap/news-website:latest" + aliases ["news.osm.org"] +end diff --git a/roles/naga.rb b/roles/naga.rb index 444649369..3ee28cf37 100644 --- a/roles/naga.rb +++ b/roles/naga.rb @@ -83,6 +83,7 @@ run_list( "recipe[foundation::dwg]", "recipe[foundation::mastodon]", "recipe[foundation::mwg]", + "recipe[foundation::news]", "recipe[foundation::owg]", "recipe[foundation::welcome]", "recipe[foundation::wiki]", -- 2.47.3