projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more vault
[arvados.git]
/
services
/
boot
/
controller.go
1
package main
2
3
import (
4
"context"
5
"path"
6
)
7
8
type controller struct{}
9
10
func (c *controller) Boot(ctx context.Context) error {
11
cfg := cfg(ctx)
12
return Series{
13
cfg,
14
Concurrent{
15
installCerts,
16
arvadosRepo,
17
},
18
Concurrent{
19
postgresql,
20
&download{
21
URL: "https://releases.hashicorp.com/consul-template/0.18.0/consul-template_0.18.0_linux_amd64.zip",
22
Dest: path.Join(cfg.UsrDir, "bin", "consul-template"),
23
Size: 6912352,
24
Mode: 0755,
25
},
26
},
27
consul,
28
vault,
29
nomad,
30
// Concurrent{
31
// dispatchLocal,
32
// dispatchSLURM,
33
// gitHTTP,
34
// keepbalance,
35
// keepproxy,
36
// keepstore,
37
// websocket,
38
// },
39
}.Boot(ctx)
40
}