]> git.openstreetmap.org Git - chef.git/blob - test/integration/community/inspec/docker_spec.rb
community: upgrade to pg18
[chef.git] / test / integration / community / inspec / docker_spec.rb
1 describe package("docker-ce") do
2   it { should be_installed }
3 end
4
5 describe service("docker") do
6   it { should be_enabled }
7   it { should be_running }
8 end
9
10 describe command("docker image inspect local_discourse/data:latest") do
11   its("exit_status") { should eq 0 }
12 end
13
14 describe command("docker image inspect local_discourse/mail-receiver:latest") do
15   before do
16     skip if os.arch.include?("aarch64") # mail-receiver is not yet supported on ARM
17   end
18   its("exit_status") { should eq 0 }
19 end
20
21 describe command("docker image inspect local_discourse/web_only:latest") do
22   its("exit_status") { should eq 0 }
23 end