diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 31dbc48fb..9f7cd117d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -24,14 +24,14 @@ jobs: - name: Install Nixpacks if: matrix.job == 'test' run: | - export NIXPACKS_VERSION=1.39.0 + export NIXPACKS_VERSION=1.41.0 curl -sSL https://nixpacks.com/install.sh | bash echo "Nixpacks installed $NIXPACKS_VERSION" - + - name: Install Railpack if: matrix.job == 'test' run: | - export RAILPACK_VERSION=0.15.0 + export RAILPACK_VERSION=0.15.1 curl -sSL https://railpack.com/install.sh | bash echo "Railpack installed $RAILPACK_VERSION" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 38a36345e..4c1f832db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -148,7 +148,7 @@ curl -sSL https://railpack.com/install.sh | sh ```bash # Install Buildpacks -curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.35.0/pack-v0.35.0-linux.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack +curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.39.1/pack-v0.39.1-linux.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack ``` ## Pull Request diff --git a/Dockerfile.cloud b/Dockerfile.cloud index ee42cd2bd..aa93f8c70 100644 --- a/Dockerfile.cloud +++ b/Dockerfile.cloud @@ -3,7 +3,7 @@ FROM node:20.16.0-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable -RUN corepack prepare pnpm@9.12.0 --activate +RUN corepack prepare pnpm@10.26.0 --activate FROM base AS build COPY . /usr/src/app diff --git a/Dockerfile.schedule b/Dockerfile.schedule index ecb125e09..ae391fb57 100644 --- a/Dockerfile.schedule +++ b/Dockerfile.schedule @@ -3,7 +3,7 @@ FROM node:20.16.0-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable -RUN corepack prepare pnpm@9.12.0 --activate +RUN corepack prepare pnpm@10.26.0 --activate FROM base AS build COPY . /usr/src/app diff --git a/Dockerfile.server b/Dockerfile.server index ea6b372e8..5c09b22ae 100644 --- a/Dockerfile.server +++ b/Dockerfile.server @@ -3,7 +3,7 @@ FROM node:20.16.0-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable -RUN corepack prepare pnpm@9.12.0 --activate +RUN corepack prepare pnpm@10.26.0 --activate FROM base AS build COPY . /usr/src/app diff --git a/apps/api/package.json b/apps/api/package.json index dfc2a355d..a8507d53e 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -30,9 +30,9 @@ "tsx": "^4.16.2", "typescript": "^5.8.3" }, - "packageManager": "pnpm@9.12.0", + "packageManager": "pnpm@10.26.0", "engines": { "node": "^20.16.0", - "pnpm": ">=9.12.0" + "pnpm": ">=10.26.0" } } diff --git a/apps/dokploy/__test__/drop/drop.test.ts b/apps/dokploy/__test__/drop/drop.test.ts index 1c0a446a3..fdcb7f14d 100644 --- a/apps/dokploy/__test__/drop/drop.test.ts +++ b/apps/dokploy/__test__/drop/drop.test.ts @@ -25,7 +25,7 @@ if (typeof window === "undefined") { } const baseApp: ApplicationNested = { - railpackVersion: "0.2.2", + railpackVersion: "0.15.1", applicationId: "", previewLabels: [], createEnvFile: true, diff --git a/apps/dokploy/__test__/traefik/traefik.test.ts b/apps/dokploy/__test__/traefik/traefik.test.ts index 8e678413c..03b0e79b4 100644 --- a/apps/dokploy/__test__/traefik/traefik.test.ts +++ b/apps/dokploy/__test__/traefik/traefik.test.ts @@ -3,7 +3,7 @@ import { createRouterConfig } from "@dokploy/server"; import { expect, test } from "vitest"; const baseApp: ApplicationNested = { - railpackVersion: "0.2.2", + railpackVersion: "0.15.1", rollbackActive: false, applicationId: "", previewLabels: [], diff --git a/apps/dokploy/components/dashboard/application/build/show.tsx b/apps/dokploy/components/dashboard/application/build/show.tsx index 1a0ed386d..2a989a5e8 100644 --- a/apps/dokploy/components/dashboard/application/build/show.tsx +++ b/apps/dokploy/components/dashboard/application/build/show.tsx @@ -65,7 +65,7 @@ const mySchema = z.discriminatedUnion("buildType", [ }), z.object({ buildType: z.literal(BuildType.railpack), - railpackVersion: z.string().nullable().default("0.2.2"), + railpackVersion: z.string().nullable().default("0.15.1"), }), z.object({ buildType: z.literal(BuildType.static), @@ -186,7 +186,7 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => { data.buildType === BuildType.static ? data.isStaticSpa : null, railpackVersion: data.buildType === BuildType.railpack - ? data.railpackVersion || "0.2.2" + ? data.railpackVersion || "0.15.1" : null, }) .then(async () => { diff --git a/apps/dokploy/package.json b/apps/dokploy/package.json index 51785dd5c..24e9de6ad 100644 --- a/apps/dokploy/package.json +++ b/apps/dokploy/package.json @@ -188,10 +188,10 @@ "ct3aMetadata": { "initVersion": "7.25.2" }, - "packageManager": "pnpm@9.12.0", + "packageManager": "pnpm@10.26.0", "engines": { "node": "^20.16.0", - "pnpm": ">=9.12.0" + "pnpm": ">=10.26.0" }, "lint-staged": { "*": [ diff --git a/apps/schedules/package.json b/apps/schedules/package.json index a8c43dafb..4710b3a66 100644 --- a/apps/schedules/package.json +++ b/apps/schedules/package.json @@ -29,9 +29,9 @@ "tsx": "^4.16.2", "typescript": "^5.8.3" }, - "packageManager": "pnpm@9.12.0", + "packageManager": "pnpm@10.26.0", "engines": { "node": "^20.16.0", - "pnpm": ">=9.12.0" + "pnpm": ">=10.26.0" } } diff --git a/package.json b/package.json index 1f59cc661..3aa0eb63f 100644 --- a/package.json +++ b/package.json @@ -33,10 +33,10 @@ "lint-staged": "^15.5.2", "tsx": "4.16.2" }, - "packageManager": "pnpm@9.12.0", + "packageManager": "pnpm@10.26.0", "engines": { "node": "^20.16.0", - "pnpm": ">=9.12.0" + "pnpm": ">=10.26.0" }, "lint-staged": { "*": [ diff --git a/packages/server/package.json b/packages/server/package.json index e23fa6d8b..e3e40039e 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -107,9 +107,9 @@ "tsx": "^4.16.2", "typescript": "^5.8.3" }, - "packageManager": "pnpm@9.12.0", + "packageManager": "pnpm@10.26.0", "engines": { "node": "^20.16.0", - "pnpm": ">=9.12.0" + "pnpm": ">=10.26.0" } } \ No newline at end of file diff --git a/packages/server/schema.dbml b/packages/server/schema.dbml index ef1814c00..84c60f6e7 100644 --- a/packages/server/schema.dbml +++ b/packages/server/schema.dbml @@ -277,7 +277,7 @@ table application { replicas integer [not null, default: 1] applicationStatus applicationStatus [not null, default: 'idle'] buildType buildType [not null, default: 'nixpacks'] - railpackVersion text [default: '0.2.2'] + railpackVersion text [default: '0.15.1'] herokuVersion text [default: '24'] publishDirectory text isStaticSpa boolean diff --git a/packages/server/src/db/schema/application.ts b/packages/server/src/db/schema/application.ts index 787ec55b3..8ddab4f75 100644 --- a/packages/server/src/db/schema/application.ts +++ b/packages/server/src/db/schema/application.ts @@ -177,7 +177,7 @@ export const applications = pgTable("application", { .notNull() .default("idle"), buildType: buildType("buildType").notNull().default("nixpacks"), - railpackVersion: text("railpackVersion").default("0.2.2"), + railpackVersion: text("railpackVersion").default("0.15.1"), herokuVersion: text("herokuVersion").default("24"), publishDirectory: text("publishDirectory"), isStaticSpa: boolean("isStaticSpa"), diff --git a/packages/server/src/setup/server-setup.ts b/packages/server/src/setup/server-setup.ts index 54e740583..ca58da128 100644 --- a/packages/server/src/setup/server-setup.ts +++ b/packages/server/src/setup/server-setup.ts @@ -73,7 +73,7 @@ export const serverSetup = async ( export const defaultCommand = (isBuildServer = false) => { const bashCommand = ` set -e; -DOCKER_VERSION=28.5.0 +DOCKER_VERSION=29.1.3 OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"') SYS_ARCH=$(uname -m) CURRENT_USER=$USER @@ -629,7 +629,7 @@ const installNixpacks = () => ` if command_exists nixpacks; then echo "Nixpacks already installed ✅" else - export NIXPACKS_VERSION=1.39.0 + export NIXPACKS_VERSION=1.41.0 bash -c "$(curl -fsSL https://nixpacks.com/install.sh)" echo "Nixpacks version $NIXPACKS_VERSION installed ✅" fi @@ -639,7 +639,7 @@ const installRailpack = () => ` if command_exists railpack; then echo "Railpack already installed ✅" else - export RAILPACK_VERSION=0.2.2 + export RAILPACK_VERSION=0.15.1 bash -c "$(curl -fsSL https://railpack.com/install.sh)" echo "Railpack version $RAILPACK_VERSION installed ✅" fi @@ -653,8 +653,8 @@ const installBuildpacks = () => ` if command_exists pack; then echo "Buildpacks already installed ✅" else - BUILDPACKS_VERSION=0.35.0 - curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.35.0/pack-v$BUILDPACKS_VERSION-linux$SUFFIX.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack + BUILDPACKS_VERSION=0.39.1 + curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.39.1/pack-v$BUILDPACKS_VERSION-linux$SUFFIX.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack echo "Buildpacks version $BUILDPACKS_VERSION installed ✅" fi `; diff --git a/schema.dbml b/schema.dbml index 5823a8ff3..164563fd0 100644 --- a/schema.dbml +++ b/schema.dbml @@ -276,7 +276,7 @@ table application { replicas integer [not null, default: 1] applicationStatus applicationStatus [not null, default: 'idle'] buildType buildType [not null, default: 'nixpacks'] - railpackVersion text [default: '0.2.2'] + railpackVersion text [default: '0.15.1'] herokuVersion text [default: '24'] publishDirectory text isStaticSpa boolean