logstash/.buildkite/supported_plugins_test_pipeline.yml
Andrea Selva 2be661b9bc
Re-enable json filter and netflow codec plugins (#15722)
- Re-enabled logstash-filter-json and logstash-codec-netflow plugins into the test_plugins BK pipeline.
- Moved codecs tier2 to be executed in separata VM.
- Commented plugin logstash-codec-collectd till is fixed
2024-01-02 17:20:28 +01:00

77 lines
3 KiB
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
agents:
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-logstash-ci"
cpu: "8"
memory: "16Gi"
ephemeralStorage: "200Gi"
steps:
- group: "Tier1 plugins test group"
key: "tier1_plugins"
steps:
- label: "Test input file plugin"
command: |
source .buildkite/scripts/common/vm-agent.sh
./ci/test_plugins.sh -p logstash-input-file
# Workaround for https://github.com/elastic/ingest-dev/issues/2676
agents:
provider: gcp
imageProject: elastic-images-prod
image: family/platform-ingest-logstash-ubuntu-2204
machineType: "n2-standard-4"
diskSizeGb: 120
- label: "Test rest of Tier1 inputs"
command: |
source .buildkite/scripts/common/vm-agent.sh
./ci/test_plugins.sh -p logstash-input-azure_event_hubs,logstash-input-beats,logstash-input-elasticsearch,logstash-input-generator,logstash-input-heartbeat,logstash-input-http,logstash-input-http_poller,logstash-input-redis,logstash-input-stdin,logstash-input-syslog,logstash-input-udp
# Workaround for https://github.com/elastic/ingest-dev/issues/2676
agents:
provider: gcp
imageProject: elastic-images-prod
image: family/platform-ingest-logstash-ubuntu-2204
machineType: "n2-standard-4"
diskSizeGb: 120
- label: "Test Tier1 filters"
command: ./ci/test_plugins.sh -t tier1 -k filter
- label: "Test Tier1 codecs"
command: ./ci/test_plugins.sh -t tier1 -k codec
- label: "Test Tier1 outputs"
command: ./ci/test_plugins.sh -t tier1 -k output
- label: "Test Tier1 integrations"
command: |
source .buildkite/scripts/common/vm-agent.sh
./ci/test_plugins.sh -t tier1 -k integration
# Workaround to avoid errors on chmod of files
agents:
provider: gcp
imageProject: elastic-images-prod
image: family/platform-ingest-logstash-ubuntu-2204
machineType: "n2-standard-4"
diskSizeGb: 120
- group: "Tier2 plugins test group"
key: "tier2_plugins"
steps:
- label: "Test Tier2 inputs"
command: ./ci/test_plugins.sh -t tier2 -k input
- label: "Test Tier2 filters"
command: ./ci/test_plugins.sh -t tier2 -k filter
- label: "Test Tier2 codecs"
command: |
source .buildkite/scripts/common/vm-agent.sh
./ci/test_plugins.sh -t tier2 -k codec
agents:
provider: gcp
imageProject: elastic-images-prod
image: family/platform-ingest-logstash-ubuntu-2204
machineType: "n2-standard-4"
diskSizeGb: 120
- label: "Test Tier2 outputs"
command: ./ci/test_plugins.sh -t tier2 -k output
- group: "Unsupported plugins test group"
key: "unsupported_plugins"
steps:
- label: "Test unsupported inputs"
command: ./ci/test_plugins.sh -t unsupported -k input