147 sealed case class Remote_Build( |
147 sealed case class Remote_Build( |
148 description: String, |
148 description: String, |
149 host: String, |
149 host: String, |
150 user: String = "", |
150 user: String = "", |
151 port: Int = 0, |
151 port: Int = 0, |
152 ssh_host: String = "", |
|
153 proxy_host: String = "", |
152 proxy_host: String = "", |
154 proxy_user: String = "", |
153 proxy_user: String = "", |
155 proxy_port: Int = 0, |
154 proxy_port: Int = 0, |
156 self_update: Boolean = false, |
155 self_update: Boolean = false, |
157 historic: Boolean = false, |
156 historic: Boolean = false, |
164 more_hosts: List[String] = Nil, |
163 more_hosts: List[String] = Nil, |
165 detect: SQL.Source = "", |
164 detect: SQL.Source = "", |
166 active: Boolean = true) |
165 active: Boolean = true) |
167 { |
166 { |
168 def ssh_session(context: SSH.Context): SSH.Session = |
167 def ssh_session(context: SSH.Context): SSH.Session = |
169 context.open_session(host = proper_string(ssh_host) getOrElse host, user = user, port = port, |
168 context.open_session(host = host, user = user, port = port, |
170 proxy_host = proxy_host, proxy_user = proxy_user, proxy_port = proxy_port, |
169 proxy_host = proxy_host, proxy_user = proxy_user, proxy_port = proxy_port, |
171 permissive = proxy_host.nonEmpty) |
170 permissive = proxy_host.nonEmpty) |
172 |
171 |
173 def sql: SQL.Source = |
172 def sql: SQL.Source = |
174 Build_Log.Prop.build_engine + " = " + SQL.string(Build_History.engine) + " AND " + |
173 Build_Log.Prop.build_engine + " = " + SQL.string(Build_History.engine) + " AND " + |
214 |
213 |
215 val remote_builds_old: List[Remote_Build] = |
214 val remote_builds_old: List[Remote_Build] = |
216 List( |
215 List( |
217 Remote_Build("AFP bulky", "lrzcloud1", self_update = true, |
216 Remote_Build("AFP bulky", "lrzcloud1", self_update = true, |
218 proxy_host = "lxbroy10", proxy_user = "i21isatest", |
217 proxy_host = "lxbroy10", proxy_user = "i21isatest", |
219 ssh_host = "10.155.208.96", |
|
220 options = "-m64 -M6 -U30000 -s10 -t AFP", |
218 options = "-m64 -M6 -U30000 -s10 -t AFP", |
221 args = "-g large -g slow", |
219 args = "-g large -g slow", |
222 afp = true, |
220 afp = true, |
223 bulky = true, |
221 bulky = true, |
224 detect = Build_Log.Prop.build_tags + " = " + SQL.string("AFP")), |
222 detect = Build_Log.Prop.build_tags + " = " + SQL.string("AFP")), |
339 val remote_builds2: List[List[Remote_Build]] = |
337 val remote_builds2: List[List[Remote_Build]] = |
340 List( |
338 List( |
341 List( |
339 List( |
342 Remote_Build("AFP2", "lrzcloud2", self_update = true, |
340 Remote_Build("AFP2", "lrzcloud2", self_update = true, |
343 proxy_host = "lxbroy10", proxy_user = "i21isatest", |
341 proxy_host = "lxbroy10", proxy_user = "i21isatest", |
344 ssh_host = "10.195.2.10", |
|
345 options = "-m32 -M1x8 -t AFP" + |
342 options = "-m32 -M1x8 -t AFP" + |
346 " -e ISABELLE_GHC=ghc" + |
343 " -e ISABELLE_GHC=ghc" + |
347 " -e ISABELLE_MLTON=mlton" + |
344 " -e ISABELLE_MLTON=mlton" + |
348 " -e ISABELLE_OCAML=ocaml -e ISABELLE_OCAMLC=ocamlc -e ISABELLE_OCAMLFIND=ocamlfind" + |
345 " -e ISABELLE_OCAML=ocaml -e ISABELLE_OCAMLC=ocamlc -e ISABELLE_OCAMLFIND=ocamlfind" + |
349 " -e ISABELLE_SMLNJ=sml", |
346 " -e ISABELLE_SMLNJ=sml", |
350 args = "-a -X large -X slow", |
347 args = "-a -X large -X slow", |
351 afp = true, |
348 afp = true, |
352 detect = Build_Log.Prop.build_tags + " = " + SQL.string("AFP")), |
349 detect = Build_Log.Prop.build_tags + " = " + SQL.string("AFP")), |
353 Remote_Build("AFP bulky2", "lrzcloud2", self_update = true, |
350 Remote_Build("AFP bulky2", "lrzcloud2", self_update = true, |
354 proxy_host = "lxbroy10", proxy_user = "i21isatest", |
351 proxy_host = "lxbroy10", proxy_user = "i21isatest", |
355 ssh_host = "10.195.2.10", |
|
356 options = "-m64 -M8 -U30000 -s10 -t AFP", |
352 options = "-m64 -M8 -U30000 -s10 -t AFP", |
357 args = "-g large -g slow", |
353 args = "-g large -g slow", |
358 afp = true, |
354 afp = true, |
359 bulky = true, |
355 bulky = true, |
360 detect = Build_Log.Prop.build_tags + " = " + SQL.string("AFP")))) |
356 detect = Build_Log.Prop.build_tags + " = " + SQL.string("AFP")))) |