🔨 chore: fixup whatever i did

Signed-off-by: dyn <oss+dyn@xtrm.me>
This commit is contained in:
dyn
2025-12-17 11:11:20 +01:00
parent ede4766d86
commit 52c6eeb443
3 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env sh
set -e
k3d cluster create inception-of-things k3d cluster create inception-of-things
kubectl create namespace argocd kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
@ -28,8 +26,7 @@ echo 'App is starting...'
kubectl wait --namespace dev \ kubectl wait --namespace dev \
--for=condition=ready pod \ --for=condition=ready pod \
--selector=app.kubernetes.io/name=app-deployment \ --selector=app.kubernetes.io/name=app-deployment \
--timeout=300s \ --timeout=300s
1>/dev/null 2>/dev/null
echo 'App imported in ArgoCD' echo 'App imported in ArgoCD'
TRAEFIK_IP=$(kubectl get service -n kube-system traefik -o jsonpath='{.status.loadBalancer.ingress[0].ip}') TRAEFIK_IP=$(kubectl get service -n kube-system traefik -o jsonpath='{.status.loadBalancer.ingress[0].ip}')

View File

@ -1,5 +1,8 @@
SCRIPT_PATH="$(realpath "${BASH_SOURCE[0]}")"
SCRIPT_DIR="$(dirname "$SCRIPT_PATH")"
kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml kubectl delete -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
kubectl delete -n argocd -f ../confs/argocd-app.yml kubectl delete -n argocd -f "$SCRIPT_DIR/../confs/argocd-app.yml"
kubectl delete namespace argocd kubectl delete namespace argocd
kubectl delete namespace dev kubectl delete namespace dev
k3d cluster delete inception-of-things k3d cluster delete inception-of-things

View File

@ -63,8 +63,8 @@
set -x set -x
source ${selfPkgs.vm}/bin/run-${hostname}-vm \ source ${selfPkgs.vm}/bin/run-${hostname}-vm \
-enable-kvm \ -enable-kvm \
-m 8G \ -m 4G \
-smp 4 \ -smp 1 \
-cpu host \ -cpu host \
-virtfs local,path=$(${pkgs.coreutils}/bin/pwd)/..,mount_tag=host0,security_model=mapped-xattr,id=host0 -virtfs local,path=$(${pkgs.coreutils}/bin/pwd)/..,mount_tag=host0,security_model=mapped-xattr,id=host0
''; '';
@ -81,8 +81,8 @@
${selfPkgs.vm}/bin/run-${hostname}-vm \ ${selfPkgs.vm}/bin/run-${hostname}-vm \
-enable-kvm \ -enable-kvm \
-nographic \ -nographic \
-m 8G \ -m 4G \
-smp 4 \ -smp 1 \
-cpu host \ -cpu host \
-virtfs local,path=$(${pkgs.coreutils}/bin/pwd)/..,mount_tag=host0,security_model=mapped-xattr,id=host0 -virtfs local,path=$(${pkgs.coreutils}/bin/pwd)/..,mount_tag=host0,security_model=mapped-xattr,id=host0
''; '';