feat(ci): Add manual triggers for full SDK matrix [test-all]

Three ways to trigger all 42+ SDKs:
1. Set CI variable TEST_ALL_SDKS=true
2. Include [test-all] in commit message
3. Push a tag (releases test everything)
This commit is contained in:
russell@unturf.com 2026-01-17 09:23:50 -05:00
parent 90dc96c2c2
commit 3bc4489cdc

View file

@ -4,6 +4,27 @@
set -e
# Manual triggers for full matrix:
# 1. CI variable: TEST_ALL_SDKS=true
# 2. Commit message contains [test-all]
# 3. Tag push (releases test everything)
if [ "$TEST_ALL_SDKS" = "true" ]; then
echo '{"changed_langs": ["all"], "reason": "TEST_ALL_SDKS variable set", "test_all": true}'
exit 0
fi
COMMIT_MSG=$(git log -1 --pretty=%B 2>/dev/null || echo "")
if echo "$COMMIT_MSG" | grep -qi '\[test-all\]'; then
echo '{"changed_langs": ["all"], "reason": "Commit message contains [test-all]", "test_all": true}'
exit 0
fi
if [ -n "$CI_COMMIT_TAG" ]; then
echo '{"changed_langs": ["all"], "reason": "Tag release - testing all SDKs", "test_all": true}'
exit 0
fi
# Get the base branch for comparison
if [ -n "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
# MR context