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(build): 👷 Update build-pipeline workflow (#1187)

Prashant Shahibd6153225fec
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 35b2182350..f9096698cc 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -1,40 +1,15 @@
name: build-pipeline
+
on:
pull_request:
branches:
- develop
- main
- - v*
- paths:
- - "pkg/**"
- - "frontend/**"
+ - release/v*
jobs:
- get_filters:
- runs-on: ubuntu-latest
- # Set job outputs to values from filter step
- outputs:
- frontend: ${{ steps.filter.outputs.frontend }}
- query-service: ${{ steps.filter.outputs.query-service }}
- flattener: ${{ steps.filter.outputs.flattener }}
- steps:
- # For pull requests it's not necessary to checkout the code
- - uses: dorny/paths-filter@v2
- id: filter
- with:
- filters: |
- frontend:
- - 'frontend/**'
- query-service:
- - 'pkg/query-service/**'
- flattener:
- - 'pkg/processors/flattener/**'
-
build-frontend:
runs-on: ubuntu-latest
- needs:
- - get_filters
- if: ${{ needs.get_filters.outputs.frontend == 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
@@ -52,9 +27,6 @@ jobs:
build-query-service:
runs-on: ubuntu-latest
- needs:
- - get_filters
- if: ${{ needs.get_filters.outputs.query-service == 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
@@ -62,16 +34,3 @@ jobs:
shell: bash
run: |
make build-query-service-amd64
-
- build-flattener:
- runs-on: ubuntu-latest
- needs:
- - get_filters
- if: ${{ needs.get_filters.outputs.flattener == 'true' }}
- steps:
- - name: Checkout code
- uses: actions/checkout@v2
- - name: Build flattener docker image
- shell: bash
- run: |
- make build-flattener-amd64