Skip to content

tools: add Toolforge deployment + frontend-build scripts#534

Open
lgelauff wants to merge 1 commit into
masterfrom
tools/build-frontend-script
Open

tools: add Toolforge deployment + frontend-build scripts#534
lgelauff wants to merge 1 commit into
masterfrom
tools/build-frontend-script

Conversation

@lgelauff

@lgelauff lgelauff commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator

Adds the Toolforge deployment + frontend-build script suite under tools/:

  • build_frontend.sh — reliable Toolforge frontend build (handles the esbuild linux binary inside a node20 job, avoiding pod OOM)
  • deploy.sh — routine update: pull → build frontend → restart → verify /meta
  • reinstall.sh / reinstall_venv.sh — venv / full reinstall helpers
  • steps/configure.py, configure.sh, pip_install.sh, restart_service.sh

Slimmed to contain only the tools/ scripts. The buildservice migration (Procfile/gunicorn/env-var config) and app changes that were previously on this branch are handled separately in #564.

@lgelauff lgelauff marked this pull request as ready for review April 27, 2026 18:31
lgelauff added a commit that referenced this pull request May 3, 2026
…step

Brings deployment.md up to date from tools/build-frontend-script (PR #534):
- Replace vague bullet instructions with actual commands
- Add config template with openssl cookie secret generation
- Fix venv creation (python3.13, --without-pip + curl bootstrap)
- Fix tools/create_schema.py path
- Fix log paths (no logs/ subdirectory)
- Add step 0 (optional clean slate) with backup of irreplaceable files
- Add venv rebuild procedure to debugging section
- Fix python3.11 → python3.13 throughout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Slimmed from the original branch to contain only the tools/ scripts
(build_frontend.sh, deploy.sh, reinstall*.sh, steps/*), dropping
unrelated buildservice/app changes. Independent of master.
@lgelauff lgelauff force-pushed the tools/build-frontend-script branch from 118fc3c to c59cb21 Compare June 1, 2026 10:51
@lgelauff lgelauff changed the title tools: add build_frontend.sh for reliable Toolforge frontend builds tools: add Toolforge deployment + frontend-build scripts Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant