Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KOGITO-9671 DSL config: Remove bot account #1022

Merged
merged 1 commit into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions docs/jenkins.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
1 change: 0 additions & 1 deletion docs/release pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
3 changes: 0 additions & 3 deletions dsl/config/branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions dsl/seed/jenkinsfiles/Jenkinsfile.seed.branch
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down