constellation/dev-docs/miniconstellation/setup-miniconstellation.sh
Daniel Weiße da6468e536
Remove old codeowners (#3875)
* remove elchead from codeowners
* remove left over assignments to 3u13r
* remove leftover assignments to derpsteb

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2025-07-07 10:28:34 +02:00

27 lines
794 B
Bash
Executable file

#!/usr/bin/env bash
echo "Installing Constellation CLI"
curl -LO https://github.com/edgelesssys/constellation/releases/latest/download/constellation-linux-amd64
sudo install constellation-linux-amd64 /usr/local/bin/constellation
# Start docker service and auto start on boot
sudo systemctl start docker.service && sudo systemctl enable docker.service
echo "Waiting for docker service to be active..."
# Wait at most 20min
count=0
until systemctl is-active docker || [[ ${count} -eq 120 ]]; do
sleep 10
count=$((count + 1))
done
if [[ ${count} -eq 120 ]]; then
echo "Docker service did not come up in time."
exit 1
fi
# change to workspace
mkdir constellation_workspace
cd constellation_workspace || exit
# takes around 15 minutes
constellation mini up
echo "Cluster creation done."