diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6284c99 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +test: + mvn clean compile + find ./target/classes/META-INF/fabric8 -type f -name "*-v1.yml" | xargs -I {} kubectl apply -f {} + mvn test + +deploy: + find ./target/classes/META-INF/fabric8 -type f -name "*-v1.yml" | xargs -I {} kubectl apply -f {}