Skip to content

Commit 6cf9978

Browse files
committed
Delegate TSDB provisioning to the test harness
1 parent 039848d commit 6cf9978

4 files changed

Lines changed: 0 additions & 56 deletions

File tree

.github/workflows/e2e-burnin.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ on:
3939
description: 'relay-harness ref to run (e.g. origin/main, a branch, or a SHA)'
4040
required: false
4141
default: 'origin/main'
42-
tsdb_tag:
43-
description: 'obsidian-tsdb release tag to install in slots'
44-
required: false
45-
default: '1.0.12'
4642

4743
env:
4844
GCP_PROJECT: tactile-timer-426817-t6
@@ -454,19 +450,6 @@ jobs:
454450
echo "Relay harness checkout:"
455451
git show -s --format=' commit: %H%n subject: %s'
456452
457-
# Pull the prebuilt TSDB metrics plugin from its GitHub release
458-
# (pinned tag) instead of cloning and building it from source.
459-
echo ">>> tsdb: reached download step (relay-harness ok)"
460-
mkdir -p ~/system3/obsidian-metrics/dist/tsdb
461-
TSDB_TAG='${{ inputs.tsdb_tag || '1.0.12' }}'
462-
for f in main.js manifest.json styles.css; do
463-
url="https://github.com/dtkav/obsidian-tsdb/releases/download/${TSDB_TAG}/$f"
464-
echo ">>> fetching tsdb $f"
465-
wget -q -O ~/system3/obsidian-metrics/dist/tsdb/"$f" "$url" \
466-
|| { echo ">>> WGET FAILED for $f (exit $?)"; exit 1; }
467-
done
468-
echo ">>> tsdb download done"
469-
470453
# Install uv (no apt/sudo) and the test-harness Python deps into a
471454
# venv, then export the interpreter so run-test-plan-suite.sh runs
472455
# against that Python.
@@ -491,7 +474,6 @@ jobs:
491474
echo ">>> playwright ok"
492475
493476
export RELAY_PLUGIN_DIR=~/relay-plugin
494-
export RELAY_OBSIDIAN_METRICS_PLUGIN_DIR="$HOME/system3/obsidian-metrics/dist/tsdb"
495477
if [ -n "$PROFILE_FLAGS" ]; then
496478
export RELAY_PROFILE_FLAG_OVERRIDES="$PROFILE_FLAGS"
497479
echo ">>> profile flag overrides: $RELAY_PROFILE_FLAG_OVERRIDES"

.github/workflows/e2e-multinode.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ on:
3030
description: 'Comma-separated slot platforms (e.g. linux,linux or windows,windows)'
3131
required: false
3232
default: 'linux,linux'
33-
tsdb_tag:
34-
description: 'obsidian-tsdb release tag to install in slots'
35-
required: false
36-
default: '1.0.12'
3733

3834
env:
3935
GCP_PROJECT: tactile-timer-426817-t6
@@ -324,7 +320,6 @@ jobs:
324320
git checkout --detach "origin/${HARNESS_REF#origin/}" 2>/dev/null \
325321
|| git checkout --detach "$HARNESS_REF"
326322
327-
export TSDB_TAG='${{ github.event.inputs.tsdb_tag }}'
328323
bash scripts/mn-lane-node.sh "$REF" "$PLANS" "$LANE_SLUG" "$SLOTS"
329324
REMOTE_SCRIPT
330325
@@ -469,7 +464,6 @@ jobs:
469464
REF="${INPUT_REF#origin/}"
470465
LANE_SLUG="mn-w-r${{ github.run_number }}"
471466
cat > /tmp/win-run.ps1 <<EOF
472-
\$env:TSDB_TAG = '${{ github.event.inputs.tsdb_tag }}'
473467
powershell -NoProfile -File C:\relay-harness\scripts\mn-lane-node.ps1 -ProductRef '$REF' -Plans '${{ github.event.inputs.plans }}' -LaneSlug '$LANE_SLUG'
474468
exit \$LASTEXITCODE
475469
EOF

.github/workflows/e2e-parallel-lane.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ on:
2626
description: 'Optional profile flag overrides (e.g. enableFolderHSM=true)'
2727
required: false
2828
default: ''
29-
tsdb_tag:
30-
description: 'obsidian-tsdb release tag to install in slots'
31-
required: false
32-
default: '1.0.12'
3329

3430
env:
3531
GCP_PROJECT: tactile-timer-426817-t6
@@ -362,19 +358,6 @@ jobs:
362358
echo "Relay harness checkout:"
363359
git show -s --format=' commit: %H%n subject: %s'
364360
365-
# Pull the prebuilt TSDB metrics plugin from its GitHub release
366-
# (pinned tag) instead of cloning and building it from source.
367-
echo ">>> tsdb: reached download step (relay-harness ok)"
368-
mkdir -p ~/system3/obsidian-metrics/dist/tsdb
369-
TSDB_TAG='${{ github.event.inputs.tsdb_tag || '1.0.12' }}'
370-
for f in main.js manifest.json styles.css; do
371-
url="https://github.com/dtkav/obsidian-tsdb/releases/download/${TSDB_TAG}/$f"
372-
echo ">>> fetching tsdb $f"
373-
wget -q -O ~/system3/obsidian-metrics/dist/tsdb/"$f" "$url" \
374-
|| { echo ">>> WGET FAILED for $f (exit $?)"; exit 1; }
375-
done
376-
echo ">>> tsdb download done"
377-
378361
# Install uv (no apt/sudo) and the test-harness Python deps into a
379362
# venv, then export the interpreter so run-test-plan-suite.sh runs
380363
# against that Python.
@@ -399,7 +382,6 @@ jobs:
399382
echo ">>> playwright ok"
400383
401384
export RELAY_PLUGIN_DIR=~/relay-plugin
402-
export RELAY_OBSIDIAN_METRICS_PLUGIN_DIR="$HOME/system3/obsidian-metrics/dist/tsdb"
403385
if [ -n "$PROFILE_FLAGS" ]; then
404386
export RELAY_PROFILE_FLAG_OVERRIDES="$PROFILE_FLAGS"
405387
echo ">>> profile flag overrides: $RELAY_PROFILE_FLAG_OVERRIDES"

.github/workflows/e2e-test-plans.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -327,19 +327,6 @@ jobs:
327327
echo "Relay harness checkout:"
328328
git show -s --format=' commit: %H%n subject: %s'
329329
330-
# Pull the prebuilt TSDB metrics plugin from its GitHub release
331-
# (pinned tag) instead of cloning and building it from source.
332-
echo ">>> tsdb: reached download step (relay-harness ok)"
333-
mkdir -p ~/system3/obsidian-metrics/dist/tsdb
334-
TSDB_TAG=1.0.12
335-
for f in main.js manifest.json styles.css; do
336-
url="https://github.com/dtkav/obsidian-tsdb/releases/download/${TSDB_TAG}/$f"
337-
echo ">>> fetching tsdb $f"
338-
wget -q -O ~/system3/obsidian-metrics/dist/tsdb/"$f" "$url" \
339-
|| { echo ">>> WGET FAILED for $f (exit $?)"; exit 1; }
340-
done
341-
echo ">>> tsdb download done"
342-
343330
# Install uv (no apt/sudo) and the test-harness Python deps into a
344331
# venv, then export the interpreter so run-test-plan-suite.sh runs
345332
# against that Python.
@@ -364,7 +351,6 @@ jobs:
364351
echo ">>> playwright ok"
365352
366353
export RELAY_PLUGIN_DIR=~/relay-plugin
367-
export RELAY_OBSIDIAN_METRICS_PLUGIN_DIR="$HOME/system3/obsidian-metrics/dist/tsdb"
368354
cd ~/relay-harness
369355
370356
TEST_EXIT=0

0 commit comments

Comments
 (0)