Skip to content

Ship built assets for all apps #2791

@ankush

Description

@ankush

Context: https://github.com/frappe/frappe/blob/develop/.github/workflows/publish-assets-develop.yml

Right now, frappe ui apps are taking way too much time to build and because there are several of them, a bench containing 5 of them will spend ~8min just building assets. This is quite slow for first release.

We have asset caching per commit but that requires at least one more run.

Ideally:

  • Ship built assets somewhere maybe a special FC service.
  • Download built assets (not source! so node_modules will be empty)
  • If force rebuilding then download source and reattempt

This will reduce build times and size of docker images.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions