Gitlab has been updated. More info here.
Write input in json file instead of preparing a separate input file.