added k3d test scripts

This commit is contained in:
James Wynn 2023-01-11 09:47:34 -06:00
parent 98ce0e8c2e
commit b724f520cd
12 changed files with 283 additions and 0 deletions

14
k3d/k3d-deploy.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
DOCKER_BUILDKIT=1 docker build -t k3d-registry.localhost:55000/homepage:local .
docker push k3d-registry.localhost:55000/homepage:local
HELM_REPO_NAME=jameswynn
HELM_REPO_URL=https://jameswynn.github.io/helm-charts
if ! helm repo list | grep $HELM_REPO_URL > /dev/null; then
helm repo add $HELM_REPO_NAME $HELM_REPO_URL
helm repo update
fi
helm upgrade --install homepage jameswynn/homepage -f k3d-helm-values.yaml