chore(P00): rename orch-engine to orca, configure gitea + coreci (v0.1)
---ci--- project: orca phase: 0 milestone: v0.1 status: execute ---/ci---
This commit is contained in:
+3
-1
@@ -1,4 +1,4 @@
|
|||||||
# Project: Orchestration Engine
|
# Project: Orca
|
||||||
|
|
||||||
## Vision
|
## Vision
|
||||||
A minimalist, offline-first, CLI-first orchestration engine inspired by HashiCorp Nomad, prioritizing stability, security, and simplicity over feature richness.
|
A minimalist, offline-first, CLI-first orchestration engine inspired by HashiCorp Nomad, prioritizing stability, security, and simplicity over feature richness.
|
||||||
@@ -18,6 +18,8 @@ Build a lightweight system to manage and execute workloads across a set of nodes
|
|||||||
- No web UI as a primary requirement.
|
- No web UI as a primary requirement.
|
||||||
- Must not implement K8s-level complexity.
|
- Must not implement K8s-level complexity.
|
||||||
- Feature development must move slowly to ensure stability.
|
- Feature development must move slowly to ensure stability.
|
||||||
|
- Only CI system allowed: CoreCI (git.cloudinit.dev/coreci/coreci).
|
||||||
|
- Gitea remote: git.cloudinit.dev/coreci/orca.
|
||||||
|
|
||||||
## Out of Scope
|
## Out of Scope
|
||||||
- Full-blown Kubernetes-compatible API.
|
- Full-blown Kubernetes-compatible API.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Requirements: Orchestration Engine
|
# Requirements: Orca
|
||||||
|
|
||||||
## Milestone v1.0: Foundation
|
## Milestone v0.1: Foundation
|
||||||
| ID | Requirement | Priority | Status |
|
| ID | Requirement | Priority | Status |
|
||||||
|----|-------------|----------|--------|
|
|----|-------------|----------|--------|
|
||||||
| REQ-001 | Go 1.25+ Toolchain Support | High | Pending |
|
| REQ-001 | Go 1.25+ Toolchain Support | High | Pending |
|
||||||
@@ -9,3 +9,4 @@
|
|||||||
| REQ-004 | Basic task deployment (single node) | Medium | Pending |
|
| REQ-004 | Basic task deployment (single node) | Medium | Pending |
|
||||||
| REQ-005 | Local state storage without external DB | Medium | Pending |
|
| REQ-005 | Local state storage without external DB | Medium | Pending |
|
||||||
| REQ-006 | Security-first audit logging | High | Pending |
|
| REQ-006 | Security-first audit logging | High | Pending |
|
||||||
|
| REQ-007 | CoreCI full release flow integration | High | Pending |
|
||||||
|
|||||||
+3
-2
@@ -1,9 +1,10 @@
|
|||||||
# Roadmap: Orchestration Engine
|
# Roadmap: Orca
|
||||||
|
|
||||||
## Milestone v1.0: Foundation (Initial)
|
## Milestone v0.1: Foundation
|
||||||
- [ ] Phase 0: Project Initialization & Specification
|
- [ ] Phase 0: Project Initialization & Specification
|
||||||
- [ ] Phase 1: Core CLI Skeleton & Command Parsing
|
- [ ] Phase 1: Core CLI Skeleton & Command Parsing
|
||||||
- [ ] Phase 2: Basic Node Management (Join/Leave)
|
- [ ] Phase 2: Basic Node Management (Join/Leave)
|
||||||
- [ ] Phase 3: Simple Task Execution Engine
|
- [ ] Phase 3: Simple Task Execution Engine
|
||||||
- [ ] Phase 4: Local State Persistence
|
- [ ] Phase 4: Local State Persistence
|
||||||
- [ ] Phase 5: Basic Health Checking
|
- [ ] Phase 5: Basic Health Checking
|
||||||
|
- [ ] Phase 6: CoreCI Full Release Flow
|
||||||
|
|||||||
+25
-8
@@ -2,10 +2,10 @@
|
|||||||
"version": 1,
|
"version": 1,
|
||||||
"projects": [
|
"projects": [
|
||||||
{
|
{
|
||||||
"slug": "orch-engine",
|
"slug": "orca",
|
||||||
"name": "Orchestration Engine",
|
"name": "Orca",
|
||||||
"description": "Offline/CLI-first orchestration engine inspired by HashiCorp Nomad, far simpler than Kubernetes",
|
"description": "Offline/CLI-first orchestration engine (Orca) — Nomad-inspired, far simpler than Kubernetes",
|
||||||
"milestone": "v1.0",
|
"milestone": "v0.1",
|
||||||
"phase": 0,
|
"phase": 0,
|
||||||
"milestone_type": "feature",
|
"milestone_type": "feature",
|
||||||
"default_branch": "main",
|
"default_branch": "main",
|
||||||
@@ -22,8 +22,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"active_project": "orch-engine",
|
"active_project": "orca",
|
||||||
"active_projects": ["orch-engine"],
|
"active_projects": ["orca"],
|
||||||
"autonomy": {
|
"autonomy": {
|
||||||
"level": "full",
|
"level": "full",
|
||||||
"decision_confidence_threshold": 0.60,
|
"decision_confidence_threshold": 0.60,
|
||||||
@@ -69,16 +69,33 @@
|
|||||||
"session_isolation": "branch"
|
"session_isolation": "branch"
|
||||||
},
|
},
|
||||||
"ci": {
|
"ci": {
|
||||||
"provider": "gitea",
|
"provider": "coreci",
|
||||||
|
"allowed_providers": ["coreci"],
|
||||||
"gitea": {
|
"gitea": {
|
||||||
"url": "https://git.cloudinit.dev",
|
"url": "https://git.cloudinit.dev",
|
||||||
"owner": "coreci",
|
"owner": "coreci",
|
||||||
"repo": "orch-engine",
|
"repo": "orca",
|
||||||
"token_env": "GITEA_TOKEN"
|
"token_env": "GITEA_TOKEN"
|
||||||
|
},
|
||||||
|
"coreci": {
|
||||||
|
"url": "https://git.cloudinit.dev/coreci/coreci",
|
||||||
|
"config_file": ".coreci.yml"
|
||||||
|
},
|
||||||
|
"tools": {
|
||||||
|
"gitea_cli": "tea",
|
||||||
|
"allowed_commands": [
|
||||||
|
"tea repos create",
|
||||||
|
"tea repos list",
|
||||||
|
"tea pr create",
|
||||||
|
"tea pr list",
|
||||||
|
"tea releases create",
|
||||||
|
"tea issues create"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"remote": "origin",
|
"remote": "origin",
|
||||||
|
"url": "https://git.cloudinit.dev/coreci/orca.git",
|
||||||
"main_branch": "main"
|
"main_branch": "main"
|
||||||
},
|
},
|
||||||
"commands": {
|
"commands": {
|
||||||
|
|||||||
+46
@@ -0,0 +1,46 @@
|
|||||||
|
version: "1"
|
||||||
|
name: orca-ci
|
||||||
|
description: Orca — offline/CLI-first orchestration engine. Full release flow via CoreCI.
|
||||||
|
|
||||||
|
pipelines:
|
||||||
|
validate:
|
||||||
|
description: Validate Go toolchain and code formatting
|
||||||
|
steps:
|
||||||
|
- name: go-version
|
||||||
|
image: golang:1.25
|
||||||
|
commands:
|
||||||
|
- go version
|
||||||
|
- gofmt -l .
|
||||||
|
- go vet ./...
|
||||||
|
|
||||||
|
build:
|
||||||
|
description: Build the orca binary
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: golang:1.25
|
||||||
|
commands:
|
||||||
|
- go build -o bin/orca ./cmd/orca
|
||||||
|
|
||||||
|
test:
|
||||||
|
description: Run all tests with race detection
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: golang:1.25
|
||||||
|
commands:
|
||||||
|
- go test -race -coverprofile=coverage.out ./...
|
||||||
|
|
||||||
|
release:
|
||||||
|
description: Full release flow — build, package, and publish to Gitea
|
||||||
|
steps:
|
||||||
|
- name: build-artifact
|
||||||
|
image: golang:1.25
|
||||||
|
commands:
|
||||||
|
- go build -ldflags="-s -w" -o bin/orca ./cmd/orca
|
||||||
|
- tar -czf orca-${CI_COMMIT_TAG}-linux-amd64.tar.gz -C bin orca
|
||||||
|
- name: gitea-release
|
||||||
|
image: golang:1.25
|
||||||
|
commands:
|
||||||
|
- tea releases create ${CI_COMMIT_TAG}
|
||||||
|
--title "Orca ${CI_COMMIT_TAG}"
|
||||||
|
--note "Full release of Orca. See CHANGELOG for details."
|
||||||
|
--asset orca-${CI_COMMIT_TAG}-linux-amd64.tar.gz
|
||||||
Reference in New Issue
Block a user