Skip to content

[es] Add ES/OS backward compatibility tests #10

[es] Add ES/OS backward compatibility tests

[es] Add ES/OS backward compatibility tests #10

# Copyright (c) 2026 The Jaeger Authors.
# SPDX-License-Identifier: Apache-2.0
name: Check backward compatibility
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
check-label:
runs-on: ubuntu-latest
outputs:
storage: ${{ steps.parse.outputs.storage }}
steps:
- id: parse
run: |
for label in ${{ join(github.event.pull_request.labels.*.name, ' ') }}; do
case "$label" in
check-backward-compatibility:*)
echo "storage=${label#check-backward-compatibility:}" >> "$GITHUB_OUTPUT"
exit 0
;;
esac
done
backward-compatibility-tests:
needs: check-label
if: ${{ needs.check-label.outputs.storage != '' }}
uses: ./.github/workflows/ci-backward-compatibility-all.yml

Check failure on line 28 in .github/workflows/check-backward-compatibility.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-backward-compatibility.yml

Invalid workflow file

error parsing called workflow ".github/workflows/check-backward-compatibility.yml" -> "./.github/workflows/ci-backward-compatibility-all.yml" --> "./.github/workflows/ci-e2e-elasticsearch.yml" : (Line: 24, Col: 9): Unrecognized named-value: 'matrix'. Located at position 39 within expression: !inputs.backward_compatibility_env || matrix.version.storage_test == 'e2e'
with:
storage: ${{ needs.check-label.outputs.storage }}