mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-20 13:47:46 +02:00
switch to svgs rather than pngs and also used an svg for the logos instead of faffing around with font style dependencies
This commit is contained in:
commit
12db6e1b2a
6
.github/workflows/PR-Auto-Deploy-V2.yml
vendored
6
.github/workflows/PR-Auto-Deploy-V2.yml
vendored
@ -352,10 +352,10 @@ jobs:
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
||||||
# Clean up unused Docker resources to save space
|
# Clean up unused Docker resources to save space
|
||||||
docker system prune -af --volumes
|
docker system prune -af --volumes || true
|
||||||
|
|
||||||
# Clean up old backend/frontend images (older than 2 weeks)
|
# Clean up old backend/frontend images (older than 2 weeks)
|
||||||
docker image prune -af --filter "until=336h" --filter "label!=keep=true"
|
docker image prune -af --filter "until=336h" --filter "label!=keep=true" || true
|
||||||
ENDSSH
|
ENDSSH
|
||||||
|
|
||||||
# Set port for output
|
# Set port for output
|
||||||
@ -490,7 +490,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clean up old unused images (older than 2 weeks) but keep recent ones for reuse
|
# Clean up old unused images (older than 2 weeks) but keep recent ones for reuse
|
||||||
docker image prune -af --filter "until=336h" --filter "label!=keep=true"
|
docker image prune -af --filter "until=336h" --filter "label!=keep=true" || true
|
||||||
|
|
||||||
# Note: We don't remove the commit-based images since they can be reused across PRs
|
# Note: We don't remove the commit-based images since they can be reused across PRs
|
||||||
# Only remove PR-specific containers and directories
|
# Only remove PR-specific containers and directories
|
||||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
gradle-version: 8.14
|
gradle-version: 8.14
|
||||||
- name: Build with Gradle and spring security ${{ matrix.spring-security }}
|
- name: Build with Gradle and spring security ${{ matrix.spring-security }}
|
||||||
run: ./gradlew clean build
|
run: ./gradlew clean build -PnoSpotless
|
||||||
env:
|
env:
|
||||||
DISABLE_ADDITIONAL_FEATURES: ${{ matrix.spring-security }}
|
DISABLE_ADDITIONAL_FEATURES: ${{ matrix.spring-security }}
|
||||||
- name: Check Test Reports Exist
|
- name: Check Test Reports Exist
|
||||||
|
4
.github/workflows/deploy-on-v2-commit.yml
vendored
4
.github/workflows/deploy-on-v2-commit.yml
vendored
@ -177,8 +177,8 @@ jobs:
|
|||||||
docker-compose down || true
|
docker-compose down || true
|
||||||
docker-compose pull
|
docker-compose pull
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
docker system prune -af --volumes
|
docker system prune -af --volumes || true
|
||||||
docker image prune -af --filter "until=336h" --filter "label!=keep=true"
|
docker image prune -af --filter "until=336h" --filter "label!=keep=true" || true
|
||||||
ENDSSH
|
ENDSSH
|
||||||
|
|
||||||
- name: Cleanup temporary files
|
- name: Cleanup temporary files
|
||||||
|
10
build.gradle
10
build.gradle
@ -203,9 +203,17 @@ subprojects {
|
|||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
|
if (!project.hasProperty("noSpotless")) {
|
||||||
dependsOn "spotlessApply"
|
dependsOn "spotlessApply"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
gradle.taskGraph.whenReady { graph ->
|
||||||
|
if (project.hasProperty("noSpotless")) {
|
||||||
|
tasks.matching { it.name.startsWith("spotless") }.configureEach {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
licenseReport {
|
licenseReport {
|
||||||
projects = [project]
|
projects = [project]
|
||||||
renderers = [new JsonReportRenderer()]
|
renderers = [new JsonReportRenderer()]
|
||||||
|
Loading…
Reference in New Issue
Block a user