Fix paths to server crate in scripts and gitignore

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2021-11-03 19:22:00 -07:00
parent 44e0a00734
commit a72bdac7df
4 changed files with 5 additions and 195550 deletions

View file

@ -16,7 +16,7 @@ if [[ $# < 1 ]]; then
fi
export ZED_KUBE_NAMESPACE=$1
ENV_FILE="server/k8s/environments/${ZED_KUBE_NAMESPACE}.sh"
ENV_FILE="crates/server/k8s/environments/${ZED_KUBE_NAMESPACE}.sh"
if [[ ! -f $ENV_FILE ]]; then
echo "Invalid environment name '${ZED_KUBE_NAMESPACE}'"
exit 1
@ -34,4 +34,4 @@ export $(cat $ENV_FILE)
docker build . --tag "$ZED_IMAGE_ID"
docker push "$ZED_IMAGE_ID"
envsubst < server/k8s/manifest.template.yml | kubectl apply -f -
envsubst < crates/server/k8s/manifest.template.yml | kubectl apply -f -