From c240c871e6a34c72283e96c7da130a46260249e0 Mon Sep 17 00:00:00 2001 From: zzw <1464003642@qq.com> Date: Fri, 23 Oct 2026 14:35:12 +0800 Subject: [PATCH] chore: analysis git cache --- .gitea/workflows/cd-test.yml | 1 + .gitea/workflows/ci.yml | 4 +- services/analysis/etc/analysis.yaml | 7 -- services/analysis/run.toml | 102 ---------------------------- 4 files changed, 4 insertions(+), 110 deletions(-) delete mode 100644 services/analysis/etc/analysis.yaml delete mode 100644 services/analysis/run.toml diff --git a/.gitea/workflows/cd-test.yml b/.gitea/workflows/cd-test.yml index e8a6c0e..1ab63f0 100644 --- a/.gitea/workflows/cd-test.yml +++ b/.gitea/workflows/cd-test.yml @@ -53,4 +53,5 @@ jobs: docker pull ${{ vars.REGISTRY }}/lone/water:latest docker pull ${{ vars.REGISTRY }}/lone/store:latest docker pull ${{ vars.REGISTRY }}/lone/analysis:latest + docker pull ${{ vars.REGISTRY }}/lone/ws:latest docker compose up -d diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2836b7c..0ba4c81 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - name: Detect changes id: filter run: | - SERVICES="bff product admin user ad chore order express sale wecom task equipment record payment factory message support percutaneous water store" + SERVICES="bff product admin user ad chore order express sale wecom task equipment record payment factory message support percutaneous water store analysis ws" pattern_for() { case "$1" in @@ -101,6 +101,8 @@ jobs: - percutaneous - water - store + - analysis + - ws env: BUILD_LIST: ${{ needs.changes.outputs.build_list }} NAME: lone/${{ matrix.name }} diff --git a/services/analysis/etc/analysis.yaml b/services/analysis/etc/analysis.yaml deleted file mode 100644 index 602b028..0000000 --- a/services/analysis/etc/analysis.yaml +++ /dev/null @@ -1,7 +0,0 @@ -Nacos: - Hosts: - - rnacos:8848 - NamespaceId: test - Group: LONE_SERVICES - RegisterIP: analysis - ConfigID: analysis \ No newline at end of file diff --git a/services/analysis/run.toml b/services/analysis/run.toml deleted file mode 100644 index 5c1741d..0000000 --- a/services/analysis/run.toml +++ /dev/null @@ -1,102 +0,0 @@ -[base] - login_out_time=43200 - login_refresh_out_time=83200 - name = "analysis-service" - listenOn = "0.0.0.0:11800" - mode = "dev" - -[log] - path = "logs" - serviceName = "analysis-service" - mode = "file" - encoding = "plain" - level = "info" - keepDays = 7 - maxSize = 50 - maxBackups = 5 - compress = false - -[mysql] - host = '39.106.171.204' - port = 33066 - user = 'root' - password = 'MOLXRZNOU4Y4' - database = 'dms-analysis' - charset = 'utf8mb4' - prefix = '' - debug = true - -[mysql_read] - host = '39.106.171.204' - port = 33066 - user = 'root' - password = 'MOLXRZNOU4Y4' - database = 'dms-analysis' - charset = 'utf8mb4' - prefix = '' - -[redis] - host = '39.106.171.204' - password = 'lLMLcuPpzSj' - port = 6379 - db = 0 - -[log-redis] - host = '39.106.171.204' - password = 'lLMLcuPpzSj' - port = 6379 - db = 3 - -[wechat] - appid = 'wxa6f5d68dcbc955c7' - secret = '657bc95ab1eb4462913c056802b677c1' - env_version = 'trial' - width = 430 - auth_page = 'pagesB/authorize/scan' - -[oss] - accessKeyId = "LTAI5t7U8KvxSiPE5auwQUuu" - accessKeySecret = "xjfgbQQRpL4TcIspNuClg6bYADa3pk" - roleArn = "acs:ram::1663896742753915:role/oss-upload" - region = "cn-beijing" - bucketName = "lone-images" - endpoint = "https://lone-images.oss-accelerate.aliyuncs.com" - internalEndpoint = "https://lone-images.oss-cn-beijing-internal.aliyuncs.com" - stsEndpoint = "sts.cn-beijing.aliyuncs.com" - dir = "test/skin/analysis/" - imageDir = "test/skin/images/" - fileDir = "test/skin/files/" - expireSeconds = 3600 - callbackUrl = "https://services-test.ailuowan.com/api/v1/oss/callback" - -[milvus] - milvus_host = 'milvus' - milvus_grpc_port = 19530 - milvus_http_port = 9091 - etcd_port = 2379 - minio_port = 9000 - -[services] - user = "user-service" - chore = "chore-service" - store = "store-service" - equipment = "equipment-service" - - skin_py_analysis_host = "http://172.19.74.222:8000" - skin_py_analysis_path = "/api/v1/analysis/submit" - - skin_py_face_host = "http://skin-py-insightface:8072" - skin_py_face_path = "/api/v1/face/extract" - -[facepp] - api_key = "OeM6mTOMz1syfybKB2YyGCG0g2yk8r5L" - api_secret = "1Ab4N5H4659n_d50-UP9LbJquRnT0cUx" - - train_image_path = "/data/facepp/train/images" - train_json_path = "/data/facepp/train/json" - train_label_path = "/data/facepp/train/labels" - -[switch] - wechat = 1 - facepp = 1 - analysis = 1 \ No newline at end of file