Pull latest image tag, so we can identity it
`docker image ls` doesn't tell us what the latest deployed image is (e.g if we've rolled back). Pull the latest image tag through to the server so we can use it instead.
This commit is contained in:
@@ -189,12 +189,6 @@ class CommandsAppTest < ActiveSupport::TestCase
|
||||
new_command.current_running_version.join(" ")
|
||||
end
|
||||
|
||||
test "most_recent_version_from_available_images" do
|
||||
assert_equal \
|
||||
"docker image ls --format \"{{.Tag}}\" dhh/app | head -n 1",
|
||||
new_command.most_recent_version_from_available_images.join(" ")
|
||||
end
|
||||
|
||||
test "list_containers" do
|
||||
assert_equal \
|
||||
"docker container ls --all --filter label=service=app",
|
||||
|
||||
Reference in New Issue
Block a user