Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(branch-profile): re-copy the setup scripts and manifests on every setup (J3)
Alfredo Lopez7b11828bc27f
diff --git a/docs/deploy/minikube.md b/docs/deploy/minikube.mdindex 3e0d008a1..90b1a352a 100644--- a/docs/deploy/minikube.md+++ b/docs/deploy/minikube.md@@ -216,7 +216,7 @@ cluster through it.| `pf-health` | minikube kubectl python3 node curl | as `pf`, then `health` | no | as `pf` | an EXIT trap stops the forwards it started || `stop` | minikube kubectl python3 node | yes | yes | when the cluster answers | clears verified port-forward records before `minikube stop` || `delete` | minikube kubectl python3 node | yes | yes | when the cluster answers | `CONFIRM_DELETE=<profile>`; clears verified records before `minikube delete` |-| `setup` | minikube kubectl helm perl python3 node | yes | yes | no (hands the profile to `full-setup.sh`) | `CONFIRM_PROFILE=<profile>`, Docker ready |+| `setup` | minikube kubectl helm perl python3 node | yes | yes | no (hands the profile to `full-setup.sh`) | `CONFIRM_PROFILE=<profile>`, Docker ready; re-copies the script and deploy shims from the current tree on every run || `preflight` | its own check: git minikube kubectl helm shasum | no | no | no | Docker ready, ports free || `prepare-shims` | its own check: git shasum perl | no | no | no | shim symlink and rewrite checks || `stop-pf` | none beyond the common ones | no | no | no | port-forward ownership records |diff --git a/scripts/minikube-profiles/branch-profile.sh b/scripts/minikube-profiles/branch-profile.shindex 6af77105c..529a87ace 100755--- a/scripts/minikube-profiles/branch-profile.sh+++ b/scripts/minikube-profiles/branch-profile.sh@@ -1026,12 +1026,6 @@ EOF_SHIMSprintf 'env: %s\n' "${SHIM_ENV}"}-ensure_shims() {- if [[ ! -x "${SHIMS_DIR}/full-setup.sh" || ! -x "${SHIMS_DIR}/build-images.sh" || ! -x "${SHIMS_DIR}/generate-keys.sh" ]]; then- cmd_prepare_shims- fi-}-# restore_global_context: undoes a move of the global kubectl current-context# onto ${PROFILE} made by minikube start, back to START_BEFORE_CONTEXT (or# unset, when none was set). A context other than the profile was chosen by@@ -1398,7 +1392,9 @@ cmd_setup() {require_context_profile_known_to_minikubecheck_docker_readypersist_state- ensure_shims+ # Re-copied on every setup: copies left by an earlier tree would deploy its+ # manifests with its guard logic next to images built from this tree.+ cmd_prepare_shimslocal -a setup_args=()if [[ -n "${ARGS}" ]]; thenread -r -a setup_args <<<"${ARGS}"