From a1b49ffe42a3b7b910eaf740353388cb56490e27 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Tue, 3 Dec 2024 14:33:11 -0500 Subject: [PATCH] Removing the quality gate check as the official Sonar scan appears to do a quality gate check. --- .gitea/workflows/build.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 675e3196..d1d73614 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,10 +5,10 @@ on: pull_request: types: [opened, synchronize, reopened] -name: SonarQube Scan +name: Docker Scan, Lint, & Deploy via Compose jobs: sonarqube: - name: SonarQube Scanning & Status + name: SonarQube Scanning & Quality Gate runs-on: ubuntu-latest steps: - name: Checking out @@ -17,17 +17,18 @@ jobs: fetch-depth: 0 - name: SonarQube Scan + id: sonarqube-scan uses: SonarSource/sonarqube-scan-action@v4.0.0 env: SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }} SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} - - name: SonarQube Quality Gate Check - id: quality-gate - uses: SonarSource/sonarqube-quality-gate-action@v1.1.0 - env: - SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }} - SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} + # - name: SonarQube Quality Gate Check + # id: quality-gate + # uses: SonarSource/sonarqube-quality-gate-action@v1.1.0 + # env: + # SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }} + # SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} docker-compose-dry-run: name: Dry Run Docker Compose @@ -74,7 +75,7 @@ jobs: - name: Merge PR with Tea CLI run: | - tea pr m "${{ gitea.ref }}" + tea pr m "${{ gitea.repository. }}" - name: Deploy Docker Compose Changes uses: astappiev/docker-compose-remote-action@master