Sha256: 83b84f940885c334b0bffd313443820a3b60b520a6b84e0baad7cf4552ae2c9b

Contents?: true

Size: 645 Bytes

Versions: 85

Compression:

Stored size: 645 Bytes

Contents

KuberKit
  .define_image(:ruby_app)
  .registry(:default)
  .depends_on(:ruby, :app_sources)
  .build_vars({
    example_file_name: "example.txt"
  })
  .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

85 entries across 85 versions & 1 rubygems

Version Path
kuber_kit-1.3.8 example/images/ruby_app/image.rb
kuber_kit-1.3.7 example/images/ruby_app/image.rb
kuber_kit-1.1.8 example/images/ruby_app/image.rb
kuber_kit-1.3.6 example/images/ruby_app/image.rb
kuber_kit-1.1.7 example/images/ruby_app/image.rb
kuber_kit-1.3.5 example/images/ruby_app/image.rb
kuber_kit-1.3.4 example/images/ruby_app/image.rb
kuber_kit-1.1.6 example/images/ruby_app/image.rb
kuber_kit-1.3.3 example/images/ruby_app/image.rb
kuber_kit-1.3.2 example/images/ruby_app/image.rb
kuber_kit-1.1.5 example/images/ruby_app/image.rb
kuber_kit-1.3.1 example/images/ruby_app/image.rb
kuber_kit-1.3.0 example/images/ruby_app/image.rb
kuber_kit-1.1.4 example/images/ruby_app/image.rb
kuber_kit-1.2.7 example/images/ruby_app/image.rb
kuber_kit-1.2.6 example/images/ruby_app/image.rb
kuber_kit-1.2.5 example/images/ruby_app/image.rb
kuber_kit-1.2.4 example/images/ruby_app/image.rb
kuber_kit-1.2.2 example/images/ruby_app/image.rb
kuber_kit-1.1.2 example/images/ruby_app/image.rb