Debugging for readthedoc web ping
Unfortunately this is failing in the gate, and I have no idea why (it works locally ...). Add some debugging. Since this is called with a secret from a post-review only job in the trusted project-config repo, there's little way to self-test this without committing things :/ Hopefully this sheds some light ... Change-Id: I7d661f8eefe25d90b5eded309062f32344b3379c
This commit is contained in:
parent
8fc3461f59
commit
5a38208e3b
@ -15,6 +15,12 @@
|
|||||||
msg: password is required when using rtd_credentials.username
|
msg: password is required when using rtd_credentials.username
|
||||||
when: rtd_credentials.password is not defined
|
when: rtd_credentials.password is not defined
|
||||||
|
|
||||||
|
- debug:
|
||||||
|
msg: 'https://readthedocs.org/api/v2/webhook/{{ rtd_project_name}}/{{ rtd_webhook_id}}/'
|
||||||
|
|
||||||
|
- debug:
|
||||||
|
msg: 'username <{{ rtd_credentials.username }}>'
|
||||||
|
|
||||||
- name: Trigger readthedocs build webhook via authentication
|
- name: Trigger readthedocs build webhook via authentication
|
||||||
uri:
|
uri:
|
||||||
method: POST
|
method: POST
|
||||||
@ -24,8 +30,6 @@
|
|||||||
# NOTE(ianw): testing it seems the API doesn't respond with
|
# NOTE(ianw): testing it seems the API doesn't respond with
|
||||||
# 401 so this is required
|
# 401 so this is required
|
||||||
force_basic_auth: yes
|
force_basic_auth: yes
|
||||||
# avoid logging any credentials
|
|
||||||
no_log: true
|
|
||||||
|
|
||||||
- when: rtd_credentials.integration_token is defined and
|
- when: rtd_credentials.integration_token is defined and
|
||||||
rtd_credentials.username is not defined
|
rtd_credentials.username is not defined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user