]> git.openstreetmap.org Git - chef.git/blob - test/integration/stateofthemap/serverspec/podman_spec.rb
sotm: Add 2014 static site container
[chef.git] / test / integration / stateofthemap / serverspec / podman_spec.rb
1 require "serverspec"
2
3 # Required by serverspec
4 set :backend, :exec
5
6 %w[2007 2008 2009 2010 2011 2012 2013 2016 2017 2018 2019 2020 2021 2022 2024 2025 2026].each do |year|
7   describe command("podman image inspect ghcr.io/openstreetmap/stateofthemap-#{year}:latest") do
8     its(:exit_status) { should eq 0 }
9   end
10
11   describe command("podman container inspect #{year}.stateofthemap.org") do
12     its(:exit_status) { should eq 0 }
13   end
14 end