I have a drone build where there are a number of pipeline that run in parallel.
Each of the pipelines are named after the site that they provision and sometimes these can be long.
I’ve seen issues when the pipeline steps have a name longer than 50 characters and the whole build will fail with nothing reported to the UI and no information stored for the build:
drone build info repo/repo-name 93
client error 404: {"message":"sql: no rows in result set"}
This happens when the .drone.yml file contains a pipeline named such as
Site-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
whereas
Site-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
is okay.
Looking in the drone DB I can see that the stages table has the column stage_name
of type character varying(50)
Would modifying the DB to increase this column to character varying(100)
resolve this issue?