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 | endif | ||||||
| 	dep ensure -v | 	dep ensure -v | ||||||
| 
 | 
 | ||||||
|  | .PHONY: dep | ||||||
|  | dep: go-dependencies ## Ensure build dependencies
 | ||||||
|  | 
 | ||||||
| .PHONY: build | .PHONY: build | ||||||
| build: $(NAME) ## Builds a dynamic executable or package
 | build: $(NAME) ## Builds a dynamic executable or package
 | ||||||
| 	@echo "+ $@" | 	@echo "+ $@" | ||||||
|  | @ -103,7 +106,7 @@ build: $(NAME) ## Builds a dynamic executable or package | ||||||
| .PHONY: $(NAME) | .PHONY: $(NAME) | ||||||
| $(NAME): $(wildcard *.go) $(wildcard */*.go) VERSION.txt | $(NAME): $(wildcard *.go) $(wildcard */*.go) VERSION.txt | ||||||
| 	@echo "+ $@" | 	@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 | .PHONY: static | ||||||
| static: ## Builds a static executable
 | static: ## Builds a static executable
 | ||||||
|  |  | ||||||
|  | @ -1,8 +1,8 @@ | ||||||
| # Setup variables for the Makefile | # Setup variables for the Makefile | ||||||
| NAME=jenkins-operator | NAME=kubernetes-operator | ||||||
| PKG=github.com/VirtusLab/jenkins-operator | PKG=github.com/jenkinsci/kubernetes-operator | ||||||
| DOCKER_REGISTRY=virtuslab | DOCKER_REGISTRY=virtuslab | ||||||
| REPO=jenkins-operator | REPO=kubernetes-operator | ||||||
| NAMESPACE=default | NAMESPACE=default | ||||||
| API_VERSION=jenkins:v1alpha1 | API_VERSION=jenkins:v1alpha1 | ||||||
| MINIKUBE_KUBERNETES_VERSION=v1.10.9 | 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 | mkdir -p $GOPATH/src/github.com/jenkinsci | ||||||
| cd $GOPATH/src/github.com/jenkinsci/ | cd $GOPATH/src/github.com/jenkinsci/ | ||||||
| git clone git@github.com:jenkinsci/kubernetes-operator.git | git clone git@github.com:jenkinsci/kubernetes-operator.git | ||||||
| cd jenkins-operator | cd kubernetes-operator | ||||||
| make go-dependencies | make dep | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ## Build and run | ## Build and run | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue