fix: workaround for adding large scripts to CLI_DO_INIT_TASKS
Description
Reverts the non-functional fix for large init script size.
Adds a workaround to break up scripts in CLI_DO_INIT_TASKS that are too large to be passed to one invocation of sh.
Testing instructions
Steps to test the changes:
- Add a large amount of data to the
site_configuration
of eachGROVE_ADDITIONAL_DOMAINS
, so that none individually exceed 128KiB, but do in total. - See that deploy fails.
- Use this branch of tutor-contrib-grove, deploy again.
- See that deploy succeeds.
Checklist
If any of the items below is not applicable, do not remove them, but put a check in it.
-
Git commit history is clean -
Git commits are following conventional-commit practices -
Unit tests are added/updated -
Documentation is added/updated
Additional context
Internal-ref: https://tasks.opencraft.com/browse/BB-8515
Edited by Artur Gaspar