Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit fea9697

Browse files
authored
Merge pull request #1158 from docker/move_e2e_into_backend_folders
2 parents ed67111 + dcd1e30 commit fea9697

File tree

80 files changed

+979
-1082
lines changed

Some content is hidden

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

80 files changed

+979
-1082
lines changed

.github/labeler.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ local:
1010
cli:
1111
- cli/**/*
1212

13+
metrics:
14+
- cli/metrics/**/*
15+
1316
api:
1417
- api/**/*
15-
- protos/**/*
18+
- cli/server/protos/**/*
1619

1720
ci:
1821
- .github/**/*
1922

2023
documentation:
2124
- docs/**/*
22-
23-
metrics:
24-
- metrics/**/*

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ jobs:
6464
run: make -f builder.Makefile cross
6565

6666
- name: Test
67-
env:
6867
run: make -f builder.Makefile test
6968

7069
- name: Build for local E2E

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ RUN --mount=target=. \
8787
make BINARY=/out/docker -f builder.Makefile cross
8888

8989
FROM scratch AS protos
90-
COPY --from=make-protos /compose-cli/protos .
90+
COPY --from=make-protos /compose-cli/cli/server/protos .
9191

9292
FROM scratch AS cli
9393
COPY --from=make-cli /out/* .

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ all: cli
3434

3535
protos: ## Generate go code from .proto files
3636
@docker build . --target protos \
37-
--output ./protos
37+
--output ./cli/server/protos
3838

3939
cli: ## Compile the cli
4040
@docker build . --target cli \
@@ -44,16 +44,16 @@ cli: ## Compile the cli
4444
--output ./bin
4545

4646
e2e-local: ## Run End to end local tests. Set E2E_TEST=TestName to run a single test
47-
go test -count=1 -v $(TEST_FLAGS) ./tests/e2e ./tests/compose-e2e ./tests/skip-win-ci-e2e ./local/e2e
47+
go test -count=1 -v $(TEST_FLAGS) ./local/e2e/compose ./local/e2e/container ./local/e2e/cli-only
4848

4949
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
50-
go test -count=1 -v $(TEST_FLAGS) ./tests/e2e
50+
go test -count=1 -v $(TEST_FLAGS) ./local/e2e/cli-only
5151

5252
e2e-aci: ## Run End to end ACI tests. Set E2E_TEST=TestName to run a single test
53-
go test -count=1 -v $(TEST_FLAGS) ./tests/aci-e2e
53+
go test -count=1 -v $(TEST_FLAGS) ./aci/e2e
5454

5555
e2e-ecs: ## Run End to end ECS tests. Set E2E_TEST=TestName to run a single test
56-
go test -timeout 20m -count=1 -v $(TEST_FLAGS) ./tests/ecs-e2e
56+
go test -timeout 20m -count=1 -v $(TEST_FLAGS) ./ecs/e2e/ecs ./ecs/e2e/ecs-local
5757

5858
cross: ## Compile the CLI for linux, darwin and windows
5959
@docker build . --target cross \

0 commit comments

Comments
 (0)