publisher, deployer: neutral defaults in the packaged copies
build / build (push) Canceled after 2m34s
build / build (push) Canceled after 2m34s
Default host is localhost, user is "user", paths are under /home/user; the publisher apps_dir no longer points at a personal Tomcat. Tests of the copies follow. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,14 +19,14 @@ class ConfigError(ValueError):
|
||||
|
||||
@dataclass
|
||||
class Server:
|
||||
host: str = "192.168.88.60"
|
||||
user: str = "das"
|
||||
host: str = "localhost"
|
||||
user: str = "user"
|
||||
port: int = 22
|
||||
# Package storage of apps.jsp: only download.jsp serves it
|
||||
apps_dir: str = "/home/das/app/docker/tomcat/data/webapps/ttt/WEB-INF/apps"
|
||||
apps_dir: str = "/home/user/app/apps"
|
||||
# Requested on the server after an upload; the file name is appended (URL-encoded)
|
||||
check_url: str = "http://localhost:8010/download.jsp?f="
|
||||
state_dir: str = "/home/das/app_deploy"
|
||||
state_dir: str = "/home/user/app_deploy"
|
||||
keep: int = 3 # versions of each package type per app; 0 = keep all
|
||||
local_roots: list[str] = field(default_factory=lambda: ["~/Dev/Projects"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user