Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,24 @@ jobs:
- run: make slim-builds
- run: make test-integration-splunk

test-integration-redis:
name: Integration - Linux, Redis
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: make ci-sweep
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: sudo bash scripts/environment/bootstrap-ubuntu-20.04.sh
- run: bash scripts/environment/prepare.sh
- run: echo "::add-matcher::.github/matchers/rust.json"
- run: make slim-builds
- run: make test-integration-redis

master-failure:
name: master-failure
if: failure() && github.ref == 'refs/heads/master'
Expand All @@ -329,6 +347,7 @@ jobs:
- test-integration-loki
- test-integration-pulsar
- test-integration-splunk
- test-integration-redis
runs-on: ubuntu-20.04
steps:
- name: Discord notification
Expand Down
142 changes: 126 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ typetag = "0.1.6"
url = "2.2.0"
uuid = { version = "0.8", features = ["serde", "v4"], optional = true }
warp = { version = "0.2.5", default-features = false, optional = true }
redis = { version = "0.20.0", features = ["connection-manager","async-std-comp"], optional = true }

# For WASM
async-stream = "0.3.0"
Expand Down Expand Up @@ -361,6 +362,7 @@ sources-metrics = [
"sources-prometheus",
"sources-statsd",
"sources-vector",
"sources-redis",
]

sources-apache_metrics = []
Expand Down Expand Up @@ -394,6 +396,7 @@ sources-utils-tls = []
sources-utils-udp = ["socket2"]
sources-utils-unix = []
sources-vector = ["listenfd", "sources-utils-tcp-keepalive", "sources-utils-tcp-socket", "sources-utils-tls"]
sources-redis = ["redis"]

# Transforms
transforms = ["transforms-logs", "transforms-metrics"]
Expand Down Expand Up @@ -512,7 +515,8 @@ sinks-metrics = [
"sinks-prometheus",
"sinks-sematext",
"sinks-statsd",
"sinks-vector"
"sinks-vector",
"sinks-redis",
]

sinks-aws_cloudwatch_logs = ["rusoto", "rusoto_logs"]
Expand Down Expand Up @@ -547,6 +551,7 @@ sinks-splunk_hec = ["bytesize"]
sinks-statsd = ["sinks-utils-udp", "tokio-util/udp"]
sinks-utils-udp = ["socket2"]
sinks-vector = ["sinks-utils-udp"]
sinks-redis = ["redis"]

# Identifies that the build is a nightly build
nightly = []
Expand All @@ -571,6 +576,7 @@ all-integration-tests = [
"prometheus-integration-tests",
"pulsar-integration-tests",
"splunk-integration-tests",
"redis-integration-tests",
]

aws-integration-tests = [
Expand Down Expand Up @@ -609,6 +615,7 @@ postgresql_metrics-integration-tests = ["sources-postgresql_metrics"]
prometheus-integration-tests = ["bytesize", "sinks-prometheus", "sources-prometheus"]
pulsar-integration-tests = ["sinks-pulsar"]
splunk-integration-tests = ["sinks-splunk_hec", "warp"]
redis-integration-tests = ["sources-redis", "sinks-redis"]

disable-resolv-conf = []
shutdown-tests = ["rdkafka", "sinks-blackhole", "sinks-console", "sinks-prometheus", "sources", "transforms-log_to_metric", "transforms-lua", "unix"]
Expand Down
Loading