feat: add rollback configuration to base application settings

- Introduced "limitRollback" and "rollbackActive" properties to the base application configuration in both drop and traefik test files.
- These additions enhance the rollback functionality by allowing configuration of rollback limits and activation status.
This commit is contained in:
Mauricio Siu 2025-06-02 21:04:45 -06:00
parent f8baf6fe41
commit 973de2a610
2 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,8 @@ const baseApp: ApplicationNested = {
updateConfigSwarm: null,
username: null,
dockerContextPath: null,
limitRollback: 5,
rollbackActive: false,
};
describe("unzipDrop using real zip files", () => {

View File

@ -5,6 +5,8 @@ import { createRouterConfig } from "@dokploy/server";
import { expect, test } from "vitest";
const baseApp: ApplicationNested = {
rollbackActive: false,
limitRollback: 5,
applicationId: "",
herokuVersion: "",
giteaRepository: "",