We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 457642e commit 30b1312Copy full SHA for 30b1312
1 file changed
.github/workflows/system-tests-pr.yaml
@@ -73,8 +73,8 @@ jobs:
73
id: kafkaClient
74
env:
75
KAFKA_CLIENTS: ${{ steps.discover.outputs.test_clients }}
76
+ LABELS: ${{ toJson(github.event.pull_request.labels.*.name) }}
77
run: |
- LABELS=[$(echo ${{ github.event.pull_request.labels[@].name }})]
78
KAFKA_CLIENT=$(echo "${LABELS[@]},${KAFKA_CLIENTS}" | sed 's/,/\n/g; s/\[//g; s/\]//g; s/test\/system-test\///g' | sort | uniq -d)
79
KAFKA_CLIENT=$([[ -z $KAFKA_CLIENT ]] && echo 'strimzi_test_client' || echo $KAFKA_CLIENT)
80
echo "kafka_client=$KAFKA_CLIENT" >> "$GITHUB_OUTPUT"
0 commit comments