Skip to content

fix: workaround for adding large scripts to CLI_DO_INIT_TASKS

Artur Gaspar requested to merge artur/lms-init-script-2 into main

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:

  1. Add a large amount of data to the site_configuration of each GROVE_ADDITIONAL_DOMAINS, so that none individually exceed 128KiB, but do in total.
  2. See that deploy fails.
  3. Use this branch of tutor-contrib-grove, deploy again.
  4. 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

Merge request reports