Sha256: 77dac62e6a9bd1cb52d8e5ac8b6e1c8929169f11bbcdfe5bd118a961ee342b52

Contents?: true

Size: 371 Bytes

Versions: 4

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true
require 'krane/runner_task'
require 'kubernetes-deploy/rescue_krane_exceptions'

module KubernetesDeploy
  class RunnerTask < ::Krane::RunnerTask
    include RescueKraneExceptions

    def run(*args)
      super(*args)
    rescue KubernetesDeploy::DeploymentTimeoutError, KubernetesDeploy::FatalDeploymentError
      false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kubernetes-deploy-1.0.0.pre.2 lib/kubernetes-deploy/runner_task.rb
kubernetes-deploy-1.0.0.pre.1 lib/kubernetes-deploy/runner_task.rb
kubernetes-deploy-0.31.1 lib/kubernetes-deploy/runner_task.rb
kubernetes-deploy-0.31.0 lib/kubernetes-deploy/runner_task.rb