Use 16 jobs for poudriere to speed it up because waiting on ansible is annoying.
This commit is contained in:
parent
1c178a5ea0
commit
7f79cc46d4
1
ansible/roles/poudriere/defaults/main.yaml
Normal file
1
ansible/roles/poudriere/defaults/main.yaml
Normal file
@ -0,0 +1 @@
|
||||
poudriere_perf_flags: "-J 16"
|
@ -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 }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user