Skip to content

Commit

Permalink
Merge pull request #1298 from fluxcd/phony-build
Browse files Browse the repository at this point in the history
Rename make target `build` to `manager`
  • Loading branch information
stefanprodan authored May 3, 2024
2 parents edccfe9 + cc3d495 commit c9bf167
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
SKIP_COSIGN_VERIFICATION: true
CREATE_CLUSTER: false
run: make e2e
- name: Print controller logs
if: always()
continue-on-error: true
run: |
kubectl -n source-system logs -l app=source-controller
kind-linux-arm64:
# Hosted on Equinix
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ ifeq ($(shell uname -s),Darwin)
ENVTEST_ARCH=amd64
endif

all: build
all: manager

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

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

0 comments on commit c9bf167

Please sign in to comment.