Sha256: 48d1de2cda596918a8875eec913e7b7b49ebbb242b6a4da7102fa120ef51810a

Contents?: true

Size: 587 Bytes

Versions: 10

Compression:

Stored size: 587 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.sync(source_path, target_path)

    # copy file: remote artifact
    source_path = context_helper.artifact_path(:kuber_kit_repo, "README.md")
    target_path = File.join(build_dir, "README.md")
    context_helper.shell.sync(source_path, target_path)
  end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kuber_kit-0.2.8 example/images/ruby_app/image.rb
kuber_kit-0.2.7 example/images/ruby_app/image.rb
kuber_kit-0.2.6 example/images/ruby_app/image.rb
kuber_kit-0.2.5 example/images/ruby_app/image.rb
kuber_kit-0.2.4 example/images/ruby_app/image.rb
kuber_kit-0.2.3 example/images/ruby_app/image.rb
kuber_kit-0.2.2 example/images/ruby_app/image.rb
kuber_kit-0.2.1 example/images/ruby_app/image.rb
kuber_kit-0.2.0 example/images/ruby_app/image.rb
kuber_kit-0.1.9 example/images/ruby_app/image.rb