Add healthcheck to crystal runtime

This commit is contained in:
2024-06-29 23:30:10 -03:00
parent 5bb7ac45b3
commit 3bee4f5cf6
3 changed files with 6 additions and 5 deletions

View File

@ -84,8 +84,6 @@ module Faaso
funkos.each do |funko|
container_name = "faaso-#{funko.name}"
docker_api = Docr::API.new(Docr::Client.new)
# Pull image from registry
# docker_api.images.create(image: tag)
# Get image history, sorted newer image first
begin
@ -176,8 +174,6 @@ module Faaso
end
puts "Container for #{funko.name} is running"
end
# TODO: Run test for healthcheck
# TODO: Return function URL for testing
end
end