https://github.com/kubeflow/katib
Raw File
Tip revision: 9226f6783f8a5c49f619e7d04de300a4c04ef64c authored by Achal Shantharam on 21 May 2019, 16:27:38 UTC
Renaming the service and deployment labels
Tip revision: 9226f67
Makefile
# Run tests
.PHONY: test
test:
	go test ./pkg/... ./cmd/... -coverprofile coverage.out

# Build Katib images
build: 
	bash scripts/v1alpha1/build.sh

# Deploy katib manifests into a k8s cluster
deploy: 
	bash scripts/v1alpha1/deploy.sh

# Run go fmt against code
fmt:
	go fmt ./pkg/... ./cmd/...

# Run go vet against code
vet:
	go vet ./pkg/... ./cmd/...

# Generate code
generate:
ifndef GOPATH
	$(error GOPATH not defined, please define GOPATH. Run "go help gopath" to learn more about GOPATH)
endif
	go generate ./pkg/... ./cmd/...
back to top