refactor(host): migrate from docker swarm to kubernetes
Build and Push Image / build-backend (push) Successful in 2m13s
Build and Push Image / build-frontend (push) Successful in 4m9s
Build and Push Image / push (push) Successful in 4m21s

This commit is contained in:
2026-06-19 18:18:17 +00:00 Unverified
parent 3a2ea239e8
commit 4559f4693c
54 changed files with 523 additions and 126 deletions
-2
View File
@@ -1,7 +1,5 @@
import { getAmberVh } from "@/lib/api";
export const revalidate = 3600;
export async function GET() {
return new Response(
await fetch(
-2
View File
@@ -1,7 +1,5 @@
import { getAmberVh } from "@/lib/api";
export const revalidate = 3600;
export async function GET() {
return new Response(
await fetch(
+2 -2
View File
@@ -2,9 +2,9 @@
import { env } from "node:process";
import Snowflake, { GatewayIntents } from "@sfjs/snowflake";
import { redis } from "@/lib/db/redis";
import { adminCheck } from "@/lib/auth";
import { forbidden } from "next/navigation";
import { adminCheck } from "@/lib/auth";
import { redis } from "@/lib/db/redis";
const bot = new Snowflake({
token: env.DISCORD_BOT_TOKEN || "",
+3 -3
View File
@@ -1,10 +1,10 @@
import { and, asc, not, sql } from "drizzle-orm";
import type { NextRequest } from "next/server";
import { db } from "@/lib/db";
import { donations } from "@/lib/db/schema";
import { sse } from "@/lib/db/sse-endpoints";
import { fileToDataUrl } from "@/lib/utils";
import { and, asc, not, sql } from "drizzle-orm";
import type { NextRequest } from "next/server";
import { getPostHogClient } from "@/lib/posthog-server";
import { fileToDataUrl } from "@/lib/utils";
async function runResume() {
const [havent] = await db
+3 -2
View File
@@ -1,9 +1,10 @@
import { GoogleGenAI } from "@google/genai";
import { hash } from "bun";
import { PassThrough, Readable } from "stream";
import wav from "wav";
import { Readable, PassThrough } from "stream";
import z from "zod";
import { redis } from "@/lib/db/redis";
import { hash } from "bun";
const { DONATE_WIDGET_KEY, GEMINI_TTS_API_KEY } = process.env as Record<
string,
string