forked from kubernetes/perf-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (21 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: push
# See pod.yaml for the version currently running-- bump this ahead before rebuilding!
TAG = 2.8
REPO = gcr.io/k8s-testimages
perfdash: perfdash.go parser.go config.go downloader.go google-gcs-downloader.go
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags '-w' -o perfdash
run: perfdash
./perfdash \
--www \
--address=0.0.0.0:8080 \
--builds=20 \
--force-builds \
--configPath=https://raw.githubusercontent.com/kubernetes/test-infra/master/config/jobs/kubernetes/sig-scalability/sig-scalability-release-blocking-jobs.yaml \
--configPath=https://raw.githubusercontent.com/kubernetes/test-infra/master/config/jobs/kubernetes/sig-scalability/sig-scalability-periodic-jobs.yaml \
--configPath=https://raw.githubusercontent.com/kubernetes/test-infra/master/config/jobs/kubernetes/sig-scalability/sig-scalability-experimental-periodic-jobs.yaml
container: perfdash
docker build --pull -t $(REPO)/perfdash:$(TAG) .
push: container
gcloud docker -s $(REPO) -- push $(REPO)/perfdash:$(TAG)
clean:
rm -f perfdash