Sha256: f3480f036ad513f8e7282428350b99d05437d3b4574a990ab2424120f036f507
Contents?: true
Size: 516 Bytes
Versions: 7
Compression:
Stored size: 516 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?('-') } helm_pid = Process.spawn "helm test #{ARGV.join(' ')}" log_pid = Process.spawn "kubectl logs -lapp.kubernetes.io/managed-by=Helm,app.kubernetes.io/instance=#{$release_name} -f --all-containers --prefix --ignore-errors=true --max-log-requests=20 --timestamps=true" Process.wait helm_pid puts `kill #{log_pid}`
Version data entries
7 entries across 7 versions & 1 rubygems