Skip to content

[storage] Add Elasticsearch data stream support #9821

[storage] Add Elasticsearch data stream support

[storage] Add Elasticsearch data stream support #9821

Workflow file for this run

name: Test SPM
on:
merge_group:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
cancel-in-progress: true
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
permissions:
contents: read
jobs:
spm:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
mode:
- name: v2
metricstore: prometheus
- name: v2 with ES
metricstore: elasticsearch
- name: v2 with OS
metricstore: opensearch
steps:
- name: Harden Runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
submodules: true
- name: Fetch git tags
run: |
git fetch --prune --unshallow --tags
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: 1.26.x
- name: Setup Node.js version
uses: ./.github/actions/setup-node.js
- name: Run SPM Test
run: bash scripts/e2e/spm.sh -m ${{ matrix.mode.metricstore }}