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:
+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