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

Commit 6fc8eef

Browse files
committed
Remove build flag for local backend
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent a6316a9 commit 6fc8eef

16 files changed

+6
-34
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ jobs:
6060

6161
- name: Test
6262
env:
63-
BUILD_TAGS: example,local
63+
BUILD_TAGS: example
6464
run: make -f builder.Makefile test
6565

6666
- name: Build for local E2E
6767
env:
68-
BUILD_TAGS: example,local,e2e
68+
BUILD_TAGS: example,e2e
6969
run: make -f builder.Makefile cli
7070

7171
- name: E2E Test

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protos: ## Generate go code from .proto files
3939
cli: ## Compile the cli
4040
@docker build . --target cli \
4141
--platform local \
42-
--build-arg BUILD_TAGS=example,local,e2e \
42+
--build-arg BUILD_TAGS=example,e2e \
4343
--build-arg GIT_TAG=$(GIT_TAG) \
4444
--output ./bin
4545

@@ -63,7 +63,7 @@ cross: ## Compile the CLI for linux, darwin and windows
6363

6464
test: ## Run unit tests
6565
@docker build . \
66-
--build-arg BUILD_TAGS=example,local \
66+
--build-arg BUILD_TAGS=example \
6767
--build-arg GIT_TAG=$(GIT_TAG) \
6868
--target test
6969

@@ -72,7 +72,7 @@ cache-clear: ## Clear the builder cache
7272

7373
lint: ## run linter(s)
7474
@docker build . \
75-
--build-arg BUILD_TAGS=example,local,e2e \
75+
--build-arg BUILD_TAGS=example,e2e \
7676
--build-arg GIT_TAG=$(GIT_TAG) \
7777
--target lint
7878

local/backend.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build local
2-
31
/*
42
Copyright 2020 Docker Compose CLI authors
53

local/build.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build local
2-
31
/*
42
Copyright 2020 Docker Compose CLI authors
53

local/compose.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build local
2-
31
/*
42
Copyright 2020 Docker Compose CLI authors
53
@@ -502,7 +500,7 @@ func (s *composeService) Down(ctx context.Context, projectName string) error {
502500
func (s *composeService) removeContainers(ctx context.Context, w progress.Writer, eg *errgroup.Group, filter filters.Args) error {
503501
containers, err := s.apiClient.ContainerList(ctx, moby.ContainerListOptions{
504502
Filters: filter,
505-
All: true,
503+
All: true,
506504
})
507505
if err != nil {
508506
return err

local/compose_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build local
2-
31
/*
42
Copyright 2020 Docker Compose CLI authors
53

local/container.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build local
2-
31
/*
42
Copyright 2020 Docker Compose CLI authors
53

local/containers.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build local
2-
31
/*
42
Copyright 2020 Docker Compose CLI authors
53

local/convergence.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build local
2-
31
/*
42
Copyright 2020 Docker Compose CLI authors
53

local/convert.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build local
2-
31
/*
42
Copyright 2020 Docker Compose CLI authors
53

0 commit comments

Comments
 (0)