forked from infra/ansible
blockerbugs: add Forgejo vars to deploymentconfig as well
I can't tell for sure, but I suspect if both deploymentconfig and deployment are present, deploymentconfig is used, so we need the vars here as well as deployment. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d9e17ab93c
commit
59704e4da7
1 changed files with 22 additions and 0 deletions
|
|
@ -67,6 +67,10 @@ spec:
|
|||
value: "https://stg.pagure.io/api/0/"
|
||||
- name: BUGZILLA_URL
|
||||
value: "https://bugzilla.stage.redhat.com"
|
||||
- name: FORGEJO_BOT_ACCESS_TOKEN
|
||||
value: "{{ stg_blockerbugs_forge_bot_access_token }}"
|
||||
- name: FORGEJO_REPO_WEBHOOK_SECRET
|
||||
value: "{{ stg_blockerbugs_forge_repo_webhook_secret }}"
|
||||
{% else %}
|
||||
- name: POSTGRESQL_PASSWORD
|
||||
value: "{{ prod_blockerbugs_db_password }}"
|
||||
|
|
@ -84,6 +88,10 @@ spec:
|
|||
value: "https://pagure.io/api/0/"
|
||||
- name: BUGZILLA_URL
|
||||
value: "https://bugzilla.redhat.com"
|
||||
- name: FORGEJO_BOT_ACCESS_TOKEN
|
||||
value: "{{ prod_blockerbugs_forge_bot_access_token }}"
|
||||
- name: FORGEJO_REPO_WEBHOOK_SECRET
|
||||
value: "{{ prod_blockerbugs_forge_repo_webhook_secret }}"
|
||||
{% endif %}
|
||||
- name: BLOCKERBUGS_URL
|
||||
value: "https://qa{{ env_suffix }}.fedoraproject.org/blockerbugs/"
|
||||
|
|
@ -99,6 +107,20 @@ spec:
|
|||
value: "True"
|
||||
- name: PAGURE_REPO
|
||||
value: "fedora-qa/blocker-review"
|
||||
- name: FORGEJO_REPO
|
||||
value: "quality/blocker-review"
|
||||
- name: FORGEJO_BOT_USERNAME
|
||||
value: "blockerbot"
|
||||
- name: FORGEJO_BOT_ENABLED
|
||||
value: "True"
|
||||
- name: FORGEJO_URL
|
||||
value: "https://forge{{ env_suffix }}.fedoraproject.org/"
|
||||
- name: FORGEJO_API
|
||||
value: "https://forge{{ env_suffix }}.fedoraproject.org/api/v1/"
|
||||
- name: FORGEJO_ADMIN_ORG
|
||||
value: "quality"
|
||||
- name: FORGEJO_ADMIN_TEAM
|
||||
value: "members"
|
||||
- name: BODHI_URL
|
||||
value: "https://bodhi{{ env_suffix }}.fedoraproject.org/"
|
||||
- name: OPENSHIFT_PROD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue