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

Version Path
helm_upgrade_logs-0.5.0 exe/helm_test_logs
helm_upgrade_logs-0.4.1 exe/helm_test_logs
helm_upgrade_logs-0.4.0 exe/helm_test_logs
helm_upgrade_logs-0.3.5 exe/helm_test_logs
helm_upgrade_logs-0.3.4 exe/helm_test_logs
helm_upgrade_logs-0.3.3 exe/helm_test_logs
helm_upgrade_logs-0.3.2 exe/helm_test_logs
helm_upgrade_logs-0.3.1 exe/helm_test_logs
helm_upgrade_logs-0.3.0 exe/helm_test_logs
helm_upgrade_logs-0.2.6 exe/helm_test_logs
helm_upgrade_logs-0.2.5 exe/helm_test_logs