summaryrefslogtreecommitdiff
path: root/.zuul.yaml
diff options
context:
space:
mode:
authorGuillaume Chauvel <guillaume.chauvel@gmail.com>2021-01-10 20:56:49 +0100
committerGuillaume Chauvel <guillaume.chauvel@gmail.com>2021-01-11 17:02:38 +0100
commit83b2d68a91c7e76c25b73e30f6440f108471cc78 (patch)
treed9b139ccf3991073ab1bed2577be11670c3677fc /.zuul.yaml
parentbdeea1b5a8a090ac73f7804ea267c0f2cba6d50a (diff)
downloadzuul-83b2d68a91c7e76c25b73e30f6440f108471cc78.tar.gz
tutorial: Rework quick-start and prepare for other tutorials
-quick-start steps are modified and fit more to what a reader would do -quick-start test code is mainly splitted into 2 files, one which is a setup part as a role, the second one starts with cloning the test repository, just like all followings tutorial will do -some elementary steps when manipulating or checking gerrit are being added as roles tutorial ssh config: test ssh configuration has been modified to allow using a known_hosts file for both someone executing localtest and opendev.org's zuul. A reader executing the tutorial would still have to accept the fingerprint. To do so, commit-msg hook is fetched manually, otherwise it would be downloaded by git-review throught scp. Alas, git-review doesn't allow to pass options to scp to provide a new known_hosts file. User's ssh key is used if ~/.ssh/id_rsa.pub is available, otherwise use a generated one. - "to_json | from_json | json_query" in test is due to an issue between ansible and jmespath [1] [1] https://github.com/ansible-collections/community.general/issues/320 Change-Id: Id5c669537ff5afc7468352139980ebade167d534
Diffstat (limited to '.zuul.yaml')
-rw-r--r--.zuul.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 1ff14d77f..0e99c9f41 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -110,10 +110,10 @@
- job:
name: zuul-quick-start
parent: opendev-buildset-registry-consumer
- description: Run the commands in the Zuul quick-start documentation.
- pre-run: playbooks/quick-start/pre.yaml
- run: playbooks/quick-start/run.yaml
- post-run: playbooks/quick-start/post.yaml
+ description: Run the commands in the Zuul tutorial quick-start documentation.
+ pre-run: playbooks/tutorial/pre.yaml
+ run: playbooks/tutorial/run.yaml
+ post-run: playbooks/tutorial/post.yaml
required-projects:
- zuul/zuul