You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Improve instructions for rebuilding pgbackrest during stress testing.
This commit is contained in:
@@ -3188,11 +3188,11 @@
|
||||
|
||||
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:
|
||||
ssh build 'mkdir -p /build/dev && cd /build/dev && /pgbackrest/src/configure -\-enable-test && make clean'
|
||||
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:
|
||||
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:
|
||||
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'">
|
||||
<title>Stress Testing</title>
|
||||
|
Reference in New Issue
Block a user