When using rails, if you use a
DB load on one of the commands that are run as part of the command for
set_config [enter key press] -- this will not be handled correctly by
Due to the default environment variable for
less, the enter key is not handled so the output prints
set_config ;0;0t and the second part is not interpreted as an enter key press so the system does not continue.
As CircleCI is set to stop when no output is seen for 10 minutes by default, the error seen is:
Error: Too long with no output (exceeded 10m0s) as the output was waiting for user input.
To be able to resolve this, you can override the program being used by
PAGER using the code snippet given below:
- image: MY_APP_IMAGE
Once this has been set the enter keypress is handled correctly and the config is able to complete without hanging.