Sha256: 72b98dd8e84dcb4318299d630cca07dd9a3d333024e7dea1e509a582bb380245

Contents?: true

Size: 606 Bytes

Versions: 9

Compression:

Stored size: 606 Bytes

Contents

KuberKit
  .define_image(:ruby_app)
  .registry(:default)
  .depends_on(:ruby, :app_sources)
  .before_build do |context_helper, build_dir|
    # copy file local artifact
    source_path = context_helper.artifact_path(:kuber_kit_example_data, "test.txt")
    target_path = File.join(build_dir, "test.txt")
    context_helper.shell.exec!("cp #{source_path} #{target_path}")

    # copy file local artifact
    source_path = context_helper.artifact_path(:kuber_kit_repo, "README.md")
    target_path = File.join(build_dir, "README.md")
    context_helper.shell.exec!("cp #{source_path} #{target_path}")
  end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kuber_kit-0.1.8 example/images/ruby_app/image.rb
kuber_kit-0.1.7 example/images/ruby_app/image.rb
kuber_kit-0.1.6 example/images/ruby_app/image.rb
kuber_kit-0.1.5 example/images/ruby_app/image.rb
kuber_kit-0.1.4 example/images/ruby_app/image.rb
kuber_kit-0.1.3 example/images/ruby_app/image.rb
kuber_kit-0.1.2 example/images/ruby_app/image.rb
kuber_kit-0.1.1 example/images/ruby_app/image.rb
kuber_kit-0.1.0 example/images/ruby_app/image.rb