-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (32 loc) · 845 Bytes
/
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
.PHONY: init-helm remove-helm test test-it clean zip
run:
./gradlew bootRun
test: build
./gradlew test --rerun-tasks
test-it:
bash interation-test.sh
build:
./gradlew assemble
publish: build
./gradlew jib --console plain \
-Djib.to.image=samuelst/kafka-boot-example:latest
deploy:
kubectx docker-desktop
kubectx apply -f need some files
clean:
rm -rf build
help:
@echo "please just read the make file"
zip:
zip -r accEvents.zip . -x '*\.idea/*' -x '*\.gradle/*' -x '*\.git/*'
# ended up using ccloud essentially free and better cli
init-helm:
kubectx docker-desktop
kubens default
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm install sam-kafka bitnami/kafka --version 12.19.1
remove-helm:
kubectx docker-desktop
kubens default
helm uninstall sam-kafka