Add --update flag to deploy create
#983
Open
roysc
wants to merge 12 commits from
roysc/deployment-create-sync into helm-charts-with-caddy
pull from: roysc/deployment-create-sync
merge into: :helm-charts-with-caddy
:main
:afd-dumpster-local-testing
:merge-multi-http-proxy
:fix/kind-mount-propagation
:add/local-test-runner
:fix/k8s-port-mappings-v5
:fix/k8s-port-mappings-hostnetwork
:feature/secrets-support
:fix-etcd-drop-stale-acme
:multi-http-proxy
:fix-sidecar-localhost
:feat-namespace-per-deployment
:fix-down-cleanup-by-label
:fix-kind-relative-volume-paths
:fix-init-volumes-merge
:caddy-pvc-persistence
:roysc/deployment-create-sync
:multi-port-service
:helm-charts-with-caddy
:afd
:feat/trashscan-explorer-stack
:helm-charts-support
:vaasl-deploy
:roysc/deploy-create-extra-args
:zach/atom-payments
:zramsay-patch-1
:roysc/deploy-create-pass-cluster
:zach/update-url
:telackey/defaultplatform
:telackey/924
:telackey/laconicdv1
:zach/pin-cli-version
:telackey/wagit
:add-vega-stack
:blast-stack
:lotus-stack
:roysc/fix-eth-stacks
:telackey/na
:telackey/fqdn
:zach/snowdocs
:zach/fixturenet-2d
:telackey/wild
:dboreham/mobymask-v3-demo-test
:zach/fix-for-mars
:ci-test
:optimism-fix
:telackey/envsubst
:dboreham/laconicd-k8s
:zach/birbit
:osmosis
:iskay/update-optimism
:iskay/plugeth-test-update
:iskay/fixturenet-payments-test
:iskay/fixturenet-laconicd-test
:iskay/fixturenet-eth-test
:new-gitea-test
:erc20-fix
:update-uniswap
:tel/1.20
:telackey/systest
:ng-deny-multiaddr
:publish-test
:telackey/datanet
12
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
458b548dcf |
fix(k8s): add hostPath support for compose host path mounts
Smoke Test / Run basic test suite (pull_request) Successful in 3m52s
Lint Checks / Run linter (pull_request) Successful in 14s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m59s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 4m19s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 1m54s
Deploy Test / Run deploy test suite (pull_request) Successful in 2m4s
Add support for Docker Compose host path mounts (like ../config/file:/path) in k8s deployments. Previously these were silently skipped, causing k8s deployments to fail when compose files used host path mounts. Changes: - Add helper functions for host path detection and name sanitization - Generate kind extraMounts for host path mounts - Create hostPath volumes in pod specs for host path mounts - Create volumeMounts with sanitized names for host path mounts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
789b2dd3a7 |
Add --update option to deploy create
Lint Checks / Run linter (pull_request) Successful in 1h21m32s
Deploy Test / Run deploy test suite (pull_request) Successful in 1h43m56s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 2h4m55s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 2h27m42s
Webapp Test / Run webapp test suite (pull_request) Successful in 2h13m35s
Smoke Test / Run basic test suite (pull_request) Successful in 2h17m41s
To allow updating an existing deployment - Check the deployment dir exists when updating - Write to temp dir, then safely copy tree - Don't overwrite data dir or config.env |
||
|
|
55b76b9b57 |
Merge pull request 'multi-port-service' (#980) from multi-port-service into main
Lint Checks / Run linter (push) Successful in 4m0s
Publish / Build and publish (push) Successful in 7m14s
Deploy Test / Run deploy test suite (push) Successful in 18m29s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (push) Successful in 23m3s
Webapp Test / Run webapp test suite (push) Successful in 24m38s
Smoke Test / Run basic test suite (push) Successful in 25m55s
Fixturenet-Laconicd-Test / Run Laconicd fixturenet and Laconic CLI tests (push) Successful in 17m30s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Successful in 3m39s
Database Test / Run database hosting test on kind/k8s (push) Successful in 4m5s
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Failing after 1m14s
External Stack Test / Run external stack test suite (push) Successful in 2m44s
Reviewed-on: #980 |
||
|
|
d07a3afd27 |
Merge origin/main into multi-port-service
Lint Checks / Run linter (push) Successful in 24m22s
Lint Checks / Run linter (pull_request) Successful in 23m2s
Deploy Test / Run deploy test suite (pull_request) Successful in 25m37s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 28m31s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 27m46s
Webapp Test / Run webapp test suite (pull_request) Successful in 27m34s
Smoke Test / Run basic test suite (pull_request) Successful in 28m59s
Resolve conflicts: - deployment_context.py: Keep single modify_yaml method from main - fixturenet-optimism/commands.py: Use modify_yaml helper from main - deployment_create.py: Keep helm-chart, network-dir, initial-peers options - deploy_webapp.py: Update create_operation call signature Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
a5b373da26 |
Check for None before creating k8s service
Lint Checks / Run linter (push) Successful in 4m1s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Successful in 10m28s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (push) Successful in 13m7s
Lint Checks / Run linter (pull_request) Successful in 14m12s
Deploy Test / Run deploy test suite (pull_request) Successful in 19m51s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 24m55s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 24m33s
Webapp Test / Run webapp test suite (pull_request) Successful in 20m56s
Smoke Test / Run basic test suite (pull_request) Successful in 22m48s
get_service() returns None when there are no http-proxy routes, so we must check before calling create_namespaced_service(). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
99db75da19 |
Fix invalid docker command in webapp-test
Change 'docker remove -f' to 'docker rm -f' - the 'remove' subcommand doesn't exist in docker CLI. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
d4e935484f |
Limit test workflow PR triggers to main branch only
Previously these workflows ran on PRs to any branch. Now: - PRs to main: run all tests (full CI gate) - Pushes to other branches: use existing path filtering This reduces CI load on feature branch PRs while maintaining full test coverage for PRs targeting main. Affected workflows: - test-k8s-deploy.yml - test-k8s-deployment-control.yml - test-webapp.yml - test-deploy.yml Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
4f01054781 |
Expose all ports from http-proxy routes in k8s Service
Lint Checks / Run linter (push) Successful in 6m2s
Lint Checks / Run linter (pull_request) Successful in 5m1s
Deploy Test / Run deploy test suite (pull_request) Successful in 10m57s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 13m32s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 17m24s
Webapp Test / Run webapp test suite (pull_request) Failing after 21m3s
Smoke Test / Run basic test suite (pull_request) Successful in 21m54s
Previously get_service() only exposed the first port from pod definition. Now it collects all unique ports from http-proxy routes and exposes them all in the Service spec. This is needed for WebSocket support where RPC runs on one port (8899) and WebSocket pubsub on another (8900) - both need to be accessible through the ingress. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
55d6c5b495 |
Merge pull request 'afd' (#978) from afd into main
Lint Checks / Run linter (push) Successful in 26s
Publish / Build and publish (push) Successful in 27s
Deploy Test / Run deploy test suite (push) Successful in 3m0s
Webapp Test / Run webapp test suite (push) Failing after 3m38s
Smoke Test / Run basic test suite (push) Successful in 4m14s
Fixturenet-Laconicd-Test / Run Laconicd fixturenet and Laconic CLI tests (push) Successful in 20m53s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Successful in 8m6s
Database Test / Run database hosting test on kind/k8s (push) Successful in 8m42s
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Failing after 5m8s
External Stack Test / Run external stack test suite (push) Successful in 7m10s
Reviewed-on: #978 |
||
|
|
f3ef3e9a1f |
Add Docker Compose deployment guide
Lint Checks / Run linter (push) Successful in 15s
Lint Checks / Run linter (pull_request) Successful in 14s
Deploy Test / Run deploy test suite (pull_request) Successful in 3m4s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 4m10s
Webapp Test / Run webapp test suite (pull_request) Failing after 3m56s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 5m38s
Smoke Test / Run basic test suite (pull_request) Successful in 4m38s
Create comprehensive documentation for deploying stacks using Docker Compose, which is the default and recommended deployment mode. The guide covers: - Complete deployment workflows (deployment directory and quick deploy) - Real-world examples (test stack and fixturenet-eth) - Configuration options (ports, volumes, environment variables) - Common operations and troubleshooting - CLI commands reference Mentions that Kubernetes deployment options exist but are out of scope for this guide (covered in separate K8s documentation). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|
|
1768bd0fe1 |
Add documentation for AI-friendly stack creation
Lint Checks / Run linter (push) Failing after 3h1m48s
- AI-FRIENDLY-PLAN.md: Plan for making repo AI-friendly - STACK-CREATION-GUIDE.md: Implementation details for create-stack command - laconic-network-deployment.md: Laconic network deployment overview Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
ccccd9f957 |
Pass extra args to custom create command (#972)
Lint Checks / Run linter (push) Successful in 17s
Publish / Build and publish (push) Successful in 31s
Smoke Test / Run basic test suite (push) Successful in 1m51s
Webapp Test / Run webapp test suite (push) Successful in 2m7s
Deploy Test / Run deploy test suite (push) Successful in 2m45s
Fixturenet-Laconicd-Test / Run Laconicd fixturenet and Laconic CLI tests (push) Successful in 17m18s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Successful in 4m44s
Database Test / Run database hosting test on kind/k8s (push) Failing after 2m1s
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Failing after 1m19s
External Stack Test / Run external stack test suite (push) Successful in 2m42s
This is needed to allow custom deploy commands to handle arbitrary args. * Adds a `DeploymentContext.modify_yaml` helper * Removes `laconicd` from test stack to simplify it Reviewed-on: #972 Reviewed-by: ashwin <ashwin@noreply.git.vdb.to> |