File tree Expand file tree Collapse file tree 5 files changed +21
-10
lines changed Expand file tree Collapse file tree 5 files changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,13 @@ For more information refer to other hosts in `inventory.yml` or the
104104
105105Each host needs a bit of metadata:
106106
107- - (required) ` ip ` : used both by ansible and placed in your ssh config.
108- - ` user ` : only provide if ssh requires a non-root login. Passing this
107+ - (required) ` ip ` : used both by ansible and placed in your ssh config
108+ - ` user ` : only provide if ssh requires a non-root login—passing this
109109 will additionally make ansible try to become root for all
110- commands executed.
111- - ` alias ` : creates shorthand names for ssh convenience.
112- - ` labels ` : Each host can also labels. More on that below.
110+ commands executed
111+ - ` alias ` : creates shorthand names for ssh convenience
112+ - ` labels ` : each host can also labels, more on that below
113+ - ` server_jobs ` : fix the number of parallel compile and test processes
113114
114115### Adding extra options to a host
115116
Original file line number Diff line number Diff line change @@ -102,10 +102,10 @@ hosts:
102102 aix61-ppc64-1 : {ip: 50.200.166.131, port: 18822}
103103
104104 - joyent :
105- alpine34-x64-1 : {ip: 72.2.114.80}
106- alpine34-x64-2 : {ip: 72.2.115.165}
107- alpine35-x64-1 : {ip: }
108- alpine35-x64-2 : {ip: }
105+ alpine34-x64-1 : {ip: 72.2.114.80, server_jobs: 2 }
106+ alpine34-x64-2 : {ip: 72.2.115.165, server_jobs: 2 }
107+ alpine35-x64-1 : {ip: 72.2.119.198, server_jobs: 2 }
108+ alpine35-x64-2 : {ip: 72.2.118.27, server_jobs: 2 }
109109 freebsd10-x64-1 : {ip: 72.2.115.15}
110110 freebsd10-x64-2 : {ip: 72.2.114.23}
111111 smartos14-x64-1 : {ip: 72.2.114.47}
Original file line number Diff line number Diff line change 5757# - ip [string] (required): ip address of host
5858# - alias [string]: 'nickname', will be used in ssh config
5959# - labels [sequence]: passed to jenkins
60+ # - server_jobs [cpus]: passed as JOBS to jenkins
6061#
6162# parsing done on host naming:
6263#
@@ -135,6 +136,9 @@ def main():
135136 if 'alias' in metadata :
136137 c .update ({'alias' : metadata ['alias' ]})
137138
139+ if 'server_jobs' in metadata :
140+ c .update ({'server_jobs' : metadata ['server_jobs' ]})
141+
138142 if 'win' in hostname :
139143 c .update ({'is_win' : True })
140144
Original file line number Diff line number Diff line change 3535- name : install shadow
3636 when : has_shadow.rc == 1
3737 raw : apk add shadow
38+
39+ # required for bug on Joyent for Alpine 3.4 using OpenSSL 7.5+
40+ # discussio @ https://github.com/nodejs/build/pull/989
41+ - name : fix openssl to < 7.5
42+ raw : apk add 'openssh<7.5'
43+
Original file line number Diff line number Diff line change 1212 args :
1313 src : " {{ monitrc }}"
1414 dest : " /etc/monitrc"
15- mode : 0440
15+ mode : 0400
1616 loop_control :
1717 loop_var : monitrc
1818 with_first_found :
You can’t perform that action at this time.
0 commit comments