添加agent deployor

This commit is contained in:
yoyuzh
2026-03-19 15:13:53 +08:00
parent a78d0dc2db
commit c39fde6b19
5 changed files with 46 additions and 0 deletions

View File

@@ -21,6 +21,12 @@ Run these from `backend/`:
- `mvn test`
- `mvn package`
For backend release work:
- The produced artifact is `backend/target/yoyuzh-portal-backend-0.0.1-SNAPSHOT.jar`.
- The repository does not contain a checked-in backend deployment script.
- Deployment therefore means: package locally, then upload and restart via `ssh` / `scp` using the actual remote host and remote process details available at deploy time.
There is no dedicated backend lint command and no dedicated backend typecheck command in the checked-in Maven config or README. If a task asks for lint/typecheck, say that the backend currently does not define those commands.
## Backend rules
@@ -30,3 +36,4 @@ There is no dedicated backend lint command and no dedicated backend typecheck co
- Respect the existing `dev` profile in `application-dev.yml`; do not hardcode assumptions that bypass H2 or mock CQU behavior.
- If a change affects file storage behavior, note that the repo currently supports local storage and OSS-related migration/deploy scripts.
- Prefer Maven-based verification from this directory instead of ad hoc shell pipelines.
- For deploy work, never invent a remote directory, service name, or restart command. Discover them from the server or ask when discovery is impossible.