-
Notifications
You must be signed in to change notification settings - Fork 0
94 lines (88 loc) · 2.51 KB
/
integration-test-mezmo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name: Integration Test Suite (Mezmo)
on:
workflow_dispatch:
pull_request:
branches-ignore:
- 'dependabot/**'
paths-ignore:
- 'deployment/**'
- 'test/data/**'
- 'docs/**'
push:
branches:
- master
- ci-fix
concurrency:
# For pull requests, cancel running workflows, for master, run all
#
# `github.event.number` exists for pull requests, otherwise fall back to SHA
# for master
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
env:
AUTOINSTALL: true
AWS_ACCESS_KEY_ID: "dummy"
AWS_SECRET_ACCESS_KEY: "dummy"
CONTAINER_TOOL: "docker"
RUST_BACKTRACE: 1
RUST_TEST_THREADS: 2
TEST_LOG: vector=debug
VERBOSE: true
CI: true
PROFILE: debug
# GITHUB_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
# CARGO_NET_GIT_FETCH_WITH_CLI: true
jobs:
test-integration:
name: Integration - Linux, ${{ matrix.test }}
runs-on: ubuntu-20.04
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
include:
# Integrations that we are not using/supporting are disabled
- test: 'aws'
# - test: 'azure'
# - test: 'clickhouse'
# - test: 'datadog-agent'
# - test: 'datadog-logs'
# - test: 'datadog-metrics'
# - test: 'datadog-traces'
# - test: 'dnstap'
# - test: 'docker-logs'
- test: 'elasticsearch'
# - test: 'eventstoredb'
- test: 'fluent'
- test: 'gcp'
# - test: 'humio'
# - test: 'influxdb'
- test: 'kafka'
- test: 'logstash'
# - test: 'loki'
# - test: 'mongodb'
# - test: 'nats'
# - test: 'nginx'
- test: 'prometheus'
# - test: 'postgres'
# - test: 'pulsar'
# - test: 'redis'
# - test: 'shutdown'
# - test: 'splunk' This started breaking again for no apparent reason
# - test: 'sumo-logic'
steps:
- uses: actions/checkout@v3
# - run: git config --global url."https://${GITHUB_TOKEN}@github.com".insteadOf ssh://git@github.com
- run: make test-integration-${{ matrix.test }}
env:
SPLUNK_VERSION: ${{ matrix.env.SPLUNK_VERSION }}
- run: make test-integration-${{ matrix.test }}-cleanup
if: ${{ always() }}
test-integration-check:
name: test-integration-check
runs-on: ubuntu-20.04
needs:
- test-integration
steps:
- name: validate
run: echo "OK"