From 90da95dea53c718a02fdeef8ebeb670e37255191 Mon Sep 17 00:00:00 2001 From: Alejandro Falkowski Date: Thu, 19 Oct 2023 20:42:40 +0200 Subject: [PATCH 1/2] feat(deps): update github.com/alexfalkowski/go-service to v1.97.0 --- go.mod | 2 +- go.sum | 4 ++-- test/.config/{server.config.yml => server.yml} | 2 ++ test/Gemfile.lock | 10 +++++----- .../server/health/transport/grpc/observability.feature | 1 - .../server/health/transport/http/observability.feature | 1 - test/features/support/nonnative.rb | 2 ++ test/nonnative.yml | 2 +- 8 files changed, 13 insertions(+), 11 deletions(-) rename test/.config/{server.config.yml => server.yml} (93%) diff --git a/go.mod b/go.mod index 209c9a2..00295b4 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/alexfalkowski/go-health v1.13.0 - github.com/alexfalkowski/go-service v1.96.5 + github.com/alexfalkowski/go-service v1.97.0 go.uber.org/fx v1.20.1 ) diff --git a/go.sum b/go.sum index 28a521c..eb5e03b 100644 --- a/go.sum +++ b/go.sum @@ -8,8 +8,8 @@ github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030I github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/alexfalkowski/go-health v1.13.0 h1:DD+kWEPzn+sIhiv6mMeX1Wtab5sdtQpw8J6TsH/YVL8= github.com/alexfalkowski/go-health v1.13.0/go.mod h1:+8Q3zHywTGZl0VcsT2vr5edGOPDMVQIRbx7PboYKhxI= -github.com/alexfalkowski/go-service v1.96.5 h1:a6Wgod2evcQP8Hv9N4CyUGHJSFKTEHTG80vA36dlTjc= -github.com/alexfalkowski/go-service v1.96.5/go.mod h1:0PQ7Cjc5E5oK8lHhuOfD8zkQOmr0fyWBp+IGcqlM1pg= +github.com/alexfalkowski/go-service v1.97.0 h1:Gm++wjg++QC/R3Ff2SoxYJFSMc/E6Tl9fkW7tiDMVH8= +github.com/alexfalkowski/go-service v1.97.0/go.mod h1:0PQ7Cjc5E5oK8lHhuOfD8zkQOmr0fyWBp+IGcqlM1pg= github.com/avast/retry-go/v3 v3.1.1 h1:49Scxf4v8PmiQ/nY0aY3p0hDueqSmc7++cBbtiDGu2g= github.com/avast/retry-go/v3 v3.1.1/go.mod h1:6cXRK369RpzFL3UQGqIUp9Q7GDrams+KsYWrfNA1/nQ= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= diff --git a/test/.config/server.config.yml b/test/.config/server.yml similarity index 93% rename from test/.config/server.config.yml rename to test/.config/server.yml index bf06c8d..2e98652 100644 --- a/test/.config/server.config.yml +++ b/test/.config/server.yml @@ -2,6 +2,8 @@ health: duration: 1s timeout: 1s telemetry: + logger: + level: error trace: host: localhost:4318 secure: false diff --git a/test/Gemfile.lock b/test/Gemfile.lock index 5a4a348..82d5c1f 100644 --- a/test/Gemfile.lock +++ b/test/Gemfile.lock @@ -45,11 +45,11 @@ GEM google-protobuf (3.24.4-x86_64-linux) googleapis-common-protos-types (1.9.0) google-protobuf (~> 3.18) - grpc (1.58.0-x86_64-darwin) - google-protobuf (~> 3.23) + grpc (1.59.0-x86_64-darwin) + google-protobuf (~> 3.24) googleapis-common-protos-types (~> 1.0) - grpc (1.58.0-x86_64-linux) - google-protobuf (~> 3.23) + grpc (1.59.0-x86_64-linux) + google-protobuf (~> 3.24) googleapis-common-protos-types (~> 1.0) http-accept (1.7.0) http-cookie (1.0.5) @@ -164,7 +164,7 @@ GEM yard (~> 0.9, >= 0.9.24) sys-uname (1.2.3) ffi (~> 1.1) - thor (1.2.2) + thor (1.3.0) tilt (2.3.0) unf (0.1.4) unf_ext diff --git a/test/features/server/health/transport/grpc/observability.feature b/test/features/server/health/transport/grpc/observability.feature index fea6f6a..920cf1b 100644 --- a/test/features/server/health/transport/grpc/observability.feature +++ b/test/features/server/health/transport/grpc/observability.feature @@ -1,4 +1,3 @@ -@startup Feature: Observability Observability is a measure of how well internal states of a system can be inferred by knowledge of its external outputs. diff --git a/test/features/server/health/transport/http/observability.feature b/test/features/server/health/transport/http/observability.feature index 96cc460..16056a3 100644 --- a/test/features/server/health/transport/http/observability.feature +++ b/test/features/server/health/transport/http/observability.feature @@ -1,4 +1,3 @@ -@startup Feature: Observability Observability is a measure of how well internal states of a system can be inferred by knowledge of its external outputs. diff --git a/test/features/support/nonnative.rb b/test/features/support/nonnative.rb index 0e70e12..359e5a7 100644 --- a/test/features/support/nonnative.rb +++ b/test/features/support/nonnative.rb @@ -3,3 +3,5 @@ Nonnative.configure do |config| config.load_file('nonnative.yml') end + +require 'nonnative/startup' diff --git a/test/nonnative.yml b/test/nonnative.yml index 1f91093..7768139 100644 --- a/test/nonnative.yml +++ b/test/nonnative.yml @@ -10,4 +10,4 @@ processes: port: 8080 log: reports/server.log environment: - CONFIG_FILE: .config/server.config.yml + CONFIG_FILE: .config/server.yml From 1879556e57a0092fa3568ae07e2c8fe871766a3d Mon Sep 17 00:00:00 2001 From: Alejandro Falkowski Date: Thu, 19 Oct 2023 20:50:26 +0200 Subject: [PATCH 2/2] build: add reports folder --- test/reports/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/reports/.keep diff --git a/test/reports/.keep b/test/reports/.keep new file mode 100644 index 0000000..e69de29