mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 12:10:34 +08:00
freshmaker: add vars for mbs auth token
This commit is contained in:
@@ -17,6 +17,8 @@ freshmaker_stg_odcs_server_url: https://odcs.fedoraproject.org
|
||||
freshmaker_prod_odcs_server_url: https://odcs.stg.fedoraproject.org
|
||||
freshmaker_stg_odcs_sigkeys: []
|
||||
freshmaker_prod_odcs_sigkeys: []
|
||||
freshmaker_stg_mbs_auth_token: null
|
||||
freshmaker_prod_mbs_auth_token: null
|
||||
freshmaker_dry_run: False
|
||||
freshmaker_admins: {"users": [], "groups": []}
|
||||
freshmaker_log_level: info
|
||||
|
||||
@@ -172,6 +172,8 @@ class ProdConfiguration(BaseConfiguration):
|
||||
|
||||
KOJI_PROFILE = 'freshmaker_stg'
|
||||
|
||||
MBS_AUTH_TOKEN = "{{ freshmaker_stg_mbs_auth_token }}"
|
||||
|
||||
PDC_URL = 'https://pdc.stg.fedoraproject.org/rest_api/v1'
|
||||
|
||||
GIT_BASE_URL = "{{ freshmaker_stg_git_base_url }}"
|
||||
@@ -192,6 +194,8 @@ class ProdConfiguration(BaseConfiguration):
|
||||
|
||||
KOJI_PROFILE = "freshmaker_production"
|
||||
|
||||
MBS_AUTH_TOKEN = "{{ freshmaker_prod_mbs_auth_token }}"
|
||||
|
||||
PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1'
|
||||
|
||||
GIT_BASE_URL = "{{ freshmaker_prod_git_base_url }}"
|
||||
|
||||
Reference in New Issue
Block a user