Skip to content

Commit

Permalink
chore(ci): Add transforms-metric_to_log transform dependency to sink-…
Browse files Browse the repository at this point in the history
…humio

Given that the humio metrics sink depends on the log_to_metric
transform.

Also fix Makefile to run humio integration tests. I couldn't find a good
way to use a wildcard for the module (like
"::humio::*::integration_tests") so I just did the logs submodule for
now. It seems like there are plans to add regex support for test
filters: rust-lang/rust#53278

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
  • Loading branch information
jszwedko committed Oct 17, 2020
1 parent f262791 commit 1bf6466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ sinks-file = []
sinks-gcp = ["base64", "bytesize", "goauth", "smpl_jwt"]
sinks-honeycomb = ["bytesize"]
sinks-http = ["bytesize"]
sinks-humio = ["sinks-splunk_hec"]
sinks-humio = ["transforms-metric_to_log", "sinks-splunk_hec"]
sinks-influxdb = ["bytesize"]
sinks-kafka = []
sinks-logdna = ["bytesize"]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ ifeq ($(AUTOSPAWN), true)
$(MAKE) start-integration-humio
sleep 10 # Many services are very slow... Give them a sec..
endif
${MAYBE_ENVIRONMENT_EXEC} cargo test --no-fail-fast --no-default-features --features humio-integration-tests --lib ::humio_logs::integration_tests:: -- --nocapture
${MAYBE_ENVIRONMENT_EXEC} cargo test --no-fail-fast --no-default-features --features humio-integration-tests --lib "::humio::.*::integration_tests::" -- --nocapture
ifeq ($(AUTODESPAWN), true)
$(MAKE) -k stop-integration-humio
endif
Expand Down

0 comments on commit 1bf6466

Please sign in to comment.