forked from openshift/origin-aggregated-logging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
54 lines (40 loc) · 1.67 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
OPERATOR_LOGGING_IMAGE_STREAM?=stable
FLUENTD_IMAGE?="openshift/origin-logging-fluentd"
KIBANA_IMAGE?="openshift/origin-logging-kibana6"
ELASTICSEARCH_IMAGE?="openshift/origin-logging-elasticsearch6"
CURATOR_IMAGE?="openshift/origin-logging-curator5"
# 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-fluentd-image:
hack/build-component-image.sh "fluentd" $(FLUENTD_IMAGE)
.PHONY: build-fluentd-image
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-fluentd-image build-kibana-image build-elasticsearch-image build-curator-image
.PHONY: build-all-images
deploy-fluentd-image: build-fluentd-image
hack/deploy-component-image.sh $(FLUENTD_IMAGE)
.PHONY: deploy-fluentd-image
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-fluentd-image deploy-kibana-image deploy-elasticsearch-image deploy-curator-image
.PHONY: deploy-all-images