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

Commit 0b7cab4

Browse files
author
David Chung
authored
Manager refactor + removal of deprecated binary (#722)
Signed-off-by: David Chung <[email protected]>
1 parent 29169c0 commit 0b7cab4

Some content is hidden

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

76 files changed

+3602
-2799
lines changed

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ endef
100100

101101
# actual binaries that need to be built:
102102
$(call define_binary_target,infrakit,github.com/docker/infrakit/cmd/infrakit)
103-
$(call define_binary_target,infrakit-manager,github.com/docker/infrakit/cmd/manager)
104103

105104

106105
# preserves the build/* binaries but use script to call 'infrakit plugin start' instead:
@@ -157,8 +156,7 @@ endif
157156

158157

159158
binaries: clean build-binaries build-plugin-start-scripts
160-
build-binaries: build/infrakit \
161-
build/infrakit-manager \
159+
build-binaries: build/infrakit
162160

163161

164162
@echo "+ $@"
@@ -240,10 +238,6 @@ build-devbundle:
240238
@docker build ${DOCKER_BUILD_FLAGS} \
241239
-t ${DOCKER_IMAGE}:${DOCKER_TAG} \
242240
-f ${CURDIR}/dockerfiles/Dockerfile.bundle .
243-
ifeq (${E2E_TESTS},true)
244-
@echo "Running tests -- scripts/e2e-test-docker-containers.sh to verify the binaries"
245-
@scripts/e2e-test-docker-containers.sh
246-
endif
247241
ifeq (${DOCKER_PUSH},true)
248242
@docker push ${DOCKER_IMAGE}:${DOCKER_TAG}
249243
ifeq (${DOCKER_TAG_LATEST},true)

cmd/group/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func main() {
108108
}()
109109

110110
run.Plugin(plugin.DefaultTransport(*name),
111-
metadata_rpc.PluginServer(metadata_plugin.NewPluginFromChannel(updateSnapshot)),
111+
metadata_rpc.Server(metadata_plugin.NewPluginFromChannel(updateSnapshot)),
112112
group_server.PluginServer(groupPlugin))
113113

114114
close(stopSnapshot)

cmd/infrakit/event/event.go

Lines changed: 0 additions & 344 deletions
This file was deleted.

cmd/infrakit/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ import (
1818
"github.com/docker/infrakit/pkg/template"
1919
"github.com/spf13/cobra"
2020

21-
//_ "github.com/docker/infrakit/cmd/infrakit/event"
22-
//_ "github.com/docker/infrakit/cmd/infrakit/metadata"
23-
2421
// CLI commands
2522
_ "github.com/docker/infrakit/cmd/infrakit/manager"
2623
_ "github.com/docker/infrakit/cmd/infrakit/playbook"

0 commit comments

Comments
 (0)