Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
360 changes: 108 additions & 252 deletions .github/workflows/changes.yml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
with:
base_ref: ${{ github.event.pull_request.base.ref }}
head_ref: ${{ github.event.pull_request.head.ref }}
source: false
int_tests: true
secrets: inherit

# Calls the Integration Test workflow for each integration that was detected to have files changed that impact it.
Expand Down
10 changes: 10 additions & 0 deletions scripts/integration/amqp/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@ test_filter: '::amqp::'

matrix:
version: ['3.8']

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/amqp.rs"
- "src/internal_events/amqp.rs"
- "src/sinks/amqp/**"
- "src/sources/amqp.rs"
- "src/sources/util/**"
- "src/sinks/util/**"
6 changes: 6 additions & 0 deletions scripts/integration/appsignal/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ runner:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sinks/appsignal/**"
- "src/sinks/util/**"
12 changes: 12 additions & 0 deletions scripts/integration/aws/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,15 @@ env:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/aws_**"
- "src/internal_events/aws_**"
- "src/sources/aws_**"
- "src/sources/util/**"
- "src/sinks/aws_**"
- "src/sinks/util/**"
- "src/transforms/aws_**"
- "scripts/integration/aws/**"
7 changes: 7 additions & 0 deletions scripts/integration/axiom/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ runner:

matrix:
postgres: [13-alpine]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sinks/axiom.rs"
- "src/sinks/util/**"
- "scripts/integration/axiom/**"
7 changes: 7 additions & 0 deletions scripts/integration/azure/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ env:

matrix:
version: [3.14.0]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sinks/azure_**"
- "src/sinks/util/**"
- "scripts/integration/azure/**"
7 changes: 7 additions & 0 deletions scripts/integration/clickhouse/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ env:

matrix:
version: ['19']

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sinks/clickhouse/**"
- "src/sinks/util/**"
- "scripts/integration/clickhouse/**"
7 changes: 7 additions & 0 deletions scripts/integration/databend/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ runner:

matrix:
version: ['latest']

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sinks/databend/**"
- "src/sinks/util/**"
- "scripts/integration/databend/**"
8 changes: 8 additions & 0 deletions scripts/integration/datadog-agent/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ env:

matrix:
version: ['7']

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/common/datadog.rs"
- "src/internal_events/datadog_*"
- "src/sources/datadog_agent/**"
- "scripts/integration/datadog-agent/**"
9 changes: 9 additions & 0 deletions scripts/integration/datadog-logs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ runner:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/common/datadog.rs"
- "src/internal_events/datadog_*"
- "src/sinks/datadog/logs/**"
- "src/sinks/util/**"
- "scripts/integration/datadog-logs/**"
9 changes: 9 additions & 0 deletions scripts/integration/datadog-metrics/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ runner:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/common/datadog.rs"
- "src/internal_events/datadog_*"
- "src/sinks/datadog/metrics/**"
- "src/sinks/util/**"
- "scripts/integration/datadog-metrics/**"
9 changes: 9 additions & 0 deletions scripts/integration/datadog-traces/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,12 @@ env:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/common/datadog.rs"
- "src/internal_events/datadog_*"
- "src/sinks/datadog/**"
- "src/sinks/util/**"
- "scripts/integration/datadog-traces/**"
8 changes: 8 additions & 0 deletions scripts/integration/dnstap/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ runner:

matrix:
version: ['latest']

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/dnstap.rs"
- "src/sources/dnstap/**"
- "src/sources/util/**"
- "scripts/integration/dnstap/**"
9 changes: 9 additions & 0 deletions scripts/integration/docker-logs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ runner:

matrix:
default: ["default"]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/docker.rs"
- "src/internal_events/docker_logs.rs"
- "src/sources/docker_logs/**"
- "src/sources/util/**"
- "scripts/integration/docker-logs/**"
7 changes: 7 additions & 0 deletions scripts/integration/elasticsearch/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ env:

matrix:
version: [7.13.1]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sinks/elasticsearch/**"
- "src/sinks/util/**"
- "scripts/integration/elasticsearch/**"
8 changes: 8 additions & 0 deletions scripts/integration/eventstoredb/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ test_filter: '::eventstoredb_metrics::'

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/eventstoredb_metrics.rs"
- "src/sources/eventstoredb_metrics/**"
- "src/sources/util/**"
- "scripts/integration/eventstoredb/**"
8 changes: 8 additions & 0 deletions scripts/integration/fluent/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@ runner:

matrix:
default: ["default"]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/fluent.rs"
- "src/sources/fluent/**"
- "src/sources/util/**"
- "scripts/integration/fluent/**"
11 changes: 11 additions & 0 deletions scripts/integration/gcp/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ env:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/gcp_pubsub.rs"
- "src/sources/gcp_pubsub.rs"
- "src/sources/util/**"
- "src/sinks/gcp/**"
- "src/sinks/util/**"
- "src/gcp.rs"
- "scripts/integration/gcp/**"
7 changes: 7 additions & 0 deletions scripts/integration/http-client/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ env:

matrix:
version: ["v0.34.1"]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sources/http_client/**"
- "src/sources/util/**"
- "scripts/integration/http-client/**"
7 changes: 7 additions & 0 deletions scripts/integration/humio/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ runner:

matrix:
version: [1.13.1]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sinks/humio/**"
- "src/sinks/util/**"
- "scripts/integration/humio/**"
8 changes: 8 additions & 0 deletions scripts/integration/influxdb/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@ env:

matrix:
version: ['1.8']

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/influxdb.rs"
- "src/sinks/influxdb/**"
- "src/sinks/util/**"
- "scripts/integration/influxdb/**"
11 changes: 11 additions & 0 deletions scripts/integration/kafka/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ env:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/kafka.rs"
- "src/sinks/kafka/**"
- "src/sinks/util/**"
- "src/sources/kafka.rs"
- "src/sources/util/**"
- "src/kafka.rs"
- "scripts/integration/kafka/**"
7 changes: 7 additions & 0 deletions scripts/integration/logstash/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ env:

matrix:
version: [7.12.1]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sources/logstash.rs"
- "src/sources/util/**"
- "scripts/integration/logstash/**"
8 changes: 8 additions & 0 deletions scripts/integration/loki/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ env:

matrix:
version: [2.4.1]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/loki.rs"
- "src/sinks/loki/**"
- "src/sinks/util/**"
- "scripts/integration/loki/**"
8 changes: 8 additions & 0 deletions scripts/integration/mongodb/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ env:

matrix:
version: [4.2.10]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/mongodb_metrics.rs"
- "src/sources/mongodb_metrics/**"
- "src/sources/util/**"
- "scripts/integration/mongodb/**"
11 changes: 11 additions & 0 deletions scripts/integration/nats/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ env:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/nats.rs"
- "src/sources/nats.rs"
- "src/sources/util/**"
- "src/sinks/nats.rs"
- "src/sinks/util/**"
- "src/nats.rs"
- "scripts/integration/nats/**"
8 changes: 8 additions & 0 deletions scripts/integration/nginx/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ runner:

matrix:
version: [1.19.4]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/nginx_metrics.rs"
- "src/sources/nginx_metrics/**"
- "src/sources/util/**"
- "scripts/integration/nginx/**"
7 changes: 7 additions & 0 deletions scripts/integration/opentelemetry/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ runner:

matrix:
version: [0.56.0]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/sources/opentelemetry/**"
- "src/sources/util/**"
- "scripts/integration/opentelemetry/**"
8 changes: 8 additions & 0 deletions scripts/integration/postgres/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,11 @@ runner:

matrix:
version: ['13.1']

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/postgresql_metrics.rs"
- "src/sources/postgresql_metrics.rs"
- "src/sources/util/**"
- "scripts/integration/postgres/**"
10 changes: 10 additions & 0 deletions scripts/integration/prometheus/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@ env:
matrix:
prometheus: ['v2.33.4']
influxdb: ['1.8']

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/prometheus.rs"
- "src/sources/prometheus/**"
- "src/sources/util/**"
- "src/sinks/prometheus/**"
- "src/sinks/util/**"
- "scripts/integration/prometheus/**"
8 changes: 8 additions & 0 deletions scripts/integration/pulsar/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ env:

matrix:
version: [latest]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/pulsar.rs"
- "src/sinks/pulsar/**"
- "src/sinks/util/**"
- "scripts/integration/pulsar/**"
10 changes: 10 additions & 0 deletions scripts/integration/redis/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ env:

matrix:
version: [6-alpine]

# changes to these files/paths will invoke the integration test in CI
# expressions are evaluated using https://github.com/micromatch/picomatch
paths:
- "src/internal_events/redis.rs"
- "src/sources/redis/**"
- "src/sources/util/**"
- "src/sinks/redis.rs"
- "src/sinks/util/**"
- "scripts/integration/redis/**"
Loading