@@ -33,26 +33,16 @@ endif
33
33
34
34
all : cli
35
35
36
- protos : # # Generate go code from .proto files
37
- @docker build . --target protos \
38
- --output ./cli/server/protos
39
-
40
36
cli : # # Compile the cli
41
37
@docker build . --target cli \
42
38
--platform local \
43
39
--build-arg BUILD_TAGS=e2e,kube \
44
40
--build-arg GIT_TAG=$(GIT_TAG ) \
45
41
--output ./bin
46
42
47
- e2e-local : # # Run End to end local tests. Set E2E_TEST=TestName to run a single test
48
- gotestsum $(TEST_FLAGS ) ./local/e2e/container ./local/e2e/cli-only -- -count=1
49
-
50
43
e2e-win-ci : # # Run end to end local tests on Windows CI, no Docker for Linux containers available ATM. Set E2E_TEST=TestName to run a single test
51
44
go test -count=1 -v $(TEST_FLAGS ) ./local/e2e/cli-only
52
45
53
- e2e-kube : # # Run End to end Kube tests. Set E2E_TEST=TestName to run a single test
54
- go test -timeout 10m -count=1 -v $(TEST_FLAGS ) ./kube/e2e
55
-
56
46
e2e-ecs : # # Run End to end ECS tests. Set E2E_TEST=TestName to run a single test
57
47
go test -timeout 30m -count=1 -v $(TEST_FLAGS ) ./ecs/e2e/ecs ./ecs/e2e/ecs-local
58
48
@@ -84,15 +74,6 @@ import-restrictions: ## run import-restrictions script
84
74
@docker build . \
85
75
--target import-restrictions
86
76
87
- serve : cli # # start server
88
- @./bin/docker serve --address unix:///tmp/backend.sock
89
-
90
- moby-cli-link : # # Create com.docker.cli symlink if does not already exist
91
- ln -s $(MOBY_DOCKER ) /usr/local/bin/com.docker.cli
92
-
93
- install : # # Link /usr/local/bin/ to current binary
94
- ln -fs $(BINARY_FOLDER ) /docker /usr/local/bin/docker
95
-
96
77
validate-headers : # # Check license header for all files
97
78
@docker build . --target check-license-headers
98
79
@@ -124,4 +105,4 @@ help: ## Show help
124
105
125
106
FORCE :
126
107
127
- .PHONY : all validate protos cli e2e-local cross test cache-clear lint check-dependencies serve classic-link help go-mod-tidy
108
+ .PHONY : all validate cli cross test cache-clear lint check-dependencies help go-mod-tidy
0 commit comments