Add one-command installer and dual-registry image publishing - #33
Merged
Conversation
Add install.sh implementing INSTALL_SPEC RFC v1.0: curl|bash installer, Docker Compose based, github/cn channels, idempotent re-runs with config/data preservation. Extend release workflow to push devify and devify-ui images to both the primary REGISTRY and registry.cn-beijing.aliyuncs.com/oneprolabs with identical tags.
Use registry.cn-beijing.aliyuncs.com/oneprolabs for nginx, mariadb, redis and haraka in both docker-compose.yml and docker-compose.dev.yml so CN-channel installs don't depend on Docker Hub availability.
Use a Debian multi-stage build, install agentcore from checked-out submodules, and keep build-only tooling out of the runtime image.
Support macOS and Windows Git Bash installation paths and run portable smoke tests across Linux, macOS, and Windows in GitHub Actions.
Wait for the background test server to become ready instead of assuming it listens within one second on every CI runner.
Report server and socket state when port detection fails, and avoid duplicate feature-branch runs by reserving push-triggered checks for main.
Use a minimal bound socket instead of Python HTTPServer so macOS hosted runners do not block on FQDN resolution before listening.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
install.shas a Docker Compose based one-command installer that downloads versioned release artifacts without cloning the repositorygithubandcndistribution channels, idempotent reruns, configuration preservation, preflight checks, port selection, TLS setup, and health verificationCloses #32
Test plan
bash -n install.shbash scripts/test-install.shon macOS arm64DEV_MODE=0)DEV_MODE=1)cnchannelgithubchannel fallback and dual-registry release publishing