generated from openshift/console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
34 lines (24 loc) · 1.05 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
plugin:
cd plugin && yarn build && yarn install
service-proxy:
cd service-proxy && mvn clean install
service-proxy-image: service-proxy
docker build -t quay.io/ikanello/quarkus-openshift-console-service-proxy:latest servcie-proxy -f service-proxy/src/main/docker/Dockerfile.jvm
plugin-image: plugin
docker build -t quay.io/ikanello/quarkus-openshift-console-plugin:latest plugin
images: plugin-image service-proxy-iamge
push-service-proxy: service-proxy-image
docker push quay.io/ikanello/quarkus-openshift-console-service-proxy:latest
push-plugin: plugin-image
docker push quay.io/ikanello/quarkus-openshift-console-plugin:latest
push: push-plugin push-service-proxy
deploy-plugin:
./bin/quarkus-install-openshift-console-plugin
deploy-proxy:
cd service-proxy && \
mvn clean install && \
quarkus deploy openshift --image-build --namespace plugin-quarkus-openshift-console-plugin
deploy: deploy-plugin deploy-proxy
undeploy:
helm uninstall quarkus-openshift-console-plugin --namespace=plugin-quarkus-openshift-console-plugin
all: images push deploy