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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
ci(frontend): :construction_worker: CI job for frontend EE build (#3552)
Prashant Shahi122488c2c17a
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yamlindex 41c8600991..7855aa30ee 100644--- a/.github/workflows/build.yaml+++ b/.github/workflows/build.yaml@@ -27,6 +27,27 @@ jobs:run: |make build-frontend-amd64+ build-frontend-ee:+ runs-on: ubuntu-latest+ steps:+ - name: Checkout code+ uses: actions/checkout@v3+ - name: Create .env file+ run: echo 'INTERCOM_APP_ID="${{ secrets.INTERCOM_APP_ID }}"' > frontend/.env+ - name: Install dependencies+ run: cd frontend && yarn install+ - name: Run ESLint+ run: cd frontend && npm run lint+ - name: Run Jest+ run: cd frontend && npm run jest+ - name: TSC+ run: yarn tsc+ working-directory: ./frontend+ - name: Build frontend docker image+ shell: bash+ run: |+ make build-frontend-amd64+build-query-service:runs-on: ubuntu-lateststeps:diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yamlindex c198442ae5..754f611783 100644--- a/.github/workflows/push.yaml+++ b/.github/workflows/push.yaml@@ -123,3 +123,49 @@ jobs:fi- name: Build and push docker imagerun: make build-push-frontend++ image-build-and-push-frontend-ee:+ runs-on: ubuntu-latest+ steps:+ - name: Checkout code+ uses: actions/checkout@v3+ - name: Create .env file+ run: echo 'INTERCOM_APP_ID="${{ secrets.INTERCOM_APP_ID }}"' > frontend/.env+ - name: Install dependencies+ working-directory: frontend+ run: yarn install+ - name: Run Prettier+ working-directory: frontend+ run: npm run prettify+ continue-on-error: true+ - name: Run ESLint+ working-directory: frontend+ run: npm run lint+ continue-on-error: true+ - name: Set up Docker Buildx+ uses: docker/setup-buildx-action@v2+ with:+ version: latest+ - name: Login to DockerHub+ uses: docker/login-action@v2+ with:+ username: ${{ secrets.DOCKERHUB_USERNAME }}+ password: ${{ secrets.DOCKERHUB_TOKEN }}+ - uses: benjlevesque/[email protected]+ id: short-sha+ - name: Get branch name+ id: branch-name+ uses: tj-actions/[email protected]+ - name: Set docker tag environment+ run: |+ if [ '${{ steps.branch-name.outputs.is_tag }}' == 'true' ]; then+ tag="${{ steps.branch-name.outputs.tag }}"+ tag="${tag:1}"+ echo "DOCKER_TAG=${tag}-ee" >> $GITHUB_ENV+ elif [ '${{ steps.branch-name.outputs.current_branch }}' == 'main' ]; then+ echo "DOCKER_TAG=latest-ee" >> $GITHUB_ENV+ else+ echo "DOCKER_TAG=${{ steps.branch-name.outputs.current_branch }}-ee" >> $GITHUB_ENV+ fi+ - name: Build and push docker image+ run: make build-push-frontend