You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/samples/MicroserviceDemo/DeployToKubernetes.sh

14 lines
396 B

#!/bin/bash
set -e
export SHELL="/bin/bash"
minikube start
eval $(minikube docker-env)
docker-compose -f docker-compose.yml -f docker-compose.migrations.yml -f docker-compose.override.yml build
cd ./k8s
kubectl create -f $(ls -x | grep .yaml | grep -v deployment | tr " \t\n\r" "," | sed 's/.$//')
kubectl create -f $(ls -x | grep .yaml | grep deployment | tr " \t\n\r" "," | sed 's/.$//')