From f08893d25a7be93864a76e37108ae695980b8981 Mon Sep 17 00:00:00 2001 From: Aditya Jaiswal <32607172+jaiswaladi246@users.noreply.github.com> Date: Sun, 28 Jul 2024 01:09:45 +0530 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0ce9f596..0c458d82 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -34,6 +34,15 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + - name: SonarQube Quality Gate check + id: sonarqube-quality-gate-check + uses: sonarsource/sonarqube-quality-gate-action@master + # Force to fail step after specific time. + timeout-minutes: 5 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -58,11 +67,6 @@ jobs: run: | docker push adijaiswal/boardgame:latest - - name: Kubectl Action - uses: tale/kubectl-action@v1 - with: - base64-kube-config: ${{ secrets.KUBE_CONFIG }} - - run: | - kubectl apply -f deployment-service.yaml +