amsd-pipeline 2.0.80 → 2.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/install.sh +3 -6
  2. package/package.json +1 -1
package/install.sh CHANGED
@@ -823,7 +823,7 @@ compose_up() {
823
823
 
824
824
  for _subnet in $(isolated_subnet_candidates "$ROOT"); do
825
825
  # ATTEMPT 0 KEEPS THE WELL-KNOWN PORTS EXACTLY (offset 0) — a normal single-install machine
826
- # sees no change at all, still :3100, :8092, :8123, :3001. Only a genuine collision (this
826
+ # sees no change at all, still :3100, :8092, :3001. Only a genuine collision (this
827
827
  # exact stack already running, or a second install) steps to the next attempt's offset, so
828
828
  # no manual port flag is ever required for this to just work.
829
829
  local _off=$((_i * 10))
@@ -833,13 +833,11 @@ compose_up() {
833
833
  # it exited 0 over six containers stuck in `created` with "address already in use", so
834
834
  # nothing discovered the clash at all. Each service takes the first genuinely free port
835
835
  # at or after its candidate, so another install holding 3100 costs one step, not a run.
836
- local _p_ch _p_lf _p_dash _p_graf
837
- _p_ch="$(find_free_port $((8123 + _off)))" || { _bad "no free port for clickhouse"; return 1; }
836
+ local _p_lf _p_dash _p_graf
838
837
  _p_lf="$(find_free_port $((3100 + _off)))" || { _bad "no free port for langfuse"; return 1; }
839
838
  _p_dash="$(find_free_port $((8092 + _off)))" || { _bad "no free port for the dashboard"; return 1; }
840
839
  _p_graf="$(find_free_port $((3001 + _off)))" || { _bad "no free port for grafana"; return 1; }
841
840
  if (cd "$ROOT" && EPAM_OBS_SUBNET="$_subnet" \
842
- EPAM_OBS_CLICKHOUSE_PORT="$_p_ch" \
843
841
  EPAM_OBS_LANGFUSE_PORT="$_p_lf" \
844
842
  EPAM_OBS_DASHBOARD_PORT="$_p_dash" \
845
843
  EPAM_OBS_GRAFANA_PORT="$_p_graf" \
@@ -858,7 +856,7 @@ compose_up() {
858
856
  # every candidate, burning through all of them and hiding the real error behind repeats.
859
857
  grep -qiE 'overlap|pool|port is already allocated|address already in use' "$_log" || break
860
858
  # TEAR DOWN BEFORE THE NEXT ATTEMPT. A failed `up -d` still CREATES whatever services it
861
- # got to before the failing one — found live: postgres/redis/clickhouse started fine on
859
+ # got to before the failing one — found live: postgres/redis started fine on
862
860
  # attempt 0, agent-monitor's port collision failed the overall command, and attempt 1's
863
861
  # NEW port env was silently ignored for the already-Created containers, which stayed bound
864
862
  # to attempt 0's (colliding) ports. Compose does not cleanly re-resolve an already-created
@@ -884,7 +882,6 @@ compose_up() {
884
882
  # (find_free_port), so an offset that was occupied yields a different port — recording
885
883
  # the formula instead of the result would make this file name ports no container listens
886
884
  # on, and service_url()/langfuse-emit.js read it to find this install's own services.
887
- printf 'OBS_CLICKHOUSE_PORT=%s\n' "$_p_ch"
888
885
  printf 'OBS_LANGFUSE_PORT=%s\n' "$_p_lf"
889
886
  printf 'OBS_DASHBOARD_PORT=%s\n' "$_p_dash"
890
887
  printf 'OBS_GRAFANA_PORT=%s\n' "$_p_graf"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amsd-pipeline",
3
- "version": "2.0.80",
3
+ "version": "2.0.81",
4
4
  "description": "Installer for the amsd-pipeline orchestration stack. Clones, packages and provisions the full stack with one command — no separate git clone step.",
5
5
  "bin": {
6
6
  "amsd-pipeline": "bin/amsd-pipeline.js"