amsd-pipeline 2.0.29 → 2.0.31
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.
- package/install.sh +11 -9
- package/package.json +1 -1
package/install.sh
CHANGED
|
@@ -656,6 +656,7 @@ fi
|
|
|
656
656
|
|
|
657
657
|
# ── Replay ────────────────────────────────────────────────────────────────────
|
|
658
658
|
_head "Replay"
|
|
659
|
+
COMPOSE_FILE="${EPAM_COMPOSE_FILE:-$ROOT/docker-compose.observability.yml}"
|
|
659
660
|
case "$REPLAY_MODE" in
|
|
660
661
|
off)
|
|
661
662
|
# The cost is one-way and must be stated: nothing recorded now can be replayed later.
|
|
@@ -677,14 +678,15 @@ case "$REPLAY_MODE" in
|
|
|
677
678
|
# A value already exported still wins: an operator who exports the keys in their shell
|
|
678
679
|
# must not start failing because .env does not repeat them. Read in a subshell so the keys
|
|
679
680
|
# are not leaked into everything the installer runs afterwards.
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
681
|
+
# THE INSTALL'S OWN RECORDER DECLARES ITS KEYS. Environment, then .env, then the keys the
|
|
682
|
+
# observability compose file declares for the Langfuse this installer brings up — written
|
|
683
|
+
# into .env so every reader finds them. See lib/langfuse-keys.sh.
|
|
684
|
+
. "$INSTALLER_DIR/lib/langfuse-keys.sh"
|
|
685
|
+
_lf_resolved="$(langfuse_keys_for_install "$ROOT" "$COMPOSE_FILE")"
|
|
686
|
+
_lf_sk="$(printf '%s' "$_lf_resolved" | cut -f1)"
|
|
687
|
+
_lf_pk="$(printf '%s' "$_lf_resolved" | cut -f2)"
|
|
688
|
+
_lf_src="$(printf '%s' "$_lf_resolved" | cut -f3)"
|
|
689
|
+
[ "$_lf_src" = "compose" ] && _ok "Langfuse keys taken from this install's own observability stack and written to .env"
|
|
688
690
|
_lf_missing=""
|
|
689
691
|
[ -z "$_lf_sk" ] && _lf_missing="$_lf_missing LANGFUSE_SECRET_KEY"
|
|
690
692
|
[ -z "$_lf_pk" ] && _lf_missing="$_lf_missing LANGFUSE_PUBLIC_KEY"
|
|
@@ -729,7 +731,7 @@ runtime_up() {
|
|
|
729
731
|
# THE COMPOSE FILE IS NAMED. This ran `docker compose up -d` with no -f, and there is no
|
|
730
732
|
# docker-compose.yml at the repo root — only the named files below. It ended in `|| true`, so the
|
|
731
733
|
# failure was swallowed and the installer reported "docker is up" having started nothing.
|
|
732
|
-
COMPOSE_FILE
|
|
734
|
+
# COMPOSE_FILE is declared above the Replay section: the recorder's keys are read from it there.
|
|
733
735
|
# ISOLATED FROM EVERY OTHER INSTALL ON THIS MACHINE, DETERMINISTICALLY — never a human hand-picking
|
|
734
736
|
# a free subnet. The compose file's own default (EPAM_OBS_SUBNET:-172.31.0.0/16) is a FIXED
|
|
735
737
|
# constant: two installs, or this exact install colliding with an already-running dev checkout on
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amsd-pipeline",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.31",
|
|
4
4
|
"description": "Installer for the amsd-pipeline orchestration stack. Clones, packages and provisions the full stack with one command \u2014 no separate git clone step.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"amsd-pipeline": "bin/amsd-pipeline.js"
|