Use 16 jobs for poudriere to speed it up because waiting on ansible is annoying.

This commit is contained in:
Tom Alexander 2022-12-10 20:37:12 -05:00
parent 1c178a5ea0
commit 7f79cc46d4
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
poudriere_perf_flags: "-J 16"

View File

@ -115,7 +115,7 @@
- name: Create the jails
when: item.version != "CURRENT"
command: |-
poudriere jail -c -j {{ item.jail }} -v {{ item.version }}
poudriere jail {{poudriere_perf_flags}} -c -j {{ item.jail }} -v {{ item.version }}
args:
creates: "/usr/local/poudriere/jails/{{ item.jail }}"
loop: "{{ poudriere_builds }}"
@ -124,7 +124,7 @@
when: item.version == "CURRENT"
# -D clones the entire history instead of just the most recent commit
command: |-
poudriere jail -c -j {{ item.jail }} -v {{ item.branch|default("main") }} -a amd64 -m git -D -U https://git.FreeBSD.org/src.git -K {{ item.kernel|default("GENERIC") }}
poudriere jail {{poudriere_perf_flags}} -c -j {{ item.jail }} -v {{ item.branch|default("main") }} -a amd64 -m git -D -U https://git.FreeBSD.org/src.git -K {{ item.kernel|default("GENERIC") }}
args:
creates: "/usr/local/poudriere/jails/{{ item.jail }}"
loop: "{{ poudriere_builds }}"