Skip to content

Commit

Permalink
run-guix-workstation: Do not delete pod.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Dec 2, 2024
1 parent 68ed32d commit 61a1c2f
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions run-guix-workstation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,6 @@

set -o nounset -o errexit -o pipefail

if kubectl -n workstation delete --wait=false pod/workstation
then
:
fi

check()
{
if ssh 192.168.0.192 sudo nerdctl -n k8s.io ps | grep --quiet workstation
then
return 1
else
if kubectl -n workstation delete --force pod/workstation
then
:
fi
fi
}

until check
do
sleep 2
done

cd /home/oleg/.local/share/chezmoi/apps/cluster1/workstation || exit 1
flux reconcile kustomization workstation

ssh 192.168.0.192 <<'EOF'
PATH="/home/oleg/.guix-profile/bin:/gnu/store/3q2x34wg1fff833wwzxnagnv7vbfxb0w-jc-1.25.2/bin:$PATH"
export PATH
Expand Down

0 comments on commit 61a1c2f

Please sign in to comment.