Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 52ca586

Browse files
author
David Chung
authored
Merge branch 'master' into openstack
2 parents 9be9661 + 9715fd4 commit 52ca586

File tree

43 files changed

+1568
-252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1568
-252
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ E2E_TESTS?=true
1414
#Source file target
1515
SRCS := $(shell find . -type f -name '*.go')
1616

17-
# Set the go build tags here. By default we disable building of libvirt
18-
GO_BUILD_TAGS?=nolibvirt
17+
# Set the go build tags here. By default we disable building of libvirt and ucs. Must be space-separated.
18+
GO_BUILD_TAGS?='nolibvirt noucs'
1919

2020
# Allow turning off function inlining and variable registerization
2121
ifeq (${DISABLE_OPTIMIZATION},true)

cmd/group/README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ The plugin may be started without any arguments and will default to using unix s
1515
`~/.infrakit/plugins` for communications with the CLI and other plugins:
1616

1717
```shell
18-
$ build/infrakit-group-default
19-
INFO[0000] Listening at: ~/.infrakit/plugins/group
18+
$ b$ build/infrakit plugin start group
19+
INFO[11-06|16:58:10] config module=cli/plugin url= fn=github.com/docker/infrakit/cmd/infrakit/plugin.Command.func2
20+
INFO[11-06|16:58:10] Launching module=cli/plugin kind=group name=group-stateless fn=github.com/docker/infrakit/cmd/infrakit/plugin.Command.func2
21+
INFO[11-06|16:58:10] Starting plugin module=core/launch executor=inproc key=group name=group-stateless exec=inproc fn=github.com/docker/infrakit/pkg/launch.(*Monitor).Start.func1
22+
INFO[11-06|16:58:10] Object is an event producer module=rpc/server object=&{keyed:0xc4201862f8} discover=/Users/infrakit/.infrakit/plugins/group-stateless fn=github.com/docker/infrakit/pkg/rpc/server.startAtPath
23+
INFO[11-06|16:58:10] Listening module=rpc/server discover=/Users/infrakit/.infrakit/plugins/group-stateless fn=github.com/docker/infrakit/pkg/rpc/server.startAtPath
24+
INFO[11-06|16:58:10] Waiting for startup module=core/launch key=group name=group-stateless config="{\n\"Kind\": \"group\",\n\"Options\": {\n\"PollInterval\": \"10s\",\n\"MaxParallelNum\": 0,\n\"PollIntervalGroupSpec\": \"10s\",\n\"PollIntervalGroupDetail\": \"10s\"\n}\n}" as=group-stateless fn=github.com/docker/infrakit/pkg/launch.(*Monitor).Start.func1
25+
INFO[11-06|16:58:10] Done waiting on plugin starts module=cli/plugin fn=github.com/docker/infrakit/cmd/infrakit/plugin.Command.func2
26+
INFO[11-06|16:58:10] PID file created module=run path=/Users/infrakit/.infrakit/plugins/group-stateless.pid fn=github.com/docker/infrakit/pkg/run.run.func1
27+
INFO[11-06|16:58:10] Server started module=run discovery=/Users/infrakit/.infrakit/plugins/group-stateless fn=github.com/docker/infrakit/pkg/run.run.func1
2028
```

cmd/infrakit/main.go

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ import (
6464
_ "github.com/docker/infrakit/pkg/run/v0/tailer"
6565
_ "github.com/docker/infrakit/pkg/run/v0/terraform"
6666
_ "github.com/docker/infrakit/pkg/run/v0/time"
67-
_ "github.com/docker/infrakit/pkg/run/v0/ucs"
6867
_ "github.com/docker/infrakit/pkg/run/v0/vagrant"
6968
_ "github.com/docker/infrakit/pkg/run/v0/vanilla"
7069
_ "github.com/docker/infrakit/pkg/run/v0/vars"

cmd/infrakit/ucs.go

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// +build ucs
2+
3+
package main
4+
5+
import (
6+
_ "github.com/docker/infrakit/pkg/run/v0/ucs"
7+
)

0 commit comments

Comments
 (0)