From 60007e31b57e25d6f66cf2952ab056e9799abd0b Mon Sep 17 00:00:00 2001 From: radtriste Date: Wed, 2 Aug 2023 15:05:07 +0200 Subject: [PATCH] KOGITO-9671 DSL config: Remove bot account --- docs/jenkins.md | 6 ------ docs/release pipeline.md | 1 - dsl/config/branch.yaml | 3 --- dsl/seed/jenkinsfiles/Jenkinsfile.seed.branch | 4 ---- 4 files changed, 14 deletions(-) diff --git a/docs/jenkins.md b/docs/jenkins.md index e3b5c82f8..2bcb88d9d 100644 --- a/docs/jenkins.md +++ b/docs/jenkins.md @@ -162,9 +162,6 @@ git: name: radtriste credentials_id: radtriste token_credentials_id: radtriste-gh-token - bot_author: - name: radtriste-bot-account - credentials_id: radtriste-bot jenkins_config_path: .ci/jenkins # Full repository Example @@ -176,9 +173,6 @@ git: # name: another_gh_author # credentials_id: another_gh_author_creds # token_credentials_id: another_gh_author_creds_token -# bot_author: -# name: another_gh_bot_author -# credentials_id: another_gh_bot_author_creds # jenkins_config_path: .ci/jenkins/ maven: diff --git a/docs/release pipeline.md b/docs/release pipeline.md index 432c9f11f..34d215f6c 100644 --- a/docs/release pipeline.md +++ b/docs/release pipeline.md @@ -267,7 +267,6 @@ In order to test the full Release Pipeline, and in order to avoid any problem, y * Have a specific container registry and credentials registered with `push` rights on it * Have a specific author repository that you can test against -* If you don't want to flood your test author repository with temporary branches, you should use also another author, referred as "bot account", and that you can setup in environment variables `BOT_*` * Have a specific Maven repository to deploy jar artifacts * Create all the required Jenkins jobs (see [Jenkins doc](./jenkins.md)) diff --git a/dsl/config/branch.yaml b/dsl/config/branch.yaml index 266a19feb..83a4fd343 100644 --- a/dsl/config/branch.yaml +++ b/dsl/config/branch.yaml @@ -94,9 +94,6 @@ git: name: kiegroup credentials_id: kie-ci3 token_credentials_id: kie-ci3-token - bot_author: - name: bsig-gh-bot - credentials_id: bsig-gh-bot fork_author: name: kie-ci credentials_id: kie-ci diff --git a/dsl/seed/jenkinsfiles/Jenkinsfile.seed.branch b/dsl/seed/jenkinsfiles/Jenkinsfile.seed.branch index b1a14d0ef..a9102253c 100644 --- a/dsl/seed/jenkinsfiles/Jenkinsfile.seed.branch +++ b/dsl/seed/jenkinsfiles/Jenkinsfile.seed.branch @@ -258,10 +258,6 @@ def getRepoConfig(String repository, String generationBranch = "${GENERATION_BRA cfg.git.author.credentials_id = repoConfig.author?.credentials_id ?: cfg.git.author.credentials_id cfg.git.author.token_credentials_id = repoConfig.author?.credentials_id ?: cfg.git.author.token_credentials_id - cfg.git.bot_author = cfg.git.bot_author ?: [:] - cfg.git.bot_author.name = repoConfig.bot_author?.name ?: cfg.git.bot_author.name - cfg.git.bot_author.credentials_id = repoConfig.bot_author?.credentials_id ?: cfg.git.bot_author.credentials_id - String buildchainRepo = cfg.buildchain_config?.git?.repository if (buildchainRepo) { def buildchainRepoConfig = buildchainRepo == repository ? cfg : getRepoConfig(buildchainRepo, generationBranch)