staging-sync/koji: adjust mbuffer settings
This commit is contained in:
parent
7569facfe7
commit
6edc8d918f
1 changed files with 3 additions and 3 deletions
|
@ -75,11 +75,11 @@
|
||||||
- name: Import the prod db. This will take quite a while. Go get a snack!
|
- name: Import the prod db. This will take quite a while. Go get a snack!
|
||||||
shell: >
|
shell: >
|
||||||
curl -s -S https://infrastructure.fedoraproject.org/infra/db-dumps/koji.dump.xz |
|
curl -s -S https://infrastructure.fedoraproject.org/infra/db-dumps/koji.dump.xz |
|
||||||
mbuffer -q -m 10M -l /tmp/mbuffer-curl-to-xz.log |
|
mbuffer -q -s 8M -m 128M -l /tmp/mbuffer-curl-to-xz.log |
|
||||||
xzcat |
|
xzcat |
|
||||||
mbuffer -q -m 100M -l /tmp/mbuffer-xz-to-sed.log |
|
mbuffer -q -s 16M -m 256M -l /tmp/mbuffer-xz-to-sed.log |
|
||||||
sed '/COPY buildroot_listing /,/\./d' |
|
sed '/COPY buildroot_listing /,/\./d' |
|
||||||
mbuffer -q -m 1G -l /tmp/mbuffer-sed-to-psql.log |
|
mbuffer -q -s 16M -m 512M -l /tmp/mbuffer-sed-to-psql.log |
|
||||||
psql -v ON_ERROR_STOP=1 koji
|
psql -v ON_ERROR_STOP=1 koji
|
||||||
- name: repoint all the prod rpm entries at the secondary volume (and other stuff)
|
- name: repoint all the prod rpm entries at the secondary volume (and other stuff)
|
||||||
shell: psql -1 -v ON_ERROR_STOP=1 koji </var/lib/pgsql/koji-reset-staging.sql
|
shell: psql -1 -v ON_ERROR_STOP=1 koji </var/lib/pgsql/koji-reset-staging.sql
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue