- Google OAuth login with JWT session cookies, per-user project isolation - Remote worker registration via WebSocket, execute_on_worker/list_workers agent tools - File browser UI in workflow view, file upload/download API - Deploy script switched to local build, added tori.euphon.cloud ingress
24 lines
527 B
Bash
Executable File
24 lines
527 B
Bash
Executable File
#!/bin/bash
|
|
# Deploy tori to k3s cluster (local kubectl)
|
|
set -euo pipefail
|
|
|
|
IMAGE="registry.oci.euphon.net/tori:latest"
|
|
|
|
echo "==> Building Rust binary..."
|
|
cargo build --release --target aarch64-unknown-linux-musl
|
|
|
|
echo "==> Building Docker image..."
|
|
docker build -t "$IMAGE" .
|
|
|
|
echo "==> Pushing image..."
|
|
docker push "$IMAGE"
|
|
|
|
echo "==> Applying manifests..."
|
|
kubectl apply -f deploy/
|
|
|
|
echo "==> Rolling out..."
|
|
kubectl rollout restart deployment/tori -n tori
|
|
kubectl rollout status deployment/tori -n tori
|
|
|
|
echo "==> Done!"
|