1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-10-30 23:37:45 +02:00

Use --clean-only for reproducible builds in contributing documentation.

If the work or result directories already contain data then the docs might be generated slightly differently.  Doing a clean ensures they will always produce the same output (provided the code does not change).
This commit is contained in:
David Steele
2020-03-22 13:50:31 -04:00
parent 06a3f82e91
commit 4c831d8e83

View File

@@ -67,6 +67,13 @@
</exe-cmd>
<exe-cmd-extra>-y 2>&amp;1</exe-cmd-extra>
</execute>
<!-- Clean so the tests give consistent output -->
<execute show="n">
<exe-cmd>
pgbackrest/test/test.pl --clean-only
</exe-cmd>
</execute>
</execute-list>
<p>Some unit tests and all the integration test require <proper>Docker</proper>. Running in containers allows us to simulate multiple hosts, test on different distributions and versions of <postgres/>, and use sudo without affecting the host system.</p>