Update CI/CD Pipelines for All Affected Projects
Objective
Update GitLab CI/CD pipelines for technical-guide, agent-router, studio-ui, and all dependent projects to reflect new structure and enforce standards.
technical-guide Pipeline Updates
New Jobs
```yaml validate:tokens: script: - npm run validate:tokens - npm run validate:schemas
test:validators: script: - npm run test
build:package: script: - npm run build - npm run lint - npm run typecheck
publish:package: script: - npm publish only: - tags when: manual
sync:wiki: script: - buildkit gitlab-wiki sync only: - main ```
Remove Jobs
-
Remove service deployment jobs (no services here) -
Remove Docker build jobs -
Remove old spec aggregation jobs
agent-router Pipeline Updates
Add Jobs
```yaml test:apidog: script: - npm run test:apidog
validate:platform-specs: script: - buildkit openapi validate --all-services
deploy:apidog-service: script: - docker build -t agent-router:latest . - kubectl apply -f deployment/ ```
studio-ui Pipeline Updates
Add Jobs
```yaml test:design-api: script: - npm run test:design-api
validate:design-tokens: script: - buildkit audit design-tokens - npm run validate:tokens
deploy:design-api: script: - npm run build - npm publish ```
All Projects Pipeline Updates
Add Standard Validation
```yaml validate:standards: stage: validate script: - buildkit openapi lint - buildkit audit design-tokens allow_failure: false
validate:contracts: stage: test script: - npm run test:contracts ```
Cross-Project Validation Job
```yaml
In a central CI project or technical-guide
validate:ecosystem: script: - buildkit openapi discover - buildkit gitlab-crud create-issue --title "API Registry Update" --description "New specs detected" only: - schedules ```
Tasks by Project
technical-guide
-
Update .gitlab-ci.yml -
Add package build and publish jobs -
Add wiki sync automation -
Remove service deployment jobs -
Add token validation jobs
agent-router
-
Add apidog service tests -
Add platform spec validation -
Update deployment with new services -
Add health check validation
studio-ui
-
Add design API tests -
Add token consistency validation -
Update deployment configuration -
Add visual regression tests
agent-buildkit
-
Add new CLI command tests -
Validate apidog integration -
Test validator integration
All common_npm Projects
-
Add standards validation -
Add design token auditing -
Add OpenAPI contract tests -
Fail on standards violations
Semantic Release Configuration
```json // technical-guide/.releaserc { "branches": ["main"], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/gitlab" ] } ```
Quality Gates
-
Test coverage >= 80% -
No TypeScript errors -
No ESLint errors -
OpenAPI specs valid -
Design tokens valid -
Brand validator passes -
Contract tests pass
Related
- Epic: #1
- Depends on: #9 (agent-router), #10 (studio-ui), #11 (agent-buildkit), #12 (all consumers)
- Next: #14 (archive old structure)
Files to Update
- `technical-guide/.gitlab-ci.yml`
- `agent-router/.gitlab-ci.yml`
- `studio-ui/.gitlab-ci.yml`
- `agent-buildkit/.gitlab-ci.yml`
- All `common_npm/*/.gitlab-ci.yml`
Success Criteria
-
✅ All pipelines pass -
✅ Standards enforced in CI -
✅ Automated publishing works -
✅ No duplicate validation -
✅ Fast feedback on violations