redesign fully scaffolded and web login works

This commit is contained in:
2026-03-17 20:10:47 -04:00
parent b9cc397e05
commit f6bd22a8ef
143 changed files with 17317 additions and 693 deletions

View File

@@ -6,12 +6,11 @@ WORKDIR /app
# Install build dependencies
RUN apk add --no-cache git ca-certificates
# Copy go mod files
COPY go.mod go.sum ./
RUN go mod download
# Copy go mod and source files
COPY go.mod main.go ./
# Copy source
COPY main.go ./
# Tidy and download dependencies (generates go.sum)
RUN go mod tidy && go mod download && go mod verify
# Build static binary
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \

View File

@@ -5,6 +5,7 @@ import (
"fmt"
"os"
"os/exec"
"os/signal"
"syscall"
"time"
@@ -226,7 +227,7 @@ func init() {
// Don't trigger deployment deletion on sidecar termination
go func() {
sigChan := make(chan os.Signal, 1)
syscall.Signal(syscall.SIGTERM)
signal.Notify(sigChan, syscall.SIGTERM)
<-sigChan
log.Info().Msg("Received SIGTERM - sidecar exiting without cleanup")
os.Exit(0)