From 7278f56b3bf3bf9f91b5ae4be67f9b928577a5b5 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Fri, 24 May 2024 15:21:33 +0200 Subject: [PATCH] add gpg into branch.yaml --- .ci/jenkins/config/branch.yaml | 5 +++++ .ci/jenkins/dsl/test.sh | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.ci/jenkins/config/branch.yaml b/.ci/jenkins/config/branch.yaml index a15b963a75a..0a4929f6599 100644 --- a/.ci/jenkins/config/branch.yaml +++ b/.ci/jenkins/config/branch.yaml @@ -83,6 +83,11 @@ cloud: registry: quay.io namespace: tradisso latest_git_branch: main +release: + gpg: + sign: + key-credentials-id: 'asf-release-gpg-signing-key' + passphrase-credentials-id: 'asf-release-gpg-signing-key-passphrase' jenkins: email_creds_id: OPTAPLANNER_CI_NOTIFICATION_EMAILS agent: diff --git a/.ci/jenkins/dsl/test.sh b/.ci/jenkins/dsl/test.sh index d412c5b3e05..cac6dc28bec 100755 --- a/.ci/jenkins/dsl/test.sh +++ b/.ci/jenkins/dsl/test.sh @@ -41,13 +41,13 @@ fi git_author="$(echo ${git_url} | awk -F"${git_server_url}" '{print $2}' | awk -F. '{print $1}' | awk -F/ '{print $1}')" -export DSL_DEFAULT_MAIN_CONFIG_FILE_REPO="${git_author}"/incubator-kie-optaplanner +export DSL_DEFAULT_MAIN_CONFIG_FILE_REPO="${git_author}"/optaplanner export DSL_DEFAULT_FALLBACK_MAIN_CONFIG_FILE_REPO=apache/incubator-kie-optaplanner export DSL_DEFAULT_MAIN_CONFIG_FILE_PATH=.ci/jenkins/config/main.yaml -export DSL_DEFAULT_BRANCH_CONFIG_FILE_REPO="${git_author}"/incubator-kie-optaplanner +export DSL_DEFAULT_BRANCH_CONFIG_FILE_REPO="${git_author}"/optaplanner file=$(mktemp) # For more usage of the script, use ./test.sh -h curl -o ${file} https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/dsl/seed/scripts/seed_test.sh chmod u+x ${file} -${file} $@ \ No newline at end of file +${file} $@