mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
adding dev/stg/prod configs for buildmaster user
This commit is contained in:
@@ -194,7 +194,12 @@ authz_cfg=authz.Authz(
|
||||
{% if deployment_type == 'dev' %}
|
||||
auth=auth.BasicAuth([("{{ dev_buildbot_user }}","{{ dev_buildbot_password }}")]),
|
||||
{% endif %}
|
||||
#auth=auth.BasicAuth([("{{ buildbot_user }}","{{ buildbot_pw }}")]),
|
||||
{% if deployment_type == 'stg' %}
|
||||
auth=auth.BasicAuth([("{{ stg_buildbot_user }}","{{ stg_buildbot_password }}")]),
|
||||
{% endif %}
|
||||
{% if deployment_type == 'prod' %}
|
||||
auth=auth.BasicAuth([("{{ prod_buildbot_user }}","{{ prod_buildbot_password }}")]),
|
||||
{% endif %}
|
||||
gracefulShutdown = False,
|
||||
forceBuild = 'auth', # use this to test your slave once it is set up
|
||||
forceAllBuilds = False,
|
||||
|
||||
Reference in New Issue
Block a user