3 Commits

Author SHA1 Message Date
jamie 6cfb0e888b ci: 🚀 sonarqube
SonarQube / SonarQube (push) Successful in 29s
2026-05-07 00:33:40 +01:00
jamie e9df9dff80 Merge pull request 'style: 🎨 remove rotal jobs card from dashboard' (#9) from v1.1.2 into master
Reviewed-on: #9
2026-03-03 19:32:26 +00:00
jamie dc5f95f7ec style: 🎨 remove rotal jobs card from dashboard
Release / release (pull_request) Successful in 1m7s
2026-03-03 19:32:13 +00:00
2 changed files with 33 additions and 8 deletions
+33
View File
@@ -0,0 +1,33 @@
name: SonarQube
on:
push:
jobs:
sonarqube:
name: SonarQube
runs-on: build-htz-01
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Valid Project Key
id: sonar_setup
run: |
CLEAN_KEY=$(echo "${{ gitea.repository }}" | tr '/' ':')
echo "key=$CLEAN_KEY" >> $GITHUB_OUTPUT
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
continue-on-error: true
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with:
args: >
-Dsonar.projectKey=${{ steps.sonar_setup.outputs.key }}
-Dsonar.projectName=${{ gitea.repository }}
-Dsonar.qualitygate.wait=true
-8
View File
@@ -37,10 +37,6 @@
{% endif %}
</div>
</div>
<div class="md-card-outlined" style="padding: 0.75rem 1rem; text-align: center;">
<div id="video-total-jobs" class="md-title-large" style="font-weight: 700;">{{ video_stats.total_jobs or 0 }}</div>
<div style="font-size: 0.75rem; color: var(--md-sys-color-on-surface-variant);">Total Jobs</div>
</div>
</div>
</div>
@@ -107,10 +103,6 @@
{% endif %}
</div>
</div>
<div class="md-card-outlined" style="padding: 0.75rem 1rem; text-align: center;">
<div id="audio-total-jobs" class="md-title-large" style="font-weight: 700;">{{ audio_stats.total_jobs or 0 }}</div>
<div style="font-size: 0.75rem; color: var(--md-sys-color-on-surface-variant);">Total Jobs</div>
</div>
</div>
</div>