Optimize CI Setup and Workflow#216
Conversation
- Consolidate Frappe and FlexiRule installation logic into `.github/helper/tests_setup.sh`. - Remove unnecessary app dependencies (ERPNext, Payments, Lending, HRMS) to improve CI performance. - Implement manual MariaDB setup and dynamic `site_config.json` generation for better reliability in headless environments. - Disable background workers in `Procfile` during test setup. - Update `ci.yml` to utilize the new optimized setup script.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Add `--db-root-password root` to `bench reinstall` to prevent interactive prompt in CI.
- Add `--admin-password admin` to `bench reinstall` to prevent interactive prompt in CI.
- Add retries for `git clone` of Frappe to handle network timeouts. - Remove redundant `redis-server` installation to avoid CI service conflicts.
This PR optimizes the GitHub Actions CI workflow by introducing a dedicated setup script and removing extraneous dependencies.
Key improvements:
bench get-appandbench setup requirements.bench new-sitein CI environments.wkhtmltopdfreduces the CI footprint.PR created automatically by Jules for task 8369750222823590959 started by @Sendipad