Removing the quality gate check as the official Sonar scan appears to do a quality gate check.
This commit is contained in:
@@ -5,10 +5,10 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
name: SonarQube Scan
|
name: Docker Scan, Lint, & Deploy via Compose
|
||||||
jobs:
|
jobs:
|
||||||
sonarqube:
|
sonarqube:
|
||||||
name: SonarQube Scanning & Status
|
name: SonarQube Scanning & Quality Gate
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checking out
|
- name: Checking out
|
||||||
@@ -17,17 +17,18 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: SonarQube Scan
|
- name: SonarQube Scan
|
||||||
|
id: sonarqube-scan
|
||||||
uses: SonarSource/sonarqube-scan-action@v4.0.0
|
uses: SonarSource/sonarqube-scan-action@v4.0.0
|
||||||
env:
|
env:
|
||||||
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
|
|
||||||
- name: SonarQube Quality Gate Check
|
# - name: SonarQube Quality Gate Check
|
||||||
id: quality-gate
|
# id: quality-gate
|
||||||
uses: SonarSource/sonarqube-quality-gate-action@v1.1.0
|
# uses: SonarSource/sonarqube-quality-gate-action@v1.1.0
|
||||||
env:
|
# env:
|
||||||
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
# SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
# SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
|
|
||||||
docker-compose-dry-run:
|
docker-compose-dry-run:
|
||||||
name: Dry Run Docker Compose
|
name: Dry Run Docker Compose
|
||||||
@@ -74,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Merge PR with Tea CLI
|
- name: Merge PR with Tea CLI
|
||||||
run: |
|
run: |
|
||||||
tea pr m "${{ gitea.ref }}"
|
tea pr m "${{ gitea.repository. }}"
|
||||||
|
|
||||||
- name: Deploy Docker Compose Changes
|
- name: Deploy Docker Compose Changes
|
||||||
uses: astappiev/docker-compose-remote-action@master
|
uses: astappiev/docker-compose-remote-action@master
|
||||||
|
|||||||
Reference in New Issue
Block a user