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: inject local images to k3d instead of publishing them (#600)
Yoni Bettan53045fc58e84
diff --git a/.github/workflows/e2e-k3s.yaml b/.github/workflows/e2e-k3s.yamlindex 4a2710c6e7..402d775d09 100644--- a/.github/workflows/e2e-k3s.yaml+++ b/.github/workflows/e2e-k3s.yaml@@ -9,83 +9,33 @@ on:jobs:- image-build-and-push-query-service:+ e2e-k3s:runs-on: ubuntu-latestif: ${{ github.event.label.name == 'ok-to-test' }}+ env:+ DOCKER_TAG: pull-${{ github.event.number }}steps:- name: Checkout codeuses: actions/checkout@v2- - name: Set up QEMU- uses: docker/setup-qemu-action@v1- - name: Set up Docker Buildx- uses: docker/setup-buildx-action@v1- with:- version: latest- - name: Login to DockerHub- uses: docker/login-action@v1- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Build and push docker image- env:- DOCKER_TAG: pull-${{ github.event.number }}- run: make build-push-query-service-- image-build-and-push-frontend:- runs-on: ubuntu-latest- if: ${{ github.event.label.name == 'ok-to-test' }}- steps:- - name: Checkout code- uses: actions/checkout@v2- - 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@v1- with:- version: latest- - name: Login to DockerHub- uses: docker/login-action@v1- with:- username: ${{ secrets.DOCKERHUB_USERNAME }}- password: ${{ secrets.DOCKERHUB_TOKEN }}- - name: Build and push docker image- env:- DOCKER_TAG: pull-${{ github.event.number }}- run: make build-push-frontend-- deploy-on-k3s-cluster:- runs-on: ubuntu-latest- if: ${{ github.event.label.name == 'ok-to-test' }}- needs:- - image-build-and-push-query-service- - image-build-and-push-frontend- steps:- - name: Checkout code- uses: actions/checkout@v2+ - name: Build query-service image+ run: make build-query-service-amd64+ - name: Build frontend image+ run: make build-frontend-amd64- name: Create a k3s clusteruses: AbsaOSS/k3d-action@v2with:- cluster-name: "test-cluster"+ cluster-name: "signoz-cluster"+ - name: Inject the images to the cluster+ run: k3d image import signoz/query-service:$DOCKER_TAG signoz/frontend:$DOCKER_TAG -c signoz-cluster- name: Deploy the app- env:- TAG: pull-${{ github.event.number }}run: |helm dependency update deploy/kubernetes/platformhelm install signoz deploy/kubernetes/platform/ -n platform --create-namespace \--wait --timeout 10m0s \--set cloud=null \--set frontend.service.type=LoadBalancer \- --set frontend.image.tag=$TAG \- --set query-service.image.tag=$TAG+ --set query-service.image.tag=$DOCKER_TAG \+ --set frontend.image.tag=$DOCKER_TAGkubectl describe deploy/signoz-frontend -n platform | grep Imagekubectl describe statefulset/signoz-query-service -n platform | grep Imagekubectl get pods -n platform