This is an automated email from the ASF dual-hosted git repository.

porcelli pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new ab682540ed3 NO-ISSUE: Apache staging SVN credentials (#2529)
ab682540ed3 is described below

commit ab682540ed3e1d814f1b200a0089e8bfbe727b35
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Mon Aug 12 14:55:39 2024 -0300

    NO-ISSUE: Apache staging SVN credentials (#2529)
---
 .ci/jenkins/shared-scripts/pipelineVars.groovy     |  2 +-
 .../workflows/release_build_extended_services.yml  | 28 +++++++++++-----------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/.ci/jenkins/shared-scripts/pipelineVars.groovy 
b/.ci/jenkins/shared-scripts/pipelineVars.groovy
index a169d712674..84d0878e40f 100644
--- a/.ci/jenkins/shared-scripts/pipelineVars.groovy
+++ b/.ci/jenkins/shared-scripts/pipelineVars.groovy
@@ -40,7 +40,7 @@ class PipelineVars implements Serializable {
     String defaultArtifactsTempDir = 'artifacts-tmp'
     String asfReleaseStagingRepository = 
'https://dist.apache.org/repos/dist/dev/incubator/kie'
     String asfReleaseGPGKeyCredentialsId = 'GPG_KEY'
-    String asfReleaseSVNStagingCredentialsId = 'asf-release-svn-staging'
+    String asfReleaseSVNStagingCredentialsId = 'kie-dist-acct'
     String kieToolsCiBuildImageRegistry = 'docker.io'
     String kieToolsCiBuildImageAccount = 'apache'
     String kieToolsCiBuildImageName = 'incubator-kie-tools-ci-build'
diff --git a/.github/workflows/release_build_extended_services.yml 
b/.github/workflows/release_build_extended_services.yml
index 80c7cb320a5..af00465d12d 100644
--- a/.github/workflows/release_build_extended_services.yml
+++ b/.github/workflows/release_build_extended_services.yml
@@ -130,22 +130,22 @@ jobs:
         shell: bash
         env:
           GPG_KEY: ${{ secrets.GPG_KEY }}
-          GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
           ARTIFACT_ZIP_FILE: ${{ 
steps.macos_setup_artifact.outputs.ARTIFACT_ZIP_FILE }}
         run: |
-          echo $GPG_KEY > ./signkey.gpg
+          rm ${WORKSPACE}/signkey.gpg
+          echo $GPG_KEY > ${WORKSPACE}/signkey.gpg
           gpg --list-keys
-          gpg --batch --pinentry-mode loopback --passphrase "$GPG_PASSPHRASE" 
--import ./signkey.gpg
-          rm ./signkey.gpg
-          echo $GPG_PASSPHRASE | gpg --no-tty --batch --sign --pinentry-mode 
loopback --passphrase-fd 0 --output $ARTIFACT_ZIP_FILE.asc --detach-sig 
$ARTIFACT_ZIP_FILE
+          gpg --batch --pinentry-mode loopback --import 
${WORKSPACE}/signkey.gpg
+          rm ${WORKSPACE}/signkey.gpg
+          gpg --no-tty --batch --sign --pinentry-mode loopback --output 
$ARTIFACT_ZIP_FILE.asc --detach-sig $ARTIFACT_ZIP_FILE
           shasum -a 512 $ARTIFACT_ZIP_FILE > $ARTIFACT_ZIP_FILE.sha512
 
       - name: "Upload Extended Services for macOS artifact"
         if: ${{ runner.os == 'macOS' && !inputs.dry_run && 
inputs.release_candidate }}
         shell: bash
         env:
-          SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
-          SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
+          SVN_USERNAME: svn_dist_kie
+          SVN_PASSWORD: ${{ secrets.svc-dist-kie-pass }}
           PROJECT_VERSION: ${{ inputs.release_candidate_version }}
           ARTIFACT_ZIP_FILE: ${{ 
steps.macos_setup_artifact.outputs.ARTIFACT_ZIP_FILE }}
         run: |
@@ -173,22 +173,22 @@ jobs:
         shell: pwsh
         env:
           GPG_KEY: ${{ secrets.GPG_KEY }}
-          GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
           ARTIFACT_ZIP_FILE: ${{ 
steps.windows_setup_artifact.outputs.ARTIFACT_ZIP_FILE }}
         run: |
-          echo $GPG_KEY > ./signkey.gpg
+          rm ${WORKSPACE}/signkey.gpg
+          echo $GPG_KEY > ${WORKSPACE}/signkey.gpg
           gpg --list-keys
-          gpg --batch --pinentry-mode loopback --passphrase "$GPG_PASSPHRASE" 
--import ./signkey.gpg
-          rm ./signkey.gpg
-          echo $GPG_PASSPHRASE | gpg --no-tty --batch --sign --pinentry-mode 
loopback --passphrase-fd 0 --output $ARTIFACT_ZIP_FILE.asc --detach-sig 
$ARTIFACT_ZIP_FILE
+          gpg --batch --pinentry-mode loopback --import 
${WORKSPACE}/signkey.gpg
+          rm ${WORKSPACE}/signkey.gpg
+          gpg --no-tty --batch --sign --pinentry-mode loopback --output 
$ARTIFACT_ZIP_FILE.asc --detach-sig $ARTIFACT_ZIP_FILE
           shasum -a 512 $ARTIFACT_ZIP_FILE > $ARTIFACT_ZIP_FILE.sha512
 
       - name: "Upload Extended Services for Windows artifact"
         if: ${{ runner.os == 'Windows' && !inputs.dry_run && 
inputs.release_candidate }}
         shell: pwsh
         env:
-          SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
-          SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
+          SVN_USERNAME: svn_dist_kie
+          SVN_PASSWORD: ${{ secrets.svc-dist-kie-pass }}
           PROJECT_VERSION: ${{ inputs.release_candidate_version }}
           ARTIFACT_ZIP_FILE: ${{ 
steps.windows_setup_artifact.outputs.ARTIFACT_ZIP_FILE }}
         run: |


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to