generated from hybrid-cloud-patterns/example
-
Notifications
You must be signed in to change notification settings - Fork 72
/
Makefile
41 lines (31 loc) · 1.46 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
.PHONY: default
default: show
.PHONY: help
# No need to add a comment here as help is described in common/
##@ Pattern tasks
help:
@make -f common/Makefile MAKEFILE_LIST="Makefile common/Makefile" help
%:
make -f common/Makefile $*
.PHONY: install
install: operator-deploy post-install ## installs the pattern, inits the vault and loads the secrets
@echo "Installed"
.PHONY: post-install
post-install: ## Post-install tasks
make load-secrets
@echo "Done"
.PHONY: check-pipeline-resources
check-pipeline-resources: ## wait for all seed resources to be present
scripts/check-pipeline-resources.sh
.PHONY: seed
seed: check-pipeline-resources ## run the seed pipeline (build all component, push to all env, no pr)
oc create -f charts/datacenter/pipelines/extra/seed-run.yaml
.PHONY: build-and-test-iot-consumer
build-and-test-iot-consumer: ## run iot consumer pipeline (build, test, push to manuela-tst-all, pr for prod)
oc create -f charts/datacenter/pipelines/extra/build-and-test-iot-consumer.yaml
.PHONY: build-and-test-iot-frontend
build-and-test-iot-frontend: ## run iot frontend pipeline (build, test, push to manuela-tst-all, pr for prod)
oc create -f charts/datacenter/pipelines/extra/build-and-test-iot-frontend.yaml
.PHONY: build-and-test-iot-software-sensor
build-and-test-iot-software-sensor: ## run iot software-sensor pipeline (build, test, push to manuela-tst-all, pr for prod)
oc create -f charts/datacenter/pipelines/extra/build-and-test-iot-software-sensor.yaml