Add status page to the quick-start

Tell users that the status page exists and point them to it during
the quick-start documentation.

Also, verify that it is served in the quick-start test job.

Change-Id: I8783ac731112af7752e8a7fc34e3337b52c382d9
This commit is contained in:
James E. Blair 2018-10-15 09:46:58 -07:00
parent 619ec91499
commit 45724a42ae
2 changed files with 25 additions and 3 deletions

View File

@ -314,9 +314,15 @@ Test Zuul Pipelines
-------------------
Zuul is now running with a basic :term:`check` and :term:`gate`
configuration. We can now begin adding Zuul configuration to one of
our :term:`untrusted projects<untrusted-project>`. Start by cloning
the `test1` project which was created by the setup script.
configuration. Now is a good time to take a look at Zuul's web
interface. Visit http://localhost:9000/t/example-tenant/status to see
the current status of the system. It should be idle, but if you leave
this page open during the following steps, you will see it update
automatically.
We can now begin adding Zuul configuration to one of our
:term:`untrusted projects<untrusted-project>`. Start by cloning the
`test1` project which was created by the setup script.
.. code-block:: shell

View File

@ -86,6 +86,22 @@
user: admin
password: secret
status_code: 200
- name: Fetch status page
uri:
url: http://localhost:9000/t/example-tenant/status
return_content: true
register: status_page
- name: Verify status page was served
assert:
that: "'You need to enable JavaScript to run this app.' in status_page.content"
- name: Fetch status data
uri:
url: http://localhost:9000/api/tenant/example-tenant/status
return_content: true
register: status_data
- name: Verify status data were served
assert:
that: "status_data.json.last_reconfigured > 0"
- name: Clone test1
git:
repo: http://localhost:8080/test1