manifests/{devnet,production,testnet}.yml claimed to be "source of truth for
what is deployed on lux-k8s", last edited 2026-04-20, listing tag: latest and
sha: latest per service. Nothing has read them since; the ApplicationSet reads
deploy/, and the only writer that touched them was update-image.yml, which was
sed-ing into a tree CD does not open.
manifests/safes.yaml was the one live file in there and is not a deployment
manifest at all — it is Lux's Safe topology. It moves to SAFES.yaml, beside
NETWORKS.yaml and chain.yaml, where this repo keeps its fact tables.
scripts/deploy-do.sh creates three DigitalOcean droplets, cloud-inits docker on
them and runs compose over ssh. That is the arrangement DOKS replaced.
sync-pars-universe.sh no longer copies it into the Pars bundle.
renovate.json stops matching manifests/. It still does not match deploy/, and
that is now on purpose rather than an oversight: pin.sh resolves a tag and its
digest from one registry read, and a second writer offering a bare tag would
leave the pair disagreeing — which deploys the digest.
Co-authored-by: Hanzo Dev <[email protected]>
38 lines
1.3 KiB
Bash
Executable File
38 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
src_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
target_root="${1:-/Users/z/work/pars/universe}"
|
|
|
|
mkdir -p "${target_root}/k8s" "${target_root}/scripts"
|
|
|
|
# Cluster manifests
|
|
rm -rf "${target_root}/k8s/lux-k8s" "${target_root}/k8s/hanzo-k8s" "${target_root}/k8s/bootnode"
|
|
cp -R "${src_root}/k8s/lux-k8s" "${target_root}/k8s/"
|
|
cp -R "${src_root}/k8s/hanzo-k8s" "${target_root}/k8s/"
|
|
cp -R "${src_root}/k8s/bootnode" "${target_root}/k8s/"
|
|
|
|
# Deployment automation
|
|
cp "${src_root}/scripts/check-tracked-chains.sh" "${target_root}/scripts/"
|
|
cp "${src_root}/scripts/ensure-tracked-chains.sh" "${target_root}/scripts/"
|
|
cp "${src_root}/Makefile" "${target_root}/Makefile"
|
|
|
|
cat > "${target_root}/README.md" <<'README'
|
|
# Pars Universe Deployment Bundle
|
|
|
|
This directory is synced from `lux/universe` and contains:
|
|
- `k8s/lux-k8s`: Lux cluster manifests (cloud.lux.network stack)
|
|
- `k8s/hanzo-k8s`: Hanzo cluster manifests (cloud.hanzo.network stack)
|
|
- `scripts/ensure-tracked-chains.sh`: Deploy/track `zoo,hanzo,spc,pars`
|
|
- `scripts/check-tracked-chains.sh`: RPC block-height checks for tracked chains
|
|
|
|
Apply examples:
|
|
|
|
```bash
|
|
kubectl --context lux-k8s apply -k k8s/lux-k8s
|
|
kubectl --context hanzo-k8s apply -k k8s/hanzo-k8s
|
|
```
|
|
README
|
|
|
|
echo "Synced deployment bundle to ${target_root}"
|