Class: Pipedawg::Job::Kaniko

Inherits:
Pipedawg::Job show all
Defined in:
lib/pipedawg/job/kaniko.rb,
lib/pipedawg/job/kaniko/build.rb

Overview

Pipedawg::Job::Kaniko class

Direct Known Subclasses

Build

Defined Under Namespace

Classes: Build

Instance Attribute Summary

Attributes inherited from Pipedawg::Job

#name, #opts

Instance Method Summary collapse

Methods inherited from Pipedawg::Job

#to_hash

Constructor Details

#initialize(name, opts = {}) ⇒ Kaniko

Returns a new instance of Kaniko.



7
8
9
10
11
12
13
# File 'lib/pipedawg/job/kaniko.rb', line 7

def initialize(name, opts = {})
  opts = {
    command: '/kaniko/executor',
    image: { entrypoint: [''], name: 'gcr.io/kaniko-project/executor:debug' }
  }.merge(opts)
  super name, opts
end