Periodically emit list of deployed versions from worker
This commit is contained in:
@@ -54,7 +54,7 @@ module Pipeline::Runtime
|
||||
def list_deployed_containers
|
||||
glob_pattern = "#{env_base}/*/*/current"
|
||||
Dir.glob(glob_pattern).map do |match|
|
||||
match.gsub(env_base, "").gsub(/current$/, "")
|
||||
match.gsub("#{env_base}/", "").gsub(/\/current$/, "").gsub(/\//, ":")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user