mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-07-30 19:46:17 +00:00
geode was runnable only via ./gradlew :geode:run and was absent from CI. Give it the same release process as the amy CLI (it's the same kind of application-plugin JVM module), plus the pieces a long-running server daemon needs that a one-shot CLI does not. - Main.kt: add terminal --version/-V and --help/-h flags so a packaged binary has a fast, exit-0 command (Homebrew test block, package smoke checks, Docker healthcheck). - build.gradle.kts: jlinkRuntime + geodeImage (portable flat app-image with a bundled JRE, plus config.example.toml + geode.service under share/) + jpackageDeb/jpackageRpm, mirroring cli/. No Compose to exclude — geode depends only on :quartz. - Dockerfile + .dockerignore: multi-stage image (gradle installDist -> temurin JRE), the primary channel for relay operators. - packaging/: systemd unit, macOS hardened-runtime entitlements, and a reference Homebrew formula. - scripts/asset-name.sh: geode_asset_name/collect_geode_assets under the canonical geode-<version>-<family>-<arch>.<ext> scheme. - create-release.yml: build-geode matrix (tarball + deb/rpm + no-JRE jvm bundle, with a serve+NIP-11 smoke test of the jlink image) and a docker-geode job pushing ghcr.io/<owner>/geode:<version> (+ :latest). - bump-homebrew-geode-formula.yml: auto-sync the reference formula on stable releases. - build.yml: run :geode:test in CI (it ran in no workflow before). - README.md + plans/2026-07-24-geode-release.md: operator docs + design. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KCdJwdhGtmLZ12ViS56S3k
18 lines
594 B
Plaintext
18 lines
594 B
Plaintext
# Keep the Docker build context small + reproducible: exclude VCS metadata,
|
|
# Gradle/build outputs, IDE files, and local caches. The build stage runs a
|
|
# fresh `./gradlew :geode:installDist` inside the image, so nothing under any
|
|
# build/ directory needs to travel with the context.
|
|
.git
|
|
.github
|
|
**/build/
|
|
.gradle/
|
|
**/.gradle/
|
|
.idea/
|
|
*.iml
|
|
.kotlin/
|
|
**/.kotlin/
|
|
local.properties
|
|
# Docs + non-geode app modules aren't needed to build the relay, but the Gradle
|
|
# settings reference every module, so we can't drop the module source trees;
|
|
# only their build artifacts (covered above) are excluded.
|