Remove PGP signing from publish task
This commit is contained in:
parent
9b3019c612
commit
0b55212473
|
@ -201,16 +201,10 @@ jobs:
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
<<: *cache_keys
|
<<: *cache_keys
|
||||||
|
|
||||||
- run:
|
|
||||||
name: Decode Signing Key
|
|
||||||
command: echo $PGP_KEY_FILE | base64 --decode > /home/circleci/dd-trace-java/.circleci/secring.gpg
|
|
||||||
|
|
||||||
- deploy:
|
- deploy:
|
||||||
name: Publish master to Artifactory
|
name: Publish master to Artifactory
|
||||||
command: |
|
command: |
|
||||||
./gradlew -Psigning.keyId=${PGP_KEY_ID} \
|
./gradlew \
|
||||||
-Psigning.password=${PGP_KEY_PASS} \
|
|
||||||
-Psigning.secretKeyRingFile=/home/circleci/dd-trace-java/.circleci/secring.gpg \
|
|
||||||
-PbintrayUser=${BINTRAY_USER} \
|
-PbintrayUser=${BINTRAY_USER} \
|
||||||
-PbintrayApiKey=${BINTRAY_API_KEY} \
|
-PbintrayApiKey=${BINTRAY_API_KEY} \
|
||||||
-PbuildInfo.build.number=${CIRCLE_BUILD_NUM} \
|
-PbuildInfo.build.number=${CIRCLE_BUILD_NUM} \
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
apply plugin: "maven"
|
apply plugin: "maven"
|
||||||
apply plugin: "com.jfrog.artifactory"
|
apply plugin: "com.jfrog.artifactory"
|
||||||
apply plugin: 'com.jfrog.bintray'
|
apply plugin: 'com.jfrog.bintray'
|
||||||
apply plugin: "signing"
|
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
assert description: "Project $project.path is published, must have a description"
|
assert description: "Project $project.path is published, must have a description"
|
||||||
|
@ -36,13 +35,6 @@ if (!isRoot) {
|
||||||
apply from: "$rootDir/gradle/version.gradle"
|
apply from: "$rootDir/gradle/version.gradle"
|
||||||
apply from: "${rootDir}/gradle/pom.gradle"
|
apply from: "${rootDir}/gradle/pom.gradle"
|
||||||
|
|
||||||
def isCI = Boolean.parseBoolean("$System.env.CI")
|
|
||||||
|
|
||||||
signing {
|
|
||||||
required = isCI
|
|
||||||
sign configurations.archives
|
|
||||||
}
|
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
configurations {
|
configurations {
|
||||||
all {
|
all {
|
||||||
|
|
Loading…
Reference in New Issue