Skip to content

Commit 97a5240

Browse files
committed
Added validating PR flow
1 parent 8496d6d commit 97a5240

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/industrial-edge-insights-time-series-pull-request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ jobs:
8080
make up_mqtt_ingestion app=wind-turbine-anomaly-detection
8181
echo "Deploying using opcua ingestion"
8282
make up_opcua_ingestion app=wind-turbine-anomaly-detection
83+
while IFS= read -r line; do
84+
echo "$line"
85+
if [[ "$line" == *"Attempting to connect to Kapacitor"* ]]; then
86+
echo "⚠️ Found Kapacitor connection attempt - exiting"
87+
exit 1
88+
fi
89+
done < <(timeout 30s docker logs -f ia-time-series-analytics-microservice 2>&1)
8390
- name: Undeploying Wind Turbine Anomaly Detection Sample App
8491
run: |
8592
cd "${{ github.workspace }}"

0 commit comments

Comments
 (0)