Skip to content

Commit

Permalink
doc: exit build process on failures
Browse files Browse the repository at this point in the history
The script generate-bareos-package-info.py is used to generate parts of the documentation.
When it exits with error, the build process is stopped.
  • Loading branch information
joergsteffens committed Nov 30, 2021
1 parent 346be64 commit 1f0292f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/manuals/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,42 +370,42 @@

os.chdir("..")
subprocess.call(["pwd"])
subprocess.call(
subprocess.check_call(
[
"scripts/generate-resoure-descriptions.py",
"--sphinx",
"source/include/autogenerated/bareos-dir-config-schema.json",
]
)
subprocess.call(
subprocess.check_call(
[
"scripts/generate-resoure-descriptions.py",
"--sphinx",
"source/include/autogenerated/bareos-sd-config-schema.json",
]
)
subprocess.call(
subprocess.check_call(
[
"scripts/generate-resoure-descriptions.py",
"--sphinx",
"source/include/autogenerated/bareos-fd-config-schema.json",
]
)
subprocess.call(
subprocess.check_call(
[
"scripts/generate-resoure-descriptions.py",
"--sphinx",
"source/include/autogenerated/bconsole-config-schema.json",
]
)
subprocess.call(
subprocess.check_call(
[
"scripts/generate-resoure-descriptions.py",
"--sphinx",
"source/include/autogenerated/bareos-tray-monitor-config-schema.json",
]
)
subprocess.call(
subprocess.check_call(
"scripts/generate-bareos-package-info.py --out source/include/autogenerated/ source/data/bareos-*-packages.json",
shell=True,
)

0 comments on commit 1f0292f

Please sign in to comment.