feat: PipCache | add pip cache

This commit is contained in:
2025-11-23 00:42:39 +05:00
parent d1260ecb8b
commit 2b49cc4ce1
3 changed files with 176 additions and 128 deletions

View File

@@ -4,6 +4,7 @@ import { KubernetesProvider } from "@cdktf/provider-kubernetes/lib/provider";
import { NamespaceV1 } from "@cdktf/provider-kubernetes/lib/namespace-v1";
import { NixCache } from "./nix";
import { NpmCache } from "./npm";
import { PipCache } from "./pip";
export class CacheInfrastructure extends TerraformStack {
constructor(scope: Construct, id: string) {
@@ -35,5 +36,12 @@ export class CacheInfrastructure extends TerraformStack {
name: "npm-cache",
host: "npm.dogar.dev",
});
new PipCache(this, "pip-cache", {
provider,
namespace,
name: "pip-cache",
host: "pip.dogar.dev",
});
}
}