Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

ci(testing-deploy): update workflow to handle force-push scenerio (#4503)

Prashant Shahi56b71d0f0237
diff --git a/.github/workflows/testing-deployment.yaml b/.github/workflows/testing-deployment.yaml
index 6938f5ce78..efb3d58a79 100644
--- a/.github/workflows/testing-deployment.yaml
+++ b/.github/workflows/testing-deployment.yaml
@@ -33,8 +33,11 @@ jobs:
git add .
git stash push -m "stashed on $(date --iso-8601=seconds)"
git fetch origin
- git checkout ${GITHUB_BRANCH}
+ git checkout develop
git pull
+ # This is added to include the scenerio when new commit in PR is force-pushed
+ git branch -D ${GITHUB_BRANCH}
+ git checkout --track origin/${GITHUB_BRANCH}
make build-ee-query-service-amd64
make build-frontend-amd64
make run-signoz
\ No newline at end of file