Skip to content

Commit c9bf167

Browse files
authored
Merge pull request #1298 from fluxcd/phony-build
Rename make target `build` to `manager`
2 parents edccfe9 + cc3d495 commit c9bf167

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/e2e.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ jobs:
4646
SKIP_COSIGN_VERIFICATION: true
4747
CREATE_CLUSTER: false
4848
run: make e2e
49+
- name: Print controller logs
50+
if: always()
51+
continue-on-error: true
52+
run: |
53+
kubectl -n source-system logs -l app=source-controller
4954
5055
kind-linux-arm64:
5156
# Hosted on Equinix

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ ifeq ($(shell uname -s),Darwin)
6161
ENVTEST_ARCH=amd64
6262
endif
6363

64-
all: build
64+
all: manager
6565

66-
build: ## Build manager binary
66+
# Build manager binary
67+
manager: generate fmt vet
6768
go build $(GO_STATIC_FLAGS) -o $(BUILD_DIR)/bin/manager main.go
6869

6970
KUBEBUILDER_ASSETS?="$(shell $(ENVTEST) --arch=$(ENVTEST_ARCH) use -i $(ENVTEST_KUBERNETES_VERSION) --bin-dir=$(ENVTEST_ASSETS_DIR) -p path)"

0 commit comments

Comments
 (0)