diff options
author | James E. Blair <jim@acmegating.com> | 2022-08-30 14:26:15 -0700 |
---|---|---|
committer | James E. Blair <jim@acmegating.com> | 2022-08-30 14:34:20 -0700 |
commit | 0df6e2d7ca0e27eb311ad99a4346ac9ae183260c (patch) | |
tree | 808177e8de2a1385eb7550300f1f0480ce1f13e2 /doc/source/tutorials/keycloak.rst | |
parent | adadc0bdd72d98adb8896f46cf575765b5b2e874 (diff) | |
download | zuul-0df6e2d7ca0e27eb311ad99a4346ac9ae183260c.tar.gz |
Fix and improve Keycloak tutorial
The keycloak tutorial incorrectly instructed users to run
"docker-compose-compose". Correct that.
Also, change the instructions to "stop" rather than "down" the
original containers so that the results of the quick-start tutorial
are still present.
Finally, verify that, and also add a verification that the intended
effect of the restart worked (by checking the available authn methods).
Change-Id: I43a17e27300126e8acdc1919ba2bbe98719ad604
Diffstat (limited to 'doc/source/tutorials/keycloak.rst')
-rw-r--r-- | doc/source/tutorials/keycloak.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/tutorials/keycloak.rst b/doc/source/tutorials/keycloak.rst index 5242a4f05..896f35479 100644 --- a/doc/source/tutorials/keycloak.rst +++ b/doc/source/tutorials/keycloak.rst @@ -46,14 +46,14 @@ that we can update Zuul's configuration to add authentication. .. code-block:: shell cd zuul/doc/source/examples - sudo -E docker-compose-compose -p zuul-tutorial down + sudo -E docker-compose -p zuul-tutorial stop Restart the containers with a new Zuul configuration. .. code-block:: shell cd zuul/doc/source/examples - ZUUL_TUTORIAL_CONFIG="./keycloak/etc_zuul/" sudo -E docker-compose-compose -p zuul-tutorial up -d + ZUUL_TUTORIAL_CONFIG="./keycloak/etc_zuul/" sudo -E docker-compose -p zuul-tutorial up -d This tells docker-compose to use these Zuul `config files <https://opendev.org/zuul/zuul/src/branch/master/doc/source/examples/keycloak>`_. @@ -67,7 +67,7 @@ with this command: .. code-block:: shell cd zuul/doc/source/examples/keycloak - sudo -E docker-compose-compose -p zuul-tutorial-keycloak up -d + sudo -E docker-compose -p zuul-tutorial-keycloak up -d Once Keycloak is running, you can visit the web interface at http://localhost:8082/ |