Merge pull request #6 from mezmo/darinspivey/answerbook_sync #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Test Suite (Mezmo) | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- ci-fix | |
paths-ignore: | |
- 'deployment/**' | |
- 'test/data/**' | |
- 'docs/**' | |
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" |