Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Common/bkr/common/schema/beaker-job.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,9 @@ task =
" "
]
]
attribute name { text }
attribute name { text },
attribute keepchanges { text }?,
attribute fetch_opts { text }?
| (element fetch {
[
a:documentation [
Expand Down
13 changes: 13 additions & 0 deletions Common/bkr/common/schema/beaker-job.rng
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,19 @@ the Free Software Foundation; either version 2 of the License, or
task must exist in Beaker's task library.
</a:documentation>
</attribute>
<optional>
<attribute name="keepchanges">
<a:documentation xml:lang="en">
Enable the Restraint keepchanges feature.
</a:documentation>
</attribute>
<attribute name="fetch_opts">
<a:documentation xml:lang="en">
Restraint fetch options, e.g:
fetch_opts="retry=8,timeo=16,abort-recipe-on-fetch-fail"
fetch_opts="retry=8,keepchanges"
</a:documentation>
</optional>
<group>
<element name="fetch">
<attribute name="url">
Expand Down