]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/community/recipes/default.rb
community: stop yoyo rebuilds due to git repo changes
[chef.git] / cookbooks / community / recipes / default.rb
index bd6f7d27acde09926415fdf3fa4c2ed22a8d286f..7c4d374a8bae437679c7f74fc2c377620f7d8a83 100644 (file)
@@ -45,7 +45,8 @@ end
 git "/srv/community.openstreetmap.org/docker" do
   action :sync
   repository "https://github.com/discourse/discourse_docker.git"
-  revision "13bfcd2517c743e1bc313b8d89631772702ae112"
+  # Revision pin not possible as launch wrapper automatically updates git repo.
+  revision "main"
   depth 1
   user "root"
   group "root"
@@ -82,7 +83,7 @@ template "/srv/community.openstreetmap.org/docker/containers/mail-receiver.yml"
 end
 
 ssl_certificate "community.openstreetmap.org" do
-  domains ["community.openstreetmap.org", "community.osm.org", "communities.openstreetmap.org", "communities.osm.org","c.openstreetmap.org", "c.osm.org"]
+  domains ["community.openstreetmap.org", "community.osm.org", "communities.openstreetmap.org", "communities.osm.org", "c.openstreetmap.org", "c.osm.org"]
   notifies :run, "notify_group[discourse_container_new_web_only]"
   notifies :run, "notify_group[discourse_container_new_mail_receiver]"
 end