mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-07-21 02:05:45 +00:00
fix(skills):Update the smock-test skill to use make up in docker mode (#3656)
This commit is contained in:
@@ -82,12 +82,12 @@ smoke-test/
|
|||||||
1. **Check dependencies** - Run `make check`
|
1. **Check dependencies** - Run `make check`
|
||||||
2. **Install dependencies** - Run `make install`
|
2. **Install dependencies** - Run `make install`
|
||||||
3. **(Optional) Pre-pull the sandbox image** - If needed, run `make setup-sandbox`
|
3. **(Optional) Pre-pull the sandbox image** - If needed, run `make setup-sandbox`
|
||||||
4. **Start services** - Run `make dev-daemon` (background mode, recommended) or `make dev` (foreground mode)
|
4. **Start services** - Run `make start` (production mode)
|
||||||
5. **Wait for startup** - Give all services enough time to start completely (90-120 seconds recommended)
|
5. **Wait for startup** - Give all services enough time to start completely (90-120 seconds recommended)
|
||||||
|
|
||||||
**Docker mode deployment** (if Docker is selected):
|
**Docker mode deployment** (if Docker is selected):
|
||||||
1. **Initialize Docker environment** - Run `make docker-init`
|
1. **Initialize Docker environment** - Run `make docker-init`
|
||||||
2. **Start Docker services** - Run `make docker-start`
|
2. **Start Docker services** - Run `make up` (production mode)
|
||||||
3. **Wait for startup** - Give all containers enough time to start completely (60 seconds recommended)
|
3. **Wait for startup** - Give all containers enough time to start completely (60 seconds recommended)
|
||||||
|
|
||||||
### Phase 5: Service Health Check
|
### Phase 5: Service Health Check
|
||||||
@@ -166,7 +166,7 @@ Smoke test pass criteria (Docker mode):
|
|||||||
- [x] Docker environment check passes
|
- [x] Docker environment check passes
|
||||||
- [x] Configuration files are set up correctly
|
- [x] Configuration files are set up correctly
|
||||||
- [x] `make docker-init` completes successfully
|
- [x] `make docker-init` completes successfully
|
||||||
- [x] `make docker-start` completes successfully
|
- [x] `make up` completes successfully
|
||||||
- [x] All Docker containers run normally
|
- [x] All Docker containers run normally
|
||||||
- [x] Frontend page is accessible
|
- [x] Frontend page is accessible
|
||||||
- [x] Frontend route smoke check passes (`/workspace` key routes)
|
- [x] Frontend route smoke check passes (`/workspace` key routes)
|
||||||
|
|||||||
@@ -291,9 +291,9 @@ This document describes the detailed operating steps for each phase of the DeerF
|
|||||||
#### 4.2.2 Start Docker Services
|
#### 4.2.2 Start Docker Services
|
||||||
|
|
||||||
**Steps**:
|
**Steps**:
|
||||||
1. Run `make docker-start`
|
1. Run `make up`
|
||||||
|
|
||||||
**Description**: This command builds and starts all required Docker containers.
|
**Description**: This command builds and starts all required Docker containers in production.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user