forked from docker-library/mysql
- Notifications
You must be signed in to change notification settings - Fork 581
/
Copy pathcontrol.rb
20 lines (20 loc) · 571 Bytes
/
control.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
control'container'do
impact0.5
describepodman.containersdo
its('status'){shouldcmp/Up/}
its('commands'){shouldcmp/sleep/}
its('images'){shouldcmp/mysql-router:8.0/}
its('names'){shouldinclude"mysql-router-8.0"}
end
end
control'packages'do
impact0.5
describepackage('mysql-community-client')do
it{shouldbe_installed}
its('version'){shouldmatch'8.0.42.*'}
end
describepackage('mysql-router-community')do
it{shouldbe_installed}
its('version'){shouldmatch'8.0.42.*'}
end
end