-
Notifications
You must be signed in to change notification settings - Fork 230
/
Makefile
57 lines (42 loc) · 1.61 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
OPERATOR_LOGGING_IMAGE_STREAM?=stable
KIBANA_IMAGE?="openshift/origin-logging-kibana6"
ELASTICSEARCH_IMAGE?="openshift/origin-logging-elasticsearch6"
CURATOR_IMAGE?="openshift/origin-logging-curator5"
export LOGGING_VERSION=5.4
# Build the Docker images for Origin Aggregated Logging
build-images: build-all-images
.PHONY: build-images
test:
OPERATOR_LOGGING_IMAGE_STREAM=$(OPERATOR_LOGGING_IMAGE_STREAM) ./hack/test-e2e.sh
.PHONY: test
.PHONY: test-pre-upgrade
build-kibana-image:
hack/build-component-image.sh "kibana" $(KIBANA_IMAGE)
.PHONY: build-kibana-image
build-elasticsearch-image:
hack/build-component-image.sh "elasticsearch" $(ELASTICSEARCH_IMAGE)
.PHONY: build-elasticsearch-image
build-curator-image:
hack/build-component-image.sh "curator" $(CURATOR_IMAGE)
.PHONY: build-curator-image
build-all-images: build-kibana-image build-elasticsearch-image build-curator-image
.PHONY: build-all-images
deploy-kibana-image: build-kibana-image
hack/deploy-component-image.sh $(KIBANA_IMAGE)
.PHONY: deploy-kibana-image
deploy-elasticsearch-image: build-elasticsearch-image
hack/deploy-component-image.sh $(ELASTICSEARCH_IMAGE)
.PHONY: deploy-elasticsearch-image
deploy-curator-image: build-curator-image
hack/deploy-component-image.sh $(CURATOR_IMAGE)
.PHONY: deploy-curator-image
deploy-all-images: deploy-kibana-image deploy-elasticsearch-image deploy-curator-image
.PHONY: deploy-all-images
lint:
@hack/run-linter
.PHONY: lint
gen-dockerfiles:
@for d in "curator" "elasticsearch" "kibana"; do \
./hack/generate-dockerfile-from-midstream "$$d/Dockerfile.in" > "$$d/Dockerfile" ; \
done
.PHONY: gen-dockerfiles