Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Prepare v6.3.0-rc.5 release

rcourtman4217f72bdc92
diff --git a/.github/workflows/qualify-release-containers.yml b/.github/workflows/qualify-release-containers.yml
index b927a79dc4..4108c7d266 100644
--- a/.github/workflows/qualify-release-containers.yml
+++ b/.github/workflows/qualify-release-containers.yml
@@ -129,8 +129,34 @@ jobs:
trap 'diagnose' ERR
- curl -fsSL -o "$RUNNER_TEMP/kind" https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
- chmod +x "$RUNNER_TEMP/kind"
+ prepare_cluster_tool() {
+ local name="$1"
+ local url="$2"
+ local expected_sha="$3"
+ local installed_path=""
+ installed_path="$(command -v "$name" 2>/dev/null || true)"
+
+ if [ -n "$installed_path" ] && printf '%s %s\n' "$expected_sha" "$installed_path" | sha256sum --check --status; then
+ ln -sf "$installed_path" "$RUNNER_TEMP/$name"
+ else
+ curl -fsSL -o "$RUNNER_TEMP/$name" "$url"
+ printf '%s %s\n' "$expected_sha" "$RUNNER_TEMP/$name" | sha256sum --check
+ chmod +x "$RUNNER_TEMP/$name"
+ fi
+ }
+
+ prepare_cluster_tool \
+ kind \
+ https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64 \
+ 513a7213d6d3332dd9ef27c24dab35e5ef10a04fa27274fe1c14d8a246493ded &
+ kind_setup_pid=$!
+ prepare_cluster_tool \
+ kubectl \
+ https://dl.k8s.io/release/v1.27.3/bin/linux/amd64/kubectl \
+ fba6c062e754a120bc8105cde1344de200452fe014a8759e06e4eec7ed258a09 &
+ kubectl_setup_pid=$!
+ wait "$kind_setup_pid"
+ wait "$kubectl_setup_pid"
export PATH="$RUNNER_TEMP:$PATH"
cleanup
diff --git a/VERSION b/VERSION
index 1f9f413fd2..92fb42ab4e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-6.3.0-rc.4
+6.3.0-rc.5
diff --git a/deploy/helm/pulse/Chart.yaml b/deploy/helm/pulse/Chart.yaml
index 55f2744193..66d839d932 100644
--- a/deploy/helm/pulse/Chart.yaml
+++ b/deploy/helm/pulse/Chart.yaml
@@ -2,9 +2,9 @@ apiVersion: v2
name: pulse
description: Helm chart for deploying the Pulse hub and optional Docker, Kubernetes, or OpenShift monitoring agent.
type: application
-version: 6.3.0-rc.4
-appVersion: "6.3.0-rc.4"
-icon: https://raw.githubusercontent.com/rcourtman/Pulse/v6.3.0-rc.4/docs/images/pulse-logo.svg
+version: 6.3.0-rc.5
+appVersion: "6.3.0-rc.5"
+icon: https://raw.githubusercontent.com/rcourtman/Pulse/v6.3.0-rc.5/docs/images/pulse-logo.svg
keywords:
- monitoring
- proxmox
@@ -32,7 +32,7 @@ annotations:
description: Smoke tests with kind cluster deployment
artifacthub.io/links: |
- name: Documentation
- url: https://github.com/rcourtman/Pulse/blob/v6.3.0-rc.4/docs/KUBERNETES.md
+ url: https://github.com/rcourtman/Pulse/blob/v6.3.0-rc.5/docs/KUBERNETES.md
- name: Support
url: https://github.com/rcourtman/Pulse/discussions
artifacthub.io/maintainers: |
diff --git a/deploy/helm/pulse/README.md b/deploy/helm/pulse/README.md
index b2480dd4fe..8848e155fe 100644
--- a/deploy/helm/pulse/README.md
+++ b/deploy/helm/pulse/README.md
@@ -1,6 +1,6 @@
# pulse
-![Version: 6.3.0-rc.4](https://img.shields.io/badge/Version-6.3.0--rc.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.3.0-rc.4](https://img.shields.io/badge/AppVersion-6.3.0--rc.4-informational?style=flat-square)
+![Version: 6.3.0-rc.5](https://img.shields.io/badge/Version-6.3.0--rc.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.3.0-rc.5](https://img.shields.io/badge/AppVersion-6.3.0--rc.5-informational?style=flat-square)
Helm chart for deploying the Pulse hub and optional Docker, Kubernetes, or OpenShift monitoring agent.
diff --git a/docker-compose.yml b/docker-compose.yml
index 057b45fa62..d9336e1b95 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,7 +2,7 @@ version: '3.8'
services:
pulse:
- image: ${PULSE_IMAGE:-rcourtman/pulse:6.3.0-rc.4}
+ image: ${PULSE_IMAGE:-rcourtman/pulse:6.3.0-rc.5}
container_name: pulse
restart: unless-stopped
logging:
diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md
index 44abc45977..368daeb7c8 100644
--- a/docs/RELEASE_NOTES.md
+++ b/docs/RELEASE_NOTES.md
@@ -8,8 +8,8 @@ For historical v4 notes that previously lived in this repo, see:
For the current v6 release candidate packet
(the current v6 support release candidate packet), see:
-- `docs/releases/RELEASE_NOTES_v6.3.0-rc.4.md`
-- `docs/releases/V6_CHANGELOG_v6.3.0-rc.4.md`
+- `docs/releases/RELEASE_NOTES_v6.3.0-rc.5.md`
+- `docs/releases/V6_CHANGELOG_v6.3.0-rc.5.md`
For the current stable v6 packet, see:
- `docs/releases/RELEASE_NOTES_v6.2.1.md`
diff --git a/docs/UPGRADE_v6.md b/docs/UPGRADE_v6.md
index ede5245581..1dc16f351a 100644
--- a/docs/UPGRADE_v6.md
+++ b/docs/UPGRADE_v6.md
@@ -4,8 +4,8 @@ This guide covers practical upgrade steps for existing Pulse installs moving to
For the current v6 release candidate packet, see:
-- `docs/releases/RELEASE_NOTES_v6.3.0-rc.4.md`
-- `docs/releases/V6_CHANGELOG_v6.3.0-rc.4.md`
+- `docs/releases/RELEASE_NOTES_v6.3.0-rc.5.md`
+- `docs/releases/V6_CHANGELOG_v6.3.0-rc.5.md`
For the current stable v6 packet, see:
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 5c19c03001..39a9d90ddf 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -1565,10 +1565,10 @@ diagnostics. The same release workflow also executes the generated self-signed
and custom-CA Windows installer commands through Windows PowerShell 5.1 before
release assembly, so the first HTTPS fetch is release proof rather than a
string-shape assertion.
-The active prerelease `v6.3.0-rc.4` cut sets the repo-root `VERSION`,
+The active prerelease `v6.3.0-rc.5` cut sets the repo-root `VERSION`,
repo-root `docker-compose.yml` image default, `scripts/install-docker.sh`
-fallback, and Helm chart release metadata to the same `6.3.0-rc.4` release
-version. It follows `v6.3.0-rc.3` on the published 6.3 candidate line, uses
+fallback, and Helm chart release metadata to the same `6.3.0-rc.5` release
+version. It follows `v6.3.0-rc.4` on the published 6.3 candidate line, uses
`rollback_version=v6.2.1`, and keeps stable/latest pointers on `v6.2.1`. This
candidate establishes the new minor-release packet with durable scoped Patrol
objectives, validated read-only observers, verified work receipts, agent action
@@ -1581,10 +1581,19 @@ output pipes cannot extend the caller-owned stall budget. This candidate also
adds canonical estate summaries and search, a real-delivery activity log,
least-privilege agent installation, and bounded Docker-in-LXC discovery while
preserving unreadable settings and AI state. The changes since
-`v6.3.0-rc.3` do not require a Pulse Mobile client change and preserve the
+`v6.3.0-rc.4` do not require a Pulse Mobile client change and preserve the
existing mobile, Relay, onboarding, and mobile-facing API contracts, so the
server cut is classified `no-mobile-impact`; no companion upload or public
mobile-store rollout is part of this candidate.
+For `v6.3.0-rc.5`, credential-free public and private payload compilation runs
+on dedicated PVE workers with persistent caches. Platform archive validation,
+exact-candidate container and Helm smoke, backend shards, frontend checks,
+mobile qualification, and paid-runtime checks overlap where their credential
+and mutation boundaries permit it. Publication consumes the immutable payloads
+and manifests from that exact source run; it must not rebuild release binaries
+after qualification. Post-publication Helm and paid-runtime convergence likewise
+consume source-run artifacts and retain exact-SHA, installer, signature,
+public/private artifact, and definitive convergence proof.
The publish body keeps its `Highlights` section within the governed three-item
limit while preserving the packet's operator-facing summary of read-only
observer coverage, estate-first platform search and facets, and real delivery-
@@ -1873,8 +1882,8 @@ For the active stable `v6.1.2` cut, the repo-root compose default and
`scripts/install-docker.sh` fallback must both pin `6.1.2` whenever the
governed `VERSION` is that stable cut. The stable promotion guard remains in
force and rejects leftover `-rc.` defaults.
-For the active prerelease `v6.3.0-rc.4` cut, the repo-root compose default and
-`scripts/install-docker.sh` fallback must both pin `6.3.0-rc.4`
+For the active prerelease `v6.3.0-rc.5` cut, the repo-root compose default and
+`scripts/install-docker.sh` fallback must both pin `6.3.0-rc.5`
until the next governed stable cut moves them forward. Each new release moves
these two pins together with the repo-root `VERSION` and the Helm chart metadata
in the same commit; a cut that leaves any of the four on a superseded value is a
diff --git a/docs/releases/RELEASE_NOTES_v6.3.0-rc.5.md b/docs/releases/RELEASE_NOTES_v6.3.0-rc.5.md
new file mode 100644
index 0000000000..366e9af371
--- /dev/null
+++ b/docs/releases/RELEASE_NOTES_v6.3.0-rc.5.md
@@ -0,0 +1,100 @@
+# Pulse v6.3.0-rc.5 Release Notes
+
+`v6.3.0-rc.5` is a release candidate for the next Pulse v6 minor release. It
+follows `v6.3.0-rc.4` and stable `v6.2.1`, while keeping stable and latest
+users on that stable release.
+
+This candidate carries the complete 6.3 product packet from `rc.4`. Its new
+work is focused on release integrity and turnaround: release payloads are
+compiled and qualified on the dedicated PVE worker, independent checks run in
+parallel, and every public and paid-runtime artifact remains bound to the exact
+source commit that passed qualification.
+
+## Highlights
+
+- Release payload compilation now uses the dedicated Ryzen PVE worker and its
+ persistent caches instead of leaving that hardware idle.
+- Archive, backend, container, Helm, installer, and paid-runtime checks overlap
+ where their trust boundaries permit it.
+- Container publication promotes the already-qualified exact-candidate payload
+ rather than rebuilding release binaries after qualification.
+
+## Improved
+
+- Patrol now works from durable outcomes, scoped investigations, and verified
+ work receipts instead of treating the chat stream as operational state.
+- Read-only observers extend Patrol coverage between full model investigations
+ without granting mutation authority.
+- Actions and Patrol identify whether a decision originated from a finding,
+ alert, objective, or explicit operator request, making review context clearer.
+- Action refusal telemetry now classifies target changes, prerequisites,
+ contract failures, capability limits, policy decisions, and stale plans.
+- Subscription-backed turns now complete their idle timeout promptly even when
+ a canceled CLI descendant still holds an inherited output pipe open.
+- Platform pages now lead with estate totals, status facets, and search that
+ share the same predicates as their underlying tables.
+- Notification settings show the outcome of real delivery attempts instead of
+ relying on test sends as a proxy for live delivery health.
+- Docker-in-LXC discovery is explicitly controlled and backs off against slow
+ or failing Proxmox hosts instead of creating a probe storm.
+- Unified Agent installs can opt into a supported least-privilege profile with
+ narrowly scoped elevation for the capabilities that require it.
+- Platform release archives are validated concurrently, while each archive is
+ decompressed only once for its required-entry checks.
+- Public and private release payloads are staged during qualification so later
+ publication jobs consume immutable evidence instead of repeating builds.
+- Helm convergence verifies and publishes the chart artifact already produced
+ by the source release run, avoiding duplicate packaging and cluster smoke.
+- Paid-runtime convergence separates independent public/download-page checks
+ from the lease-bound customer-path proof so both can run at the same time.
+- Activation and child-workflow polling use short bounded intervals, reducing
+ avoidable idle time without weakening their timeouts or failure reporting.
+- The API runtime now has explicit alerting, configuration, agent-token,
+ agent-binding, request-context, and HTTP-scope package boundaries. Existing
+ routes and extension contracts remain compatible while the test graph gains
+ useful package-level parallelism.
+
+## Fixed
+
+- Architecture-specific server signatures are validated against the matching
+ platform binary rather than incorrectly requiring every platform signature
+ to be identical.
+- Windows compatibility aliases in the container payload are validated as
+ exact symlinks and then recreated by the image build, keeping the immutable
+ manifest limited to regular files.
+- Candidate qualification now runs even when intentionally disabled native
+ signing jobs are skipped, while still failing closed on a required signing
+ failure.
+
+## Security
+
+- PVE compilation remains credential-free. GitHub-hosted jobs retain signing,
+ release mutation, and publication credentials.
+- Container images, Helm charts, public archives, private archives, checksums,
+ signatures, and convergence proof remain tied to the release commit and the
+ source workflow run.
+- The API decomposition preserves tenant scope, install-token binding, command
+ channel binding, and notification delivery boundaries with focused contract
+ tests at the new package seams.
+
+## Upgrade Notes
+
+Use the normal v6 install or update flow for `v6.3.0-rc.5` only when you are
+comfortable testing a release candidate. The rollback target is `v6.2.1`:
+
+```bash
+./scripts/install.sh --version v6.2.1
+```
+
+The changes since `v6.3.0-rc.4` do not require a Pulse Mobile client change and
+preserve the existing mobile, Relay, onboarding, and mobile-facing API
+contracts, so no companion mobile build is required.
+
+macOS artifacts follow the normal signing and notarization path. Windows
+Unified Agent binaries in this prerelease retain exact-SHA, checksum, and
+detached-signature verification but are not Authenticode-signed, so Windows may
+display an Unknown Publisher warning. Stable `v6.3.0` still requires the normal
+SignPath Authenticode lane.
+
+Paid Pulse Pro, Relay, and eligible legacy customers should continue to use the
+private download page and private runtime image for paid runtime features.
diff --git a/docs/releases/V6_CHANGELOG_v6.3.0-rc.5.md b/docs/releases/V6_CHANGELOG_v6.3.0-rc.5.md
new file mode 100644
index 0000000000..ac88196b08
--- /dev/null
+++ b/docs/releases/V6_CHANGELOG_v6.3.0-rc.5.md
@@ -0,0 +1,68 @@
+# Pulse v6.3.0-rc.5
+
+_This changelog describes the changes since `v6.3.0-rc.4`. The candidate carries
+forward the complete 6.3 product packet and rolls back to stable `v6.2.1`._
+
+## Changed
+
+- Durable, scoped Patrol objectives and validated read-only observer missions
+ remain part of the cumulative 6.3 candidate.
+- A primary Actions workspace for approvals, governed plans, and action records
+ remains part of the cumulative 6.3 candidate.
+- Typed Unified Agent action preflight for supported host and Docker operations
+ remains part of the cumulative 6.3 candidate.
+- Stable pre-mutation refusal codes and fleet telemetry buckets continue to
+ classify target changes, prerequisites, capability limits, and stale plans.
+- Estate summaries, status facets, and canonical search on the primary
+ infrastructure platform pages remain part of the cumulative candidate.
+- A seven-day delivery log for real alert notification attempts remains part of
+ the cumulative candidate.
+- A supported least-privilege Unified Agent installation profile remains part
+ of the cumulative candidate.
+- Dedicated PVE runners compile the credential-free public and paid release
+ payloads with persistent caches.
+- Release qualification overlaps independent archive, backend, frontend,
+ mobile, container, Helm, and paid-runtime checks.
+- Exact-candidate container payloads are promoted directly into public and
+ private images without recompiling binaries after qualification.
+- Helm and paid-runtime convergence consume immutable artifacts from the source
+ release run and parallelize independent verification.
+- API alert delivery, configuration, enrollment-token, command-binding,
+ request-context, and HTTP-scope logic now live behind explicit production
+ package boundaries while compatibility adapters preserve existing routes.
+
+## Fixed
+
+- Release archive validation scans platform archives concurrently and avoids
+ repeated decompression of the same archive.
+- Candidate qualification is no longer suppressed by intentionally skipped
+ signing jobs.
+- Architecture-bound server signatures and Windows container symlink aliases
+ are validated according to their actual release contract.
+- Release activation and private child-workflow polling no longer add long
+ fixed delays after evidence becomes available.
+
+## Security
+
+- PVE workers receive no release mutation or signing credentials.
+- Publication still requires exact-source identity, immutable manifests,
+ signatures, public/private artifact integrity, installer smoke, and final
+ convergence verification.
+- Tenant scope and agent install/command binding remain covered at the new API
+ package boundaries.
+
+## Release Metadata
+
+- Version: `v6.3.0-rc.5`
+- Previous release: `v6.3.0-rc.4`
+- Previous stable: `v6.2.1`
+- Rollback target: `v6.2.1`
+- Rollback command: `./scripts/install.sh --version v6.2.1`
+- Promotion path: exact-SHA single-build release candidate from `main`,
+ published as a prerelease without moving stable or latest pointers
+- Windows signing decision: the standing prerelease path publishes exact-SHA,
+ checksum, and detached-signature verified Windows agents without
+ Authenticode; stable `v6.3.0` restores mandatory SignPath signing
+- Mobile decision: `no-mobile-impact`; changes since `v6.3.0-rc.4` preserve the
+ existing mobile, Relay, onboarding, and mobile-facing API contracts, and no
+ companion upload or public store rollout is required
diff --git a/frontend-modern/public/docs/UPGRADE_v6.md b/frontend-modern/public/docs/UPGRADE_v6.md
index ede5245581..1dc16f351a 100644
--- a/frontend-modern/public/docs/UPGRADE_v6.md
+++ b/frontend-modern/public/docs/UPGRADE_v6.md
@@ -4,8 +4,8 @@ This guide covers practical upgrade steps for existing Pulse installs moving to
For the current v6 release candidate packet, see:
-- `docs/releases/RELEASE_NOTES_v6.3.0-rc.4.md`
-- `docs/releases/V6_CHANGELOG_v6.3.0-rc.4.md`
+- `docs/releases/RELEASE_NOTES_v6.3.0-rc.5.md`
+- `docs/releases/V6_CHANGELOG_v6.3.0-rc.5.md`
For the current stable v6 packet, see:
diff --git a/scripts/install-docker.sh b/scripts/install-docker.sh
index 00b41a9f65..df2cc8ff52 100755
--- a/scripts/install-docker.sh
+++ b/scripts/install-docker.sh
@@ -6,7 +6,7 @@ set -euo pipefail
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
DOCKER_IMAGE_REPO="${DOCKER_IMAGE_REPO:-rcourtman/pulse}"
-CANONICAL_DEFAULT_PULSE_VERSION="6.3.0-rc.4"
+CANONICAL_DEFAULT_PULSE_VERSION="6.3.0-rc.5"
resolve_default_pulse_version() {
if [ -n "${PULSE_IMAGE_VERSION:-}" ]; then
diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go
index 7f6074cad1..4e0635cc39 100644
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@ -876,6 +876,18 @@ func TestCurrentPrereleasePacketTracksInstallMetadata(t *testing.T) {
"changes since `v"+comparisonVersion+"` preserve the existing mobile, Relay, onboarding, and mobile-facing API contracts",
"no companion upload or public store rollout is required",
)
+ if version == "6.3.0-rc.5" {
+ assertFileContainsAllNormalized(t, releaseNotesPath,
+ "Release payload compilation now uses the dedicated Ryzen PVE worker and its persistent caches instead of leaving that hardware idle.",
+ "Container publication promotes the already-qualified exact-candidate payload rather than rebuilding release binaries after qualification.",
+ "PVE compilation remains credential-free. GitHub-hosted jobs retain signing, release mutation, and publication credentials.",
+ )
+ assertFileContainsAllNormalized(t, changelogPath,
+ "Dedicated PVE runners compile the credential-free public and paid release payloads with persistent caches.",
+ "Exact-candidate container payloads are promoted directly into public and private images without recompiling binaries after qualification.",
+ "Publication still requires exact-source identity, immutable manifests, signatures, public/private artifact integrity, installer smoke, and final convergence verification.",
+ )
+ }
assertFileContainsAll(t, repoFile("docs", "RELEASE_NOTES.md"),
"docs/releases/RELEASE_NOTES_v"+version+".md",
"docs/releases/V6_CHANGELOG_v"+version+".md",
@@ -1326,6 +1338,13 @@ func TestReleaseWorkflowsUseSecretSafeAttestedImageBuilds(t *testing.T) {
createRelease := string(createReleaseBytes) + "\n" + string(candidateWorkflowBytes) + "\n" + string(qualifierWorkflowBytes)
createReleaseRequired := []string{
`Exact-Candidate Container and Helm Smoke`,
+ `prepare_cluster_tool`,
+ `https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64`,
+ `513a7213d6d3332dd9ef27c24dab35e5ef10a04fa27274fe1c14d8a246493ded`,
+ `https://dl.k8s.io/release/v1.27.3/bin/linux/amd64/kubectl`,
+ `fba6c062e754a120bc8105cde1344de200452fe014a8759e06e4eec7ed258a09`,
+ `wait "$kind_setup_pid"`,
+ `wait "$kubectl_setup_pid"`,
`./scripts/prepare-release-container-context.sh`,
`container_artifact_name`,
`container_artifact: ${{ needs.build_release_candidate.outputs.container_artifact_name }}`,
diff --git a/scripts/installtests/install_docker_sh_test.go b/scripts/installtests/install_docker_sh_test.go
index 0f741c2be9..03ac457273 100644
--- a/scripts/installtests/install_docker_sh_test.go
+++ b/scripts/installtests/install_docker_sh_test.go
@@ -364,6 +364,13 @@ func TestInstallDockerProofTracksPrereleaseContract(t *testing.T) {
"The prerelease Windows path retains exact-SHA, checksum, and detached-signature verification without Authenticode; stable `v"+stableTarget+"` restores mandatory SignPath signing unless a new version-bound decision is recorded.",
"For the active prerelease `v"+version+"` cut, the repo-root compose default and `scripts/install-docker.sh` fallback must both pin `"+version+"` until the next governed stable cut moves them forward.",
)
+ if version == "6.3.0-rc.5" {
+ assertFileContainsAllNormalized(t, repoFile("docs", "release-control", "v6", "internal", "subsystems", "deployment-installability.md"),
+ "For `v6.3.0-rc.5`, credential-free public and private payload compilation runs on dedicated PVE workers with persistent caches.",
+ "Publication consumes the immutable payloads and manifests from that exact source run; it must not rebuild release binaries after qualification.",
+ "Post-publication Helm and paid-runtime convergence likewise consume source-run artifacts and retain exact-SHA, installer, signature, public/private artifact, and definitive convergence proof.",
+ )
+ }
}
func runInstallDockerScript(t *testing.T, workDir string, envVars ...string) {