view mrjunejune/production_entrypoint.sh @ 266:efaf4c63cc94

fix clean production bundle staging Recreate deployment staging before copying the Bazel bundle and verify required inference runtime paths before promoting it. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 12:52:30 -0700
parents 056790c4fb0d
children a78f5986011f
line wrap: on
line source

#!/usr/bin/env bash
set -euo pipefail

bundle_root="$(cd "$(dirname "$0")" && pwd)"
cd "$bundle_root"

exec "$bundle_root/mrjunejune/inference_stack.sh" \
  "$bundle_root/mrjunejune_server_binary" \
  "$bundle_root/mrjunejune/inference_sidecar_launcher.sh" \
  "$bundle_root/mrjunejune/inference/copilot_sidecar.zip" \
  "$bundle_root/+http_archive+copilot_cli_linux_x86_64/copilot" \
  "$bundle_root/mrjunejune/inference/litellm_proxy.zip" \
  "$bundle_root/mrjunejune/inference/litellm_config.yaml" \
  "$bundle_root/rules_python++python+python_3_11_x86_64-unknown-linux-gnu/bin/python3"