1.5 KiB
1.5 KiB
91porn Project Instructions
- The workspace instructions in
/home/zhufei/code/AGENTS.mdalso apply here. - Project-local credentials are stored in
.env. Load them withset -a; source .env; set +awithout printing values. - Besides shared GitLab, Jenkins, and ZenTao settings,
.envcontains:PORN91_TEST_H5_URLPORN91_TEST_ADMIN_URLPORN91_TEST_ADMIN_USERNAMEPORN91_TEST_ADMIN_PASSWORDPORN91_TEST_ADMIN_VERIFICATION_CODE
- Never print, log, commit, or copy credential values into user-visible output.
- Keep
.envignored by Git with file mode600.
Backend commit format
-
Use the following commit-message format for 91porn backend changes:
[AI] type: concise description -
Use the appropriate Conventional Commit type, such as
feat,fix,refactor,test, ordocs. -
Example:
[AI] feat: 新增短视频全局推荐环形队列
Jenkins deployment
- Jenkins job:
91PORN - This is a parameterized job:
BUILD_BRANCHE: Git branch to build.BUILD_ITEM: service/artifact to build and deploy.
- Supported
BUILD_ITEMvalues:app: App/H5 backend API service.web: management backend API service.skd: scheduled-job service.swagger: Swagger artifact.
- Changes that affect App/H5 APIs and scheduled jobs, such as the short-video recommendation queue, require separate
appandskdbuilds. - Do not trigger a Jenkins build unless the user explicitly asks for deployment or build execution.