Sha256: d64e9c01c83ce9f8921f48c37e22e5e1a04692b758064df24e95cb8de90c7b4d
Contents?: true
Size: 533 Bytes
Versions: 46
Compression:
Stored size: 533 Bytes
Contents
class KuberKit::ImageCompiler::ActionHandler include KuberKit::Import[ "image_compiler.compiler", "core.image_store", "configs", ] Contract KuberKit::Shell::AbstractShell, Symbol, String => Any def call(shell, image_name, build_id) image = image_store.get_image(image_name) compile_dir = generate_compile_dir(build_id: build_id) compiler.compile(shell, image, compile_dir) end private def generate_compile_dir(build_id:) File.join(configs.image_compile_dir, build_id) end end
Version data entries
46 entries across 46 versions & 1 rubygems