forked from infra/ansible
Jira-sync: there is no token for codeberg, and use token_file
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
f4dd0f6c2f
commit
3068b93915
2 changed files with 3 additions and 5 deletions
|
|
@ -4,7 +4,7 @@
|
|||
instance_url = "https://redhat.atlassian.net" # JIRA instance URL
|
||||
project = "CLE" # Name of the project to sync tickets to
|
||||
username = "fedora-bots-admins@redhat.com"
|
||||
token = "$secrets.jira_token" # API token to use for authentication
|
||||
token_file = "/etc/jira-sync-secrets/jira-token" # File with the API token to use for authentication
|
||||
default_issue_type = "Story" # Issue type to use when creating new issue in JIRA
|
||||
label = "jira_sync" # Label used for all issues created by this script
|
||||
story_points_field = "customfield_10028" # JIRA issue field used for story points (this could be custom field)
|
||||
|
|
@ -65,7 +65,7 @@ type = "github"
|
|||
enabled = true
|
||||
instance_url = "https://github.com"
|
||||
instance_api_url = "https://api.github.com"
|
||||
token = "$secrets.githubcom_token"
|
||||
token_file = "/etc/jira-sync-secrets/githubcom-token"
|
||||
label = "cle"
|
||||
blocked_label = "blocked"
|
||||
usermap = "githubcom_jira_usermap.toml"
|
||||
|
|
@ -95,7 +95,7 @@ type = "gitlab"
|
|||
enabled = true
|
||||
instance_url = "https://gitlab.com"
|
||||
instance_api_url = "https://gitlab.com/api/v4"
|
||||
token = "$secrets.gitlabcom_token"
|
||||
token_file = "/etc/jira-sync-secrets/gitlabcom-token"
|
||||
blocked_label = "blocked"
|
||||
usermap = "gitlabcom_jira_usermap.toml"
|
||||
# converts specific label to story point
|
||||
|
|
@ -124,7 +124,6 @@ type = "forgejo"
|
|||
enabled = true
|
||||
instance_url = "https://codeberg.org"
|
||||
# instance_api_url = "https://codeberg.org/api/v1"
|
||||
token = "$secrets.codebergorg_token"
|
||||
blocked_label = "blocked"
|
||||
usermap = "codebergorg_jira_usermap.toml"
|
||||
# converts specific label to story point
|
||||
|
|
|
|||
|
|
@ -7,4 +7,3 @@ stringData:
|
|||
jira-token: "{{ jira_sync_jira_token }}"
|
||||
githubcom-token: "{{ jira_sync_githubcom_token }}"
|
||||
gitlabcom-token: "{{ jira_sync_gitlabcom_token }}"
|
||||
codebergorg-token: "{{ jira_sync_codebergorg_token }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue