Skip to content

✨ bootstrap: CI, release pipeline and first sync of hive src/crux - #3

Merged
clubanderson merged 6 commits into
mainfrom
bootstrap
Oct 25, 2026
Merged

clubanderson merged 6 commits into
mainfrom
bootstrap

Conversation

@clubanderson

Copy link
Copy Markdown
Member

Bootstraps this repository as the published copy of hivecommons/hive src/crux (hivecommons/hive#14138).

Scaffolding (maintained here):

  • .github/workflows/ci.yml — build, vet, go test -short -race (agent package in its own lane), golangci-lint with hive's enabled set, crux serve smoke on linux + macOS (skips with a warning until cmd/crux is synced), goreleaser check.
  • .github/workflows/sync-guard.yml — fails any PR from a non-sync actor that touches *.go / go.mod / go.sum, with a comment pointing at hive.
  • .github/workflows/release.yml + .goreleaser.yaml — on tag v*: darwin/linux × amd64/arm64 archives, sha256 checksums signed with cosign (keyless), GitHub release with generated notes, multi-arch ghcr.io/hivecommons/crux:<version> + latest (alpine + tmux), cosign-signed manifests.
  • .github/scripts/smoke.sh, Dockerfile, .golangci.yml, .gitignore.

Everything else is the first sync of src/crux at hive 8bce0b07743f (see .hive-sync), module path rewritten to github.com/hivecommons/crux by hive's src/scripts/crux-publish.sh (hivecommons/hive#14199). Verified locally: GOWORK=off go build ./... && go vet ./..., lint clean, non-agent tests pass with -race.

README is left untouched here; Install / Quick start / source-of-truth sections follow in a separate commit after the positioning edits land.

@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Scaffolding maintained in this repository:
- .github/workflows/ci.yml: build/vet/test (-short -race), golangci-lint
  (hive's enabled set), crux serve smoke on linux+macOS, goreleaser check
- .github/workflows/sync-guard.yml: refuses PRs touching Go code; source
  of truth is hivecommons/hive src/crux
- .github/workflows/release.yml + .goreleaser.yaml: on tag v*, darwin/linux
  x amd64/arm64 archives, cosign-signed checksums, GitHub release,
  multi-arch ghcr.io/hivecommons/crux image (alpine + tmux)
- .github/scripts/smoke.sh, Dockerfile, .golangci.yml

Everything else is the first publish of hivecommons/hive src/crux
(see .hive-sync) with the module path rewritten to
github.com/hivecommons/crux by hive's src/scripts/crux-publish.sh.

Signed-off-by: Andrew Anderson <andy@clubanderson.com>
Signed-off-by: Andrew Anderson <andy@clubanderson.com>
Signed-off-by: Andrew Anderson <andy@clubanderson.com>
Signed-off-by: Andrew Anderson <andy@clubanderson.com>
Signed-off-by: Andrew Anderson <andy@clubanderson.com>
…oke.sh

The nested module now ships cmd/crux, its Makefile and scripts/smoke.sh
(hive #14203), so CI and the release pre-flight run that script instead
of a duplicate kept here. Standalone test fixes from hive #14209 are in.

Signed-off-by: Andrew Anderson <andy@clubanderson.com>
@clubanderson
clubanderson merged commit 28101ea into main Oct 25, 2026
9 of 11 checks passed
@clubanderson
clubanderson deleted the bootstrap branch October 25, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant