Skip to content

Latest commit

 

History

History
118 lines (88 loc) · 7.11 KB

File metadata and controls

118 lines (88 loc) · 7.11 KB

Shell scripts index (scripts/)

Authoritative map of bash entrypoints in the repo root scripts/ directory.
Shared helpers live in scripts/common.sh (sourced by many scripts).

Obsolete scripts are not deleted outright: when retired, they are moved under scripts/archive/ with an entry in that folder’s README (same hygiene as docs/archive/).


Regression and testing (start here)

Script Purpose
run-regression.sh Main regression driver — pytest, vitest, Playwright, cluster/Newman, optional DAG verify & Results DB. See REGRESSION.md.
run-regression-agent.sh Streamed output for agents (Cursor); wraps tiers for iterative fix loops. AGENT-REGRESSION.md
run-regression-agent-full.sh Full agent-oriented run (heavier than default agent script).
run-regression-stream.sh Regression with streaming log-friendly behavior.
bootstrap-regression-venv.sh Create/refresh Python venv for orchestrator/shared-package tests.
run-orchestrator-tests.sh Pytest for orchestrator (+ optional integration / PipelineRun checks).
run-full-test-and-verify-results.sh Longer path including Results verification (used by regression flags).
verify-results-in-db.sh Assert Tekton Results / DB expectations after runs.
verify-dag-phase1.sh Local DAG structure checks (Phase 1).
verify-dag-phase2.sh Cluster: stack-dag-verify PipelineRun + CLI match (Phase 2).
verify-m4-stacks-and-labels.sh M4-era stack/label checks (still useful for multi-namespace stacks).
run-artillery-variants.sh Load / Artillery variant runs (optional performance testing).

Kind cluster, Tekton, data plane

Script Purpose
kind-with-registry.sh Create Kind cluster with local registry (quick start).
install-kind-default-storage.sh Default StorageClass for Kind.
install-tekton.sh Install Tekton Pipelines (and related baseline).
install-tekton-dashboard.sh Install Tekton Dashboard.
uninstall-tekton-dashboard.sh Remove Tekton Dashboard.
port-forward-tekton-dashboard.sh kubectl port-forward to dashboard.
install-tekton-results.sh Tekton Results components.
install-postgres-kind.sh Postgres in Kind (Results / app DB).
install-neo4j-kind.sh Neo4j in Kind for graph features.
bootstrap-namespace.sh Bootstrap namespace resources for a stack.

Images, pipelines, sample data

Script Purpose
publish-build-images.sh Build/push compile images (polyglot builders).
publish-orchestrator-image.sh Build/push orchestrator image.
generate-run.sh Emit/apply PipelineRuns: bootstrap, pr, merge, etc.
promote-pipelines.sh Promote pipeline definitions across environments/namespaces.
create-and-push-sample-repos.sh Sample app repos for demos/regression.
ensure-git-ssh-secret.sh Git SSH secret for cluster git operations.

PR flow, webhooks, E2E

Script Purpose
run-valid-pr-flow.sh Scripted valid PR path against cluster.
create-test-pr.sh Create a test PR (automation helper).
merge-pr.sh Merge helper for test PRs.
rerun-pr-from.sh Re-trigger PR pipeline from a ref.
configure-github-webhooks.sh Wire GitHub webhooks to EventListener.
run-e2e-with-intercepts.sh End-to-end with telepresence or mirrord intercept backend.
run-all-setup-and-test.sh Broad setup + test orchestration (legacy-style “do a lot”).

Intercept tooling (Telepresence, mirrord)

Script Purpose
install-telepresence-traffic-manager.sh Install Telepresence traffic manager in cluster.
install-mirrord.sh Install mirrord CLI / related setup.
run-mirrord-poc.sh Early mirrord PoC scenarios.
run-mirrord-m6-scenarios.sh M6 mirrord test scenario driver.

Dashboards, tunnels, utilities

Script Purpose
cloudflare-add-tunnel-cname.sh Cloudflare DNS for tunnel (EventListener exposure). See CLOUDFLARE-TUNNEL-EVENTLISTENER.md.
stack-graph.sh Stack / graph helper (CLI glue for Neo4j or exports).
install-php-local.sh Local PHP toolchain helper for sample apps.

One-off / migration

Script Purpose
extract-standalone-repo.sh Historical: copy milestone into a standalone repo layout (see README-FULL.md). Rarely needed now that tekton-dag is the main repo.

Demo toolchain (not under scripts/)

Location Purpose
docs/demos/generate-all.sh Regenerate Manim, VHS, TTS, and composed MP4s (M8 + M12.2 segments).
docs/demos/compose.sh FFmpeg: merge visuals + narration per segment.

See milestones/milestone-8.md and milestones/milestone-12.2.md.


Related documentation