instance method
pull
Ruby on Rails 2.1.2
Since v1.9.3 Last seen in v2.11.0Signature
pull()
No documentation comment.
Source
# File lib/kamal/cli/build.rb, line 62
def pull
if (first_hosts = mirror_hosts).any?
# Pull on a single host per mirror first to seed them
say "Pulling image on #{first_hosts.join(", ")} to seed the #{"mirror".pluralize(first_hosts.count)}...", :magenta
pull_on_hosts(first_hosts)
say "Pulling image on remaining hosts...", :magenta
pull_on_hosts(KAMAL.hosts - first_hosts)
else
pull_on_hosts(KAMAL.hosts)
end
end
Defined in lib/kamal/cli/build.rb line 62
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Kamal::Cli::Build