feat: add baidu netdisk artifact delivery
This commit is contained in:
+11
-2
@@ -78,7 +78,7 @@ The artifact registry contract and CD consumption path are defined in `docs/refe
|
||||
|
||||
## User-Service Artifact Publication
|
||||
|
||||
User-service image creation uses the same CI producer boundary as backend-core, but the service identity and Dockerfile come from the registered `config.json.microservices[]` entry. The minimal supported service is `decision-center`.
|
||||
User-service image creation uses the same CI producer boundary as backend-core, but the service identity and Dockerfile come from the registered `config.json.microservices[]` entry. The reviewed sample services are `baidu-netdisk` and `decision-center`.
|
||||
|
||||
The CI user-service artifact task must follow these rules:
|
||||
|
||||
@@ -89,6 +89,14 @@ The CI user-service artifact task must follow these rules:
|
||||
- The command output must include the image ref, tag, digest, source commit and service id. The digest ref is suitable as immutable input for later dev/prod deployment work.
|
||||
- CI is an artifact producer only. It must not restart production services, call production `deploy apply`, mutate the production namespace, or change `deploy.json`.
|
||||
|
||||
Publish a Baidu Netdisk artifact:
|
||||
|
||||
```bash
|
||||
bun scripts/cli.ts ci publish-user-service --service baidu-netdisk --commit <full-sha> --wait-ms 1200000
|
||||
```
|
||||
|
||||
This command creates the `unidesk-user-service-artifact-publish` Tekton PipelineRun and pushes `127.0.0.1:5000/unidesk/baidu-netdisk:<commit>`.
|
||||
|
||||
Publish a Decision Center artifact:
|
||||
|
||||
```bash
|
||||
@@ -146,10 +154,11 @@ This command creates the `unidesk-backend-core-artifact-publish` Tekton Pipeline
|
||||
Publish a user-service artifact:
|
||||
|
||||
```bash
|
||||
bun scripts/cli.ts ci publish-user-service --service baidu-netdisk --commit <full-sha> --wait-ms 1200000
|
||||
bun scripts/cli.ts ci publish-user-service --service decision-center --commit <full-sha> --wait-ms 1200000
|
||||
```
|
||||
|
||||
This command is a CI producer action only. For Decision Center, it builds and pushes `127.0.0.1:5000/unidesk/decision-center:<commit>` and reports the immutable digest without deploying production.
|
||||
This command is a CI producer action only. For Baidu Netdisk and Decision Center, it builds and pushes `127.0.0.1:5000/unidesk/<service-id>:<commit>` and reports the immutable digest without deploying production.
|
||||
|
||||
Run the dev namespace e2e harness manually:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user