Adjust Makefile to new repository
This commit is contained in:
		
							parent
							
								
									ee79b2fadc
								
							
						
					
					
						commit
						6590081cdc
					
				
							
								
								
									
										5
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										5
									
								
								Makefile
								
								
								
								
							|  | @ -96,6 +96,9 @@ ifndef HAS_DEP | |||
| endif | ||||
| 	dep ensure -v | ||||
| 
 | ||||
| .PHONY: dep | ||||
| dep: go-dependencies ## Ensure build dependencies
 | ||||
| 
 | ||||
| .PHONY: build | ||||
| build: $(NAME) ## Builds a dynamic executable or package
 | ||||
| 	@echo "+ $@" | ||||
|  | @ -103,7 +106,7 @@ build: $(NAME) ## Builds a dynamic executable or package | |||
| .PHONY: $(NAME) | ||||
| $(NAME): $(wildcard *.go) $(wildcard */*.go) VERSION.txt | ||||
| 	@echo "+ $@" | ||||
| 	CGO_ENABLED=0 go build -tags "$(BUILDTAGS)" ${GO_LDFLAGS} -o build/_output/bin/$(NAME) $(BUILD_PATH) | ||||
| 	CGO_ENABLED=0 go build -tags "$(BUILDTAGS)" ${GO_LDFLAGS} -o build/_output/bin/jenkins-operator $(BUILD_PATH) | ||||
| 
 | ||||
| .PHONY: static | ||||
| static: ## Builds a static executable
 | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| # Setup variables for the Makefile | ||||
| NAME=jenkins-operator | ||||
| PKG=github.com/VirtusLab/jenkins-operator | ||||
| NAME=kubernetes-operator | ||||
| PKG=github.com/jenkinsci/kubernetes-operator | ||||
| DOCKER_REGISTRY=virtuslab | ||||
| REPO=jenkins-operator | ||||
| REPO=kubernetes-operator | ||||
| NAMESPACE=default | ||||
| API_VERSION=jenkins:v1alpha1 | ||||
| MINIKUBE_KUBERNETES_VERSION=v1.10.9 | ||||
|  |  | |||
|  | @ -17,8 +17,8 @@ This document explains how to setup your development environment. | |||
| mkdir -p $GOPATH/src/github.com/jenkinsci | ||||
| cd $GOPATH/src/github.com/jenkinsci/ | ||||
| git clone git@github.com:jenkinsci/kubernetes-operator.git | ||||
| cd jenkins-operator | ||||
| make go-dependencies | ||||
| cd kubernetes-operator | ||||
| make dep | ||||
| ``` | ||||
| 
 | ||||
| ## Build and run | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue