Commit Graph
7 Commits
Author SHA1 Message Date
Hector Ventura 7cef52bc50 ci(release): add one-button release cut from main (#20)
Releases were tag-driven: a maintainer hand-bumped pom.xml, hand-moved the
CHANGELOG [Unreleased] entries under a new heading, committed, then pushed a
SemVer tag. Three manual steps, each able to disagree with the others.

Add a manually-dispatched Release Cut workflow that runs semantic-release
against main: it analyzes the Conventional Commits since the last tag, bumps
pom.xml via `mvn versions:set`, regenerates CHANGELOG.md, commits both, tags
(tagFormat ${version}), and creates the GitHub Release. The tag push then
fires release.yml exactly as a manual tag push did, so the binary build and
homebrew-bump chain is untouched. A dry-run input previews the next version
and notes without releasing.

The cut needs a fine-grained PAT (GH_TOKEN, contents:write) rather than the
default GITHUB_TOKEN, whose tag pushes do not trigger other workflows — with
it, release.yml would never run. The semantic-release toolchain is pinned by
its own package-lock.json and installed with `npm ci --ignore-scripts`, so
the job holding that PAT never resolves mutable versions.

CHANGELOG.md becomes generated output. The hand-maintained [Unreleased]
section and its compare link are removed, the header explains the new
contract, and historic sections stay as they were. Changelog Guard fails any
PR that edits the file by hand unless a maintainer applies the
`changelog-edit` label.

Since commit messages are now the changelog, add a Conventional Commits
workflow that lints every non-merge commit in a PR against the types
semantic-release recognizes.

Also drop the hand-written installation body from release.yml — the release
now carries just the attachments, and semantic-release writes the notes.
2026-08-26 22:41:01 -05:00
Hector Ventura a2f97ae820 docs: add AGENTS.md, CONTRIBUTING.md, PR template; document GCP and self-update (#14)
* docs: add AGENTS.md, CONTRIBUTING.md, PR template; document GCP and self-update

- AGENTS.md (tracked): canonical agent guidance — architecture incl. the
  three product trees table, doctor check structure per tree, native-image
  constraints, code style rules, updated scope rules (self-update now in
  scope, must never auto-run)
- CONTRIBUTING.md: build/test setup, Conventional Commits, hand-maintained
  Keep-a-Changelog policy, PR guidelines, tag-driven release process
- .github/pull_request_template.md: adapted from the server repo with a
  'product trees affected' checklist
- README: document the floci gcp command group (quick start, command
  reference, global flags, gcp env variables, CI usage), floci update,
  Java 25+ fat-JAR requirement; drop the unwired snapshot --message flag
  from examples
- CHANGELOG: backfill [Unreleased] with #12 (self-update) and #11
  (ContainerInfo field alignment); document these docs changes
- release.yml: release notes said the fat JAR needs Java 21+, but it is
  built with --release 25 — corrected to Java 25+

* docs(changelog): use standard Keep a Changelog headings for Unreleased

The Documentation section is not one of the six types defined by Keep a
Changelog 1.1.0. New docs (AGENTS.md, CONTRIBUTING.md, README GCP section)
move under Added; the incorrect Java 21+ runtime claim moves under Fixed.
2026-07-06 20:15:32 -05:00
Hector Ventura 67468966ce ci: build and ship darwin/amd64 native binary via Rosetta (#5)
GraalVM native-image can't cross-compile architectures, and GitHub's Intel
macos-13 runners queue for hours and are being deprecated, so darwin/amd64 was
dropped — leaving 'brew install' and the install script with no Intel binary to
fetch (404). Add a release job that runs an x86_64 GraalVM under Rosetta 2 on
the Apple Silicon runner to produce a genuine x86_64 binary, re-wire the
Homebrew bump to fill the darwin/amd64 SHA, and add a manually-triggered
workflow to smoke-test the Rosetta build without cutting a release.

Closes #2
2026-06-10 17:18:59 -05:00
Hector Ventura 11883f5b67 fix: adding floci aws/az commands 2026-05-15 18:08:45 -05:00
Hector Ventura 77c2e75835 chore: removing docker image creation 2026-05-15 02:48:15 -05:00
Hector Ventura 1d7f9f81d0 fix: updating with latest floci changes 2026-05-15 02:34:27 -05:00
Hector Ventura aef1df595f chore: first commit 2026-05-12 17:10:46 -05:00