You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path to layout config file. Used by zuul-server only.
91
93
``layout_config=/etc/zuul/layout.yaml``
@@ -272,10 +274,12 @@ include, and currently supports one type of inclusion, a python file::
272
274
- python-file: local_functions.py
273
275
274
276
**python-file**
275
-
The path to a python file. The file will be loaded and objects that
276
-
it defines will be placed in a special environment which can be
277
-
referenced in the Zuul configuration. Currently only the
278
-
parameter-function attribute of a Job uses this feature.
277
+
The path to a python file (either an absolute path or relative to the
278
+
directory name of :ref:`layout_config <layout_config>`). The
279
+
file will be loaded and objects that it defines will be placed in a
280
+
special environment which can be referenced in the Zuul configuration.
281
+
Currently only the parameter-function attribute of a Job uses this
282
+
feature.
279
283
280
284
Pipelines
281
285
"""""""""
@@ -462,7 +466,8 @@ explanation of each of the parameters::
462
466
This may be used for any event. It requires that a certain kind
463
467
of approval be present for the current patchset of the change (the
464
468
approval could be added by the event in question). It follows the
465
-
same syntax as the "approval" pipeline requirement below.
469
+
same syntax as the :ref:`"approval" pipeline requirement below
470
+
<pipeline-require-approval>`.
466
471
467
472
**timer**
468
473
This trigger will run based on a cron-style time specification.
@@ -497,7 +502,8 @@ explanation of each of the parameters::
497
502
This may be used for any event. It requires that a certain kind
498
503
of approval be present for the current patchset of the change (the
499
504
approval could be added by the event in question). It follows the
500
-
same syntax as the "approval" pipeline requirement below.
505
+
same syntax as the :ref:`"approval" pipeline requirement below
506
+
<pipeline-require-approval>`.
501
507
502
508
503
509
**require**
@@ -507,6 +513,8 @@ explanation of each of the parameters::
507
513
the conditions specified here must be met or the item will not be
508
514
enqueued.
509
515
516
+
.. _pipeline-require-approval:
517
+
510
518
**approval**
511
519
This requires that a certain kind of approval be present for the
512
520
current patchset of the change (the approval could be added by the
@@ -561,6 +569,15 @@ explanation of each of the parameters::
561
569
well. To suppress this behavior (and allow jobs to continue
562
570
running), set this to ``false``. Default: ``true``.
563
571
572
+
**ignore-dependencies**
573
+
In any kind of pipeline (dependent or independent), Zuul will
574
+
attempt to enqueue all dependencies ahead of the current change so
575
+
that they are tested together (independent pipelines report the
576
+
results of each change regardless of the results of changes ahead).
577
+
To ignore dependencies completely in an independent pipeline, set
578
+
this to ``true``. This option is ignored by dependent pipelines.
579
+
The default is: ``false``.
580
+
564
581
**success**
565
582
Describes where Zuul should report to if all the jobs complete
566
583
successfully.
@@ -924,7 +941,7 @@ return ``SUCCESS`` immediately. This can be useful if you require
924
941
that all changes be processed by a pipeline but a project has no jobs
925
942
that can be run on it.
926
943
927
-
.. seealso:: The OpenStack Zuul configuration for a comprehensive example: https://github.com/openstack-infra/config/blob/master/modules/openstack_project/files/zuul/layout.yaml
944
+
.. seealso:: The OpenStack Zuul configuration for a comprehensive example: https://git.openstack.org/cgit/openstack-infra/project-config/tree/zuul/layout.yaml
928
945
929
946
Project Templates
930
947
"""""""""""""""""
@@ -978,6 +995,10 @@ also be added::
978
995
check:
979
996
- foobar-extra-special-job
980
997
998
+
Individual jobs may optionally be added to pipelines (e.g. check,
999
+
gate, et cetera) for a project, in addtion to those provided by
1000
+
templates.
1001
+
981
1002
The order of the jobs listed in the project (which only affects the
982
1003
order of jobs listed on the report) will be the jobs from each
983
1004
template in the order listed, followed by any jobs individually listed
@@ -1034,10 +1055,19 @@ example, this would give you a list of Gerrit commands to reverify or
1034
1055
recheck changes for the gate and check pipelines respectively::
0 commit comments