mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
The white-label name is just `datastore`, not `hanzo-datastore` — one name, DRY.
- binary / packages / paths / user / config: hanzo-datastore → datastore
(binary `datastore`, packages `datastore-{client,server,common-static,keeper}`,
`/var/lib/datastore`, `/etc/datastore-server`, `/var/log/datastore-server`, user `datastore`)
- env vars: HANZO_* → DATASTORE_* across the white-label scripts (entrypoint, init,
service, postinstall, docs) and compose — the docker image env is now consistently
`DATASTORE_*` and compose matches what the entrypoint reads.
- renamed 13 spec/config files: `packages/hanzo-datastore-*` → `packages/datastore-*`,
`docker/server/hanzo-paths.xml` → `docker/server/datastore-paths.xml`.
Left intentionally: GitHub Actions secrets `ROBOT_HANZO_{SSH_KEY,COMMIT_TOKEN}` (renaming
needs rotating org secrets). The C++ source still reads `CLICKHOUSE_*` env and expects a
`<clickhouse>` config root — that's the deeper clickhouse→datastore source debrand, tracked
separately. The Hanzo brand stays in human prose (maintainer, homepage `hanzo.ai`, image
org `hanzoai/datastore`).
42 lines
1.0 KiB
Python
42 lines
1.0 KiB
Python
from praktika import Workflow
|
|
|
|
from ci.defs.defs import ARTIFACTS, BASE_BRANCH, DOCKERS, SECRETS, Jobs
|
|
|
|
S3_BUILDS_BUCKET = "datastore-builds"
|
|
|
|
workflow = Workflow.Config(
|
|
name="PRNEW",
|
|
event=Workflow.Event.PULL_REQUEST,
|
|
base_branches=[BASE_BRANCH],
|
|
jobs=[
|
|
*Jobs.stateless_tests_jobs,
|
|
*Jobs.stateful_tests_jobs,
|
|
*Jobs.integration_test_jobs,
|
|
*Jobs.stress_test_jobs,
|
|
*Jobs.upgrade_test_jobs,
|
|
*Jobs.compatibility_test_jobs,
|
|
Jobs.docs_job,
|
|
Jobs.docker_job,
|
|
*Jobs.install_check_job,
|
|
*Jobs.ast_fuzzer_jobs,
|
|
*Jobs.buzz_fuzzer_jobs,
|
|
],
|
|
artifacts=ARTIFACTS,
|
|
dockers=DOCKERS,
|
|
secrets=SECRETS,
|
|
enable_cache=True,
|
|
enable_report=True,
|
|
enable_cidb=True,
|
|
enable_merge_ready_status=True,
|
|
pre_hooks=[
|
|
"python3 ./ci/jobs/scripts/prechecks/pr_description.py",
|
|
"python3 ./ci/jobs/scripts/prechecks/trusted.py",
|
|
"python3 ./ci/jobs/scripts/prechecks/version_log.py",
|
|
],
|
|
post_hooks=[],
|
|
)
|
|
|
|
WORKFLOWS = [
|
|
workflow,
|
|
]
|