diff --git a/scripts/check-changelog.mjs b/scripts/check-changelog.mjs index c92f10f69b..2bb504fb37 100644 --- a/scripts/check-changelog.mjs +++ b/scripts/check-changelog.mjs @@ -13,7 +13,7 @@ if (invalidArgs.length > 0) { process.exit(1); } -const tempDir = mkdtempSync(join(tmpdir(), "gittensory-changelog-")); +const tempDir = mkdtempSync(join(tmpdir(), "loopover-changelog-")); try { const checks = [ diff --git a/scripts/deploy-selfhost-prebuilt.sh b/scripts/deploy-selfhost-prebuilt.sh index 92c42c1e2a..7dab684d26 100755 --- a/scripts/deploy-selfhost-prebuilt.sh +++ b/scripts/deploy-selfhost-prebuilt.sh @@ -7,7 +7,7 @@ # ./scripts/deploy-selfhost-prebuilt.sh # # Optional knobs: -# SENTRY_RELEASE=gittensory-selfhost@edge-abc123 ./scripts/deploy-selfhost-prebuilt.sh +# SENTRY_RELEASE=loopover-selfhost@edge-abc123 ./scripts/deploy-selfhost-prebuilt.sh # SELFHOST_COMPOSE_FILES="docker-compose.yml docker-compose.override.yml" ./scripts/deploy-selfhost-prebuilt.sh # SELFHOST_SKIP_SENTRY_UPLOAD=1 ./scripts/deploy-selfhost-prebuilt.sh # SELFHOST_USE_INFISICAL=1 ./scripts/deploy-selfhost-prebuilt.sh # opt-in Infisical secrets (#5120), see docs @@ -74,7 +74,7 @@ run_sentry_upload() { -v "$PWD:/work" \ -w /work \ "$NODE_IMAGE" \ - sh -lc 'apt-get update >/dev/null && apt-get install -y --no-install-recommends ca-certificates git >/dev/null && git config --global --add safe.directory /work && (npx -y "$SENTRY_CLI_PACKAGE" releases new "$SENTRY_RELEASE" >/tmp/gittensory-sentry-release-new.log 2>&1 || true) && npx -y "$SENTRY_CLI_PACKAGE" releases set-commits "$SENTRY_RELEASE" --auto && npx -y "$SENTRY_CLI_PACKAGE" sourcemaps inject dist && node scripts/validate-selfhost-sourcemap.mjs && npx -y "$SENTRY_CLI_PACKAGE" sourcemaps upload --release="$SENTRY_RELEASE" dist && npx -y "$SENTRY_CLI_PACKAGE" releases finalize "$SENTRY_RELEASE" && chown -R "$HOST_UID:$HOST_GID" dist node_modules package-lock.json' + sh -lc 'apt-get update >/dev/null && apt-get install -y --no-install-recommends ca-certificates git >/dev/null && git config --global --add safe.directory /work && (npx -y "$SENTRY_CLI_PACKAGE" releases new "$SENTRY_RELEASE" >/tmp/loopover-sentry-release-new.log 2>&1 || true) && npx -y "$SENTRY_CLI_PACKAGE" releases set-commits "$SENTRY_RELEASE" --auto && npx -y "$SENTRY_CLI_PACKAGE" sourcemaps inject dist && node scripts/validate-selfhost-sourcemap.mjs && npx -y "$SENTRY_CLI_PACKAGE" sourcemaps upload --release="$SENTRY_RELEASE" dist && npx -y "$SENTRY_CLI_PACKAGE" releases finalize "$SENTRY_RELEASE" && chown -R "$HOST_UID:$HOST_GID" dist node_modules package-lock.json' } run_init_secrets() { @@ -125,7 +125,7 @@ fi # Default to the current checkout on every deploy. Do not reuse a persisted .env value here: # that value is written by the previous deploy and would make future updates report stale # release/version metadata unless the operator remembered to override it manually. -SENTRY_RELEASE="${SENTRY_RELEASE:-gittensory-selfhost@$(git rev-parse --short=8 HEAD)}" +SENTRY_RELEASE="${SENTRY_RELEASE:-loopover-selfhost@$(git rev-parse --short=8 HEAD)}" export SENTRY_RELEASE env_put SENTRY_RELEASE "$SENTRY_RELEASE" diff --git a/scripts/export-ams-reporting-db.sh b/scripts/export-ams-reporting-db.sh index 765fc91306..44037d8da3 100644 --- a/scripts/export-ams-reporting-db.sh +++ b/scripts/export-ams-reporting-db.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eu -# AMS (gittensory-miner) redacted reporting export (#5184 follow-up; closes the gap PR #5471 flagged: Grafana must +# AMS (loopover-miner) redacted reporting export (#5184 follow-up; closes the gap PR #5471 flagged: Grafana must # never mount the miner's live LOOPOVER_MINER_CONFIG_DIR ledgers directly -- attempt_log_events.reason and # .payload_json are free-form and can carry arbitrary internal detail). Mirrors export-grafana-reporting-db.sh's # shape (incremental fingerprint fast-path, atomic tmp-then-move, fail-open on a missing/unreadable source) but is diff --git a/scripts/export-miner-prometheus-textfile.sh b/scripts/export-miner-prometheus-textfile.sh index e42c8434d1..393a9f0dce 100644 --- a/scripts/export-miner-prometheus-textfile.sh +++ b/scripts/export-miner-prometheus-textfile.sh @@ -20,7 +20,7 @@ set -eu # export is strictly better than a stale-forever or entirely-missing one. MINER_BIN="${LOOPOVER_MINER_BIN:-loopover-miner}" -OUT_FILE="${LOOPOVER_MINER_PROMETHEUS_TEXTFILE:-/var/lib/node_exporter/textfile_collector/gittensory_miner.prom}" +OUT_FILE="${LOOPOVER_MINER_PROMETHEUS_TEXTFILE:-/var/lib/node_exporter/textfile_collector/loopover_miner.prom}" TMP_FILE="${OUT_FILE}.tmp" mkdir -p "$(dirname "$OUT_FILE")"