amsd-pipeline 2.0.77 → 2.0.79
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 +12 -2
- package/package.json +1 -1
package/install.sh
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
# in .env or the environment — recording without them is
|
|
10
10
|
# silent, and a run not recorded can never be replayed)
|
|
11
11
|
# ./install.sh --check verify an existing install, change nothing
|
|
12
|
+
# ./install.sh --workflows [file.tgz] also install the Claude workflows (amsd-pipeline-workflow) into claude-workflows/,
|
|
13
|
+
# the version orchestrations/config/claude-workflows.json pins, or a local package
|
|
12
14
|
# ./install.sh --dest ~/somewhere --ref v1.7 package that ref into a NEW tree, then install it
|
|
13
15
|
#
|
|
14
16
|
# --dest IS THE WHOLE POINT FOR ANYONE WHO IS NOT THIS CHECKOUT. Without it, install.sh only ever
|
|
@@ -55,7 +57,7 @@ CONTAINER_RUNTIME="${EPAM_CONTAINER_RUNTIME:-}"
|
|
|
55
57
|
# without it can never be replayed, because the turns were never captured. Off by default — 2.36GB
|
|
56
58
|
# of images is not a silent opt-in — but the consequence is one-way, so it is STATED either way.
|
|
57
59
|
REPLAY_MODE="${EPAM_REPLAY:-off}"
|
|
58
|
-
DEST=""; REF=""; REPO_URL=""; UNINSTALL=0
|
|
60
|
+
DEST=""; REF=""; REPO_URL=""; UNINSTALL=0; WORKFLOWS=""
|
|
59
61
|
while [ $# -gt 0 ]; do
|
|
60
62
|
case "$1" in
|
|
61
63
|
--dest) DEST="${2:-}"; shift 2 ;;
|
|
@@ -79,8 +81,10 @@ while [ $# -gt 0 ]; do
|
|
|
79
81
|
esac
|
|
80
82
|
shift 2 ;;
|
|
81
83
|
--check) CHECK_ONLY=1; shift ;;
|
|
84
|
+
--workflows)
|
|
85
|
+
if [ -n "${2:-}" ] && [ "${2#--}" = "${2}" ]; then WORKFLOWS="$2"; shift 2; else WORKFLOWS=pinned; shift; fi ;;
|
|
82
86
|
--uninstall) UNINSTALL=1; shift ;;
|
|
83
|
-
--help|-h) sed -n '2,
|
|
87
|
+
--help|-h) sed -n '2,17p' "$0" | sed 's/^# \{0,1\}//'; exit 0 ;;
|
|
84
88
|
*) _bad "unknown option '$1'"; exit 1 ;;
|
|
85
89
|
esac
|
|
86
90
|
done
|
|
@@ -682,6 +686,12 @@ else
|
|
|
682
686
|
fi
|
|
683
687
|
|
|
684
688
|
# ── Container runtime ─────────────────────────────────────────────────────────
|
|
689
|
+
if [ -n "$WORKFLOWS" ]; then
|
|
690
|
+
_head "Claude workflows"
|
|
691
|
+
. "$INSTALLER_DIR/lib/claude-workflows.sh"
|
|
692
|
+
install_claude_workflows "$ROOT" "$WORKFLOWS" "$CHECK_ONLY" || FAILED=1
|
|
693
|
+
fi
|
|
694
|
+
|
|
685
695
|
_head "Container runtime"
|
|
686
696
|
# ONE RESOLVER, ASKED — not a third copy of the rule. The installer, dashboard-health-check.sh and
|
|
687
697
|
# pre-run-reset.sh each had their own idea of which runtime to use, and only this one had ever
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amsd-pipeline",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.79",
|
|
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"
|