Skip to content

Commit

Permalink
build: remove gradle build signing - does not work currently with qua…
Browse files Browse the repository at this point in the history
…rkus uber-jar
  • Loading branch information
tomjo committed Oct 29, 2023
1 parent b61063e commit 874ada7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
required: false
type: boolean
default: false
sign:
required: false
type: boolean
default: false
workflow_call:
inputs:
version:
Expand All @@ -22,10 +18,6 @@ on:
required: false
type: boolean
default: false
sign:
required: false
type: boolean
default: false

defaults:
run:
Expand Down Expand Up @@ -68,13 +60,6 @@ jobs:
ORG_GRADLE_PROJECT_projectVersion: ${{ inputs.version }}
QUARKUS_PACKAGE_TYPE: uber-jar
run: ./gradlew quarkusIntTest
- name: Sign
if: ${{ inputs.sign }}
env:
ORG_GRADLE_PROJECT_projectVersion: ${{ inputs.version }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PGP_SECRET }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PGP_PASSPHRASE }}
run: ./gradlew sign
- name: Upload build reports
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
with:
version: ${{ needs.determine_version.outputs.version }}
upload: true
sign: true
secrets: inherit
native_build:
needs: determine_version
Expand Down
8 changes: 0 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ plugins {
java
alias(libs.plugins.quarkus)
alias(libs.plugins.owasp)
signing
}

val projectVersion: String by project
Expand Down Expand Up @@ -58,13 +57,6 @@ dependencyCheck {
format = org.owasp.dependencycheck.reporting.ReportGenerator.Format.ALL.toString()
}

signing {
useInMemoryPgpKeys(findProperty("signingKey").toString(), findProperty("signingPassword").toString())
if(findProperty("signingKey") != null) {
sign(tasks["jar"])
}
}

tasks.withType<AbstractArchiveTask>().configureEach {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
Expand Down

0 comments on commit 874ada7

Please sign in to comment.