From b85d4a1abba732cb270aadb47b88968f3d777b11 Mon Sep 17 00:00:00 2001 From: Joseph Fourny Date: Tue, 20 Aug 2024 19:43:58 -0400 Subject: [PATCH 1/2] Pin `statsd-instrument` to < 3.9 due to incompatible change --- krane.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krane.gemspec b/krane.gemspec index ebbd0575c..4d83d62ee 100644 --- a/krane.gemspec +++ b/krane.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |spec| spec.add_dependency("googleauth", "~> 1.2") spec.add_dependency("ejson", "~> 1.0") spec.add_dependency("colorize", "~> 0.8") - spec.add_dependency("statsd-instrument", ['>= 2.8', "< 4"]) + spec.add_dependency("statsd-instrument", ['>= 2.8', "< 3.9"]) spec.add_dependency("multi_json") spec.add_dependency("concurrent-ruby", "~> 1.1") spec.add_dependency("jsonpath", "~> 1.0") From a79ab70b72b15c2b0d4b3632a27b089a297f20cb Mon Sep 17 00:00:00 2001 From: Joseph Fourny Date: Tue, 20 Aug 2024 19:44:22 -0400 Subject: [PATCH 2/2] Update `dev.yml` to run various test suites correctly. --- dev.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev.yml b/dev.yml index 38760f3ae..4e198129e 100644 --- a/dev.yml +++ b/dev.yml @@ -9,7 +9,15 @@ up: image: kindest/node:v1.28.0@sha256:dad5a6238c5e41d7cac405fae3b5eda2ad1de6f1190fa8bfc64ff5bb86173213 commands: test: - run: bin/test + run: bin/test unit_test && bin/test cli_test && bin/test serial_integration_test && bin/test integration_test + test-unit: + run: bin/test unit_test + test-cli: + run: bin/test cli_test + test-serial_integration: + run: bin/test serial_integration_test, + test-integration: + run: bin/test integration_test tophat: run: PRINT_LOGS=1 bundle exec ruby -I test test/integration/krane_deploy_test.rb -n/${1}/ desc: Tophat a change by running a test scenario with logging output enabled.