Improve instructions for rebuilding pgbackrest during stress testing.

This commit is contained in:
David Steele
2021-10-07 11:01:48 -04:00
parent fb3f6928c9
commit 338102861f
+3 -3
View File
@@ -3188,11 +3188,11 @@
Once the stress test has been run, it is common to perform some additional tests with a custom/debug build. Once the stress test has been run, it is common to perform some additional tests with a custom/debug build.
To initialize the build, run the following. This only needs to be done once per doc build, though running it more that once only costs additional time: To initialize the build, run the following. This only needs to be done once per doc build or branch change, though running it more that once only costs additional time:
ssh build 'mkdir -p /build/dev && cd /build/dev && /pgbackrest/src/configure -\-enable-test && make clean' docker exec -it doc-build bash -c 'rm -rf /build/dev && mkdir -p /build/dev && cd /build/dev && /pgbackrest/src/configure -\-enable-test'
One each host where a new build is required, run the following. This will build pgbackrest, copy it to the host, and display the build time for sanity: One each host where a new build is required, run the following. This will build pgbackrest, copy it to the host, and display the build time for sanity:
ssh build make -C /build/dev -j 8 && scp build:/build/dev/pgbackrest /usr/bin && ls -lah /usr/bin/pgbackrest docker exec -it <container> bash -c 'ssh build make -C /build/dev -j 8 && scp build:/build/dev/pgbackrest /usr/bin && ls -lah /usr/bin/pgbackrest'
============================================================================================================================ --> ============================================================================================================================ -->
<section id="stress" if="'{[stress]}' eq 'y'"> <section id="stress" if="'{[stress]}' eq 'y'">
<title>Stress Testing</title> <title>Stress Testing</title>