Sha256: 6f86316281b904100712a0219125becb1c7f04e9bf62e7b94a9653bf3049a2ea
Contents?: true
Size: 592 Bytes
Versions: 11
Compression:
Stored size: 592 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "lib") require "helm_upgrade_logs" @release_name = ARGV.find { |arg| !arg.start_with?("-") } @namespace = namespace_from_args(ARGV) helm_pid = Process.spawn "helm test #{ARGV.join(" ")}" log_pid = Process.spawn(add_ns("kubectl logs -lapp.kubernetes.io/instance=#{@release_name} -f --all-containers --prefix --ignore-errors=true --max-log-requests=20 --timestamps=true --since=1s")) Process.wait helm_pid helm_status = $CHILD_STATUS.exitstatus `kill #{log_pid}` exit helm_status
Version data entries
11 entries across 11 versions & 1 rubygems